Changes to GetUpcomingList, GetRecordedList, GetConflictList and GetProgramList i

Post Reply
PhilB
Senior
Posts: 404
Joined: Sun May 11, 2014 6:23 pm
Great Britain

Changes to GetUpcomingList, GetRecordedList, GetConflictList and GetProgramList i

Post by PhilB »

I have stumbled upon a developer email archive list and see that there is a change to the API.

Essentially, the ‘Status’ field returned by API calls such as Dvr/GetUpcomingList, GetRecordedList, GetConflictList and GetProgramList is a text value (eg WillRecord) with xml but numeric (eg -1) with json and this discrepancy clearly needs fixing.

See here:
https://lists.archive.carbon60.com/mythtv/dev/643622

A fix has been applied but I cannot work out whether the xml or the json interface is changing. There is the suggestion that the (undocumented) API RecStatusToString will be required and that it is being changed to also accept string values which only makes sense if it is that the json interface which is changing.

Would developers making API changes please announce them here in this forum?
Which interface is being changed and what changes are required of application?

Phil
PhilB
Senior
Posts: 404
Joined: Sun May 11, 2014 6:23 pm
Great Britain

Re: Changes to GetUpcomingList, GetRecordedList, GetConflictList and GetProgramList i

Post by PhilB »

I have tried a lot of API calls to probe my v34 system and understand the change then written a page in the wiki.
I'd appreciate anyone doing some proofreading - anything incorrect, unclear etc?

https://www.mythtv.org/wiki/Recording_Status

Phil
Post Reply