fix strange translation
[enigma2.git] / Navigation.py
index 751aca897d3c7a4638eb0a03748d914a513557c1..8ff1be0cc3d7327f94817b53b434fb836c9f44a5 100644 (file)
@@ -29,6 +29,7 @@ class Navigation:
                        x(i)
        
        def playService(self, ref):
+               print "playing", ref
                self.currentlyPlayingServiceReference = None
                if ref is None:
                        self.stopService()
@@ -54,9 +55,6 @@ class Navigation:
                else:
                        return service
        
-       def enqueueService(self, ref):
-               return self.pnav.enqueueService(ref)
-       
        def getCurrentService(self):
                service = self.pnav.getCurrentService()
                
@@ -68,12 +66,6 @@ class Navigation:
        def stopService(self):
                self.pnav.stopService()
        
-       def getPlaylist(self):
-               playlist = ePlaylistPtr()
-               if self.pnav.getPlaylist(playlist):
-                       return None
-               return playlist
-       
        def pause(self, p):
                return self.pnav.pause(p)
        
@@ -86,6 +78,7 @@ class Navigation:
        
        def shutdown(self):
                self.RecordTimer.shutdown()
+               del self.pnav
 
        def stopUserServices(self):
                self.stopService()