X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7b46919af63cfcb6adbe72d8d4183a203dfcfce7..33ce69ca1622ce06f00661c5974d2fbb78e0c2d5:/Navigation.py diff --git a/Navigation.py b/Navigation.py index d8a98b12..63fc6535 100644 --- a/Navigation.py +++ b/Navigation.py @@ -21,7 +21,6 @@ class Navigation: self.event = [ ] self.currentlyPlayingService = None self.currentlyPlayingServiceReference = None - self.lastServiceRef = None self.RecordTimer = RecordTimer.RecordTimer() @@ -30,7 +29,6 @@ class Navigation: x(i) def playService(self, ref): - self.lastServiceRef = self.currentlyPlayingServiceReference self.currentlyPlayingServiceReference = None if ref is None: self.stopService() @@ -41,9 +39,6 @@ class Navigation: return 0 return 1 - def zapLast(self): - return self.playService(self.lastServiceRef) - def getCurrentlyPlayingServiceReference(self): return self.currentlyPlayingServiceReference @@ -59,9 +54,6 @@ class Navigation: else: return service - def enqueueService(self, ref): - return self.pnav.enqueueService(ref) - def getCurrentService(self): service = self.pnav.getCurrentService() @@ -73,12 +65,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)