Ticket #7648: 7648.fixes.diff

File 7648.fixes.diff, 846 bytes (added by Raymond Wagner <raymond@…>, 14 years ago)
  • MythTV.py

     
    285285                """
    286286                Returns a Program object for the current recorders recording.
    287287                """
    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']))
    289289                return Program(res.split(BACKEND_SEP))
    290290
    291291        def isRecording(self, recorder):
    292292                """
    293293                Returns a boolean as to whether the given recorder is recording.
    294294                """
    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']))
    296296                if res == '1':
    297297                        return True
    298298                else: