aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/MovieList.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py
index dfd419fb..666067fc 100644
--- a/lib/python/Components/MovieList.py
+++ b/lib/python/Components/MovieList.py
@@ -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