-
- def playService(self, ref):
- self.lastServiceRef = self.currentlyPlayingServiceReference
+
+ def dispatchRecordEvent(self, rec_service, event):
+# print "record_event", rec_service, event
+ for x in self.record_event:
+ x(rec_service, event)
+
+ def playService(self, ref, checkParentalControl = True):
+ oldref = self.currentlyPlayingServiceReference
+ if ref and oldref and ref == oldref:
+ print "ignore request to play already running service"
+ return 0
+ print "playing", ref and ref.toString()