[mythtv-users] Help needed for scripted recordings

Bill Meek keemllib at gmail.com
Sat Mar 28 19:39:45 UTC 2020


On 3/28/20 2:27 PM, Klaas de Waal wrote:
>    File "./mythtv-record.py", line 1479, in delete_recordingid
>      resp_dict = backend.send(endpoint=endpoint, rest=rest, opts=opts)

Need to use postdata rather than rest, for example:

     postdata = {
         'RecordedId': recordedid,
         'ForceDelete': 'True',
         'AllowRerecord': 'True'
     }

     resp_dict = backend.send(endpoint=endpoint, postdata=postdata, opts=opts)

-- 
Bill


More information about the mythtv-users mailing list