no bluescreen when playing "None"
[enigma2.git] / Navigation.py
index a0f40ba..f1683df 100644 (file)
@@ -30,7 +30,7 @@ class Navigation:
                        x(i)
 
        def playService(self, ref):
-               print "playing", ref.toString()
+               print "playing", ref and ref.toString()
                self.currentlyPlayingServiceReference = None
                self.currentlyPlayingService = None
                if ref is None:
@@ -65,6 +65,7 @@ class Navigation:
                return None
 
        def stopService(self):
+               print "stopService"
                if self.pnav:
                        self.pnav.stopService()
                self.currentlyPlayingService = None