+ if ref:
+ if ref.flags & eServiceReference.isGroup:
+ ref = getBestPlayableServiceReference(ref, eServiceReference(), simulate)
+ service = ref and self.pnav and self.pnav.recordService(ref, simulate)
+ if service is None:
+ print "record returned non-zero"
+ return service
+
+ def stopRecordService(self, service):
+ ret = self.pnav and self.pnav.stopRecordService(service)
+ return ret
+
+ def getRecordings(self, simulate=False):
+ return self.pnav and self.pnav.getRecordings(simulate)