Ticket #7648: 7648.trunk.diff
File 7648.trunk.diff, 846 bytes (added by , 14 years ago) |
---|
-
MythTV.py
285 285 """ 286 286 Returns a Program object for the current recorders recording. 287 287 """ 288 res = self.backendCommand('QUERY_RECORDER '+BACKEND_SEP.join([ recorder,'GET_CURRENT_RECORDING']))288 res = self.backendCommand('QUERY_RECORDER '+BACKEND_SEP.join([str(recorder),'GET_CURRENT_RECORDING'])) 289 289 return Program(res.split(BACKEND_SEP)) 290 290 291 291 def isRecording(self, recorder): 292 292 """ 293 293 Returns a boolean as to whether the given recorder is recording. 294 294 """ 295 res = self.backendCommand('QUERY_RECORDER '+BACKEND_SEP.join([ recorder,'IS_RECORDING']))295 res = self.backendCommand('QUERY_RECORDER '+BACKEND_SEP.join([str(recorder),'IS_RECORDING'])) 296 296 if res == '1': 297 297 return True 298 298 else: