Hi Sub,
here's the running list (I'll update it as I go) of API calls I would like.
Sorry it's a pretty big list, just trying to mimic nextpvr which requires these
#1 is the recording stuff and JSON is pretty important to me.
here's the running list (I'll update it as I go) of API calls I would like.
- Get recording conflicts: recording.list&filter=conflicts. Need all the same info returned that is displayed in the npvr gui
- Recurring recordings, get the schedule of the recurring (time of day, days of week etc)
- get epg listings passing in multiple channeloids. I'm also having problems getting whats just finished. If I pass in now-30minutes, I don't always get that, npvr seems to ignore listings that have "expired". but I would still like to display these
- Pending recordings
- include if recording service was stopped during a recording to the recordings.list call (so can display same warning as in npvr gui)
- epg, get whats on now and next (passing in the value for "now"). This is a nice to have, I'm using this info for the mini guide. Currently having to grab about 12 hours of all channels just to ensure I get the next epgevent (some channels have very long shows).
- Ability to search for listings by regex or simlar. So I can find all listings starting with "x" but also any listings with "batman" in its name
- Add more settings to Setting.list call (whats new days, skip steps, recording start screen etc)
- record based on epgevent oid and schedule type with optional prepadding/postpadding/folder/keep values (if optionals arent set, use defaults). Schedule type eg 0 = once, 1 = All new, 2 = this timeslot, mon-fri etc
- Ability to update a recording schedule. Passing in the recurring oid, and the new schedule
- Ability to delete a recurring recording
- Get comskip times for a recording (based on recording oid)
- Include "watched" status on recordings in recordings.list
- Include "playposition"/"resumeposition" in reocrdings.list
- Ability to set watched status of a recordign
- Ability to set playposition/resumeposition of a recording
- return JSON data if requested via content-type=application/json or a &type=json parameter (easier to test in browser with a url parameter, but correct method is content-type (i always do both in my apps))
- ability to get tuner status (live tv, currently recording)
- ability to get basic server information, free space on tv buffer drive (and drive letter), free space on recordings drive (and drive letter) (in case of multiple drives, return a list of all ones), OS version, system uptime.
- get a list of recording directories
- add default postpadding/prepadding/keep days to setting.list call
Sorry it's a pretty big list, just trying to mimic nextpvr which requires these
#1 is the recording stuff and JSON is pretty important to me.