x(i)
def playService(self, ref):
+ print "playing", ref
self.currentlyPlayingServiceReference = None
if ref is None:
self.stopService()
else:
return service
- def enqueueService(self, ref):
- return self.pnav.enqueueService(ref)
-
def getCurrentService(self):
service = self.pnav.getCurrentService()
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)
def shutdown(self):
self.RecordTimer.shutdown()
+ del self.pnav
def stopUserServices(self):
self.stopService()