Пример #1
0
 def getCurrentRecording(self, recorder):
     """
     Returns a Program object for the current recorders recording.
     """
     res = self.backendCommand('QUERY_RECORDER '+
             BACKEND_SEP.join([str(recorder),'GET_CURRENT_RECORDING']))
     return Program(res.split(BACKEND_SEP), db=self.db)