From a05ec855c36d6a6ba9e2d15a8595d3ff1e6a101a Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 18 Jun 2008 12:04:25 +0000 Subject: [PATCH] use service_types_tv from ChannelSelection.py --- webinterface/src/WebComponents/Sources/ServiceListRecursive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webinterface/src/WebComponents/Sources/ServiceListRecursive.py b/webinterface/src/WebComponents/Sources/ServiceListRecursive.py index 644b00b..38c30b6 100644 --- a/webinterface/src/WebComponents/Sources/ServiceListRecursive.py +++ b/webinterface/src/WebComponents/Sources/ServiceListRecursive.py @@ -1,5 +1,6 @@ from Components.Sources.Source import Source from Components.Sources.ServiceList import ServiceList +from Screens.ChannelSelection import service_types_tv from enigma import eServiceReference class ServiceListRecursive( Source ): @@ -12,7 +13,7 @@ class ServiceListRecursive( Source ): self.func = func self.servicelist = {} self.xml = "" - self.command = eServiceReference('1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25) FROM BOUQUET "bouquets.tv" ORDER BY bouquet') + self.command = eServiceReference(service_types_tv + ' FROM BOUQUET "bouquets.tv" ORDER BY bouquet') def handleCommand(self,cmd): self.command = eServiceReference(cmd) -- 2.7.4