diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-21 13:38:00 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-21 13:38:00 +0100 |
| commit | af3c70e61bf4e7e2e0afc51b0e3a0cd717c20f54 (patch) | |
| tree | e4a584f49982b3381953ece8b29bb64aa0eecc78 /lib | |
| parent | a0f0f0b446b7b0fd941194299fa4840b609df1f0 (diff) | |
| download | enigma2-af3c70e61bf4e7e2e0afc51b0e3a0cd717c20f54.tar.gz enigma2-af3c70e61bf4e7e2e0afc51b0e3a0cd717c20f54.zip | |
"type" -> "tuner_type"... tuner_type is one of "DVB-S" "DVB-T" "DVB-C"
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/python/Components/TimerSanityCheck.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py index 10dc31bd..99b2fba5 100644 --- a/lib/python/Components/TimerSanityCheck.py +++ b/lib/python/Components/TimerSanityCheck.py @@ -173,8 +173,7 @@ class TimerSanityCheck: def getServiceType(ref): # helper function to get a service type of a service reference serviceInfo = serviceHandler.info(ref) serviceInfo = serviceInfo and serviceInfo.getInfoObject(ref, iServiceInformation.sTransponderData) - if serviceInfo: - return { "Satellite" : "DVB-S", "Cable" : "DVB-C", "Terrestrial" : "DVB-T"}[serviceInfo["type"]] + return serviceInfo and serviceInfo["tuner_type"] or "" ref = timer.service_ref.ref if ref.flags & eServiceReference.isGroup: # service group ? |
