From: littlesat Date: Sat, 4 Jul 2015 09:46:10 +0000 (+0200) Subject: OSD3DSetup: Add sanity check X-Git-Url: http://git.vuplus-community.net/?p=openblackhole%2Fopenblackhole-enigma2.git;a=commitdiff_plain;h=16eadc065c6daf75efea0af539fe3bfbb9dd19b0 OSD3DSetup: Add sanity check http://forums.openpli.org/topic/38338-vastloper-bij-herhalende-timer/ --- diff --git a/lib/python/Plugins/SystemPlugins/OSD3DSetup/plugin.py b/lib/python/Plugins/SystemPlugins/OSD3DSetup/plugin.py index 242a328..3c02ee9 100644 --- a/lib/python/Plugins/SystemPlugins/OSD3DSetup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/OSD3DSetup/plugin.py @@ -103,7 +103,7 @@ class auto3D(Screen): def checkIfDedicated3D(self): service = self.session.nav.getCurrentlyPlayingServiceReference() servicepath = service and service.getPath() - if servicepath.startswith("/"): + if servicepath and servicepath.startswith("/"): if service.toString().startswith("1:"): info = eServiceCenter.getInstance().info(service) service = info and info.getInfoString(service, iServiceInformation.sServiceref)