1. I can use http://url:6744/Dvr/GetRecorded to get details of a recording in JSON format. This should ensure everything is in the correct format for the next step.
2. I then take this JSON string change the dates and change the title/subtitle and filename to the string "test" to make it unique.
3. I then try to use http://url:6744/Dvr/AddRecordedProgram but it fails/returns the following (the chanid exists and is not 0):
If it should work what is the simplest amount of data I can use with AddRecordedProgram which should succeed?
Is there anything I can check/enable to see a more detailed error on what the problem is?
Wondering if it doesn't work in 0.32fixes?
Code: Select all
HTTP/1.1 400 Bad Request Server: MythTV/32.0+fixes.202301232104.f2ce7e33aa~ubuntu22.04.1 Linux/5.15.0-58-generic UPnP/1.0 <!DOCTYPE html><HTML><HEAD><TITLE>AddRecordedProgram: chanid 0 does not exist.</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"></HEAD><BODY><H1>AddRecordedProgram: chanid 0 does not exist.</H1></BODY></HTML>