don't reload list on movie delete
[enigma2.git] / lib / python / Components / MovieList.py
index dfd419fbd772f3893723a4d8dbc2b227c8a663b5..666067fc3fb4e8121112b573618eaa269dae5b47 100644 (file)
@@ -92,6 +92,12 @@ class MovieList(HTMLComponent, GUIComponent):
                        self.load(self.root)
                self.l.setList(self.list)
 
+       def removeService(self, service):
+               for l in self.list[:]:
+                       if l[0][0] == service:
+                               self.list.remove(l)
+               self.l.setList(self.list)
+
        def load(self, root):
                # this lists our root service, then building a 
                # nice list