aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/TimerSanityCheck.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-01-26 17:09:24 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-01-26 17:09:24 +0100
commit925629a36b521924a774da09b4f11515dd1889b3 (patch)
tree786979b461430c6ba58f19b77b59f0bc863dc40a /lib/python/Components/TimerSanityCheck.py
parent7647e42f245ae741abd45fed11f416613e103e15 (diff)
parentceef4c054c5482ae32f1e61b367621f2f5ac2c97 (diff)
downloadenigma2-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.py3
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 ?