X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/fb284fcd5704b0f710ece9d0e6064d53ad4aa35e..deaf3139671ce0aa53a741b2fece9fbe3fd98c4e:/lib/python/Components/MovieList.py diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 6a264098..a0bd7334 100644 --- a/lib/python/Components/MovieList.py +++ b/lib/python/Components/MovieList.py @@ -153,6 +153,10 @@ class MovieList(GUIComponent): instance.setContent(self.l) instance.selectionChanged.get().append(self.selectionChanged) + def preWidgetRemove(self, instance): + instance.setContent(None) + instance.selectionChanged.get().remove(self.selectionChanged) + def reload(self, root = None, filter_tags = None): if root is not None: self.load(root, filter_tags) @@ -225,7 +229,7 @@ class MovieList(GUIComponent): ref = x[0] info = self.serviceHandler.info(ref) name = info and info.getName(ref) - return name and name.lower() or "" + return (name and name.lower() or "", -x[2]) def moveTo(self, serviceref): count = 0