X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=Navigation.py;h=8ff1be0cc3d7327f94817b53b434fb836c9f44a5;hp=705083f69baf68fe8e5e0c23a34a61e03f4b9d3f;hb=6e4fe9bcc4aeab419ca25ea8cf8dfe274a7868bd;hpb=03582d8351bdcbbb1482d937e3d03667ff8d63b8 diff --git a/Navigation.py b/Navigation.py index 705083f..8ff1be0 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,7 @@ class Navigation: x(i) def playService(self, ref): - self.lastServiceRef = self.currentlyPlayingServiceReference + print "playing", ref self.currentlyPlayingServiceReference = None if ref is None: self.stopService() @@ -41,9 +40,6 @@ class Navigation: return 0 return 1 - def zapLast(self): - return self.playService(self.lastServiceRef) - def getCurrentlyPlayingServiceReference(self): return self.currentlyPlayingServiceReference @@ -82,6 +78,7 @@ class Navigation: def shutdown(self): self.RecordTimer.shutdown() + del self.pnav def stopUserServices(self): self.stopService()