(final?) fix in getCurrentIP
[enigma2.git] / Navigation.py
index 7e7c0f2..09daff3 100644 (file)
@@ -30,6 +30,10 @@ class Navigation:
        
        def playService(self, ref):
                self.currentlyPlayingServiceReference = None
+               if ref is None:
+                       self.stopService()
+                       return 0
+               
                if not self.pnav.playService(ref):
                        self.currentlyPlayingServiceReference = ref
                        return 0
@@ -82,3 +86,6 @@ class Navigation:
        
        def shutdown(self):
                self.RecordTimer.shutdown()
+
+       def stopUserServices(self):
+               self.stopService()