no bluescreen when playing "None"
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 24 Aug 2006 17:29:45 +0000 (17:29 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 24 Aug 2006 17:29:45 +0000 (17:29 +0000)
Navigation.py

index a0f40baf4e032c305ba06836e7f77d31e7e23f63..f1683df8cdb4ceffabb0a8948e420b6839140291 100644 (file)
@@ -30,7 +30,7 @@ class Navigation:
                        x(i)
 
        def playService(self, ref):
                        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:
                self.currentlyPlayingServiceReference = None
                self.currentlyPlayingService = None
                if ref is None:
@@ -65,6 +65,7 @@ class Navigation:
                return None
 
        def stopService(self):
                return None
 
        def stopService(self):
+               print "stopService"
                if self.pnav:
                        self.pnav.stopService()
                self.currentlyPlayingService = None
                if self.pnav:
                        self.pnav.stopService()
                self.currentlyPlayingService = None