self.event = [ ]
self.currentlyPlayingService = None
self.currentlyPlayingServiceReference = None
+ self.lastServiceRef = None
self.RecordTimer = RecordTimer.RecordTimer()
x(i)
def playService(self, ref):
+ self.lastServiceRef = self.currentlyPlayingServiceReference
self.currentlyPlayingServiceReference = None
if ref is None:
self.stopService()
return 0
return 1
+ def zapLast(self):
+ return self.playService(self.lastServiceRef)
+
def getCurrentlyPlayingServiceReference(self):
return self.currentlyPlayingServiceReference