diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-01-26 17:09:24 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-01-26 17:09:24 +0100 |
| commit | 925629a36b521924a774da09b4f11515dd1889b3 (patch) | |
| tree | 786979b461430c6ba58f19b77b59f0bc863dc40a /lib/python/Components/TimerSanityCheck.py | |
| parent | 7647e42f245ae741abd45fed11f416613e103e15 (diff) | |
| parent | ceef4c054c5482ae32f1e61b367621f2f5ac2c97 (diff) | |
| download | enigma2-925629a36b521924a774da09b4f11515dd1889b3.tar.gz enigma2-925629a36b521924a774da09b4f11515dd1889b3.zip | |
Merge branch 'master' of /home/tmbinc/enigma2-git
Diffstat (limited to 'lib/python/Components/TimerSanityCheck.py')
| -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 ? |
