updaterecordschedule to delay recordings

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

updaterecordschedule to delay recordings

Post by PhilB »

I have a problem with my quad HDHR tuners failing about monthly and the suspicion is that it is caused by a resource overload somewhere when starting simultaneously recordings.
I could detect such recordings via a 'getupcominglist' api call in a job run regularly and presumably stagger the recordings by changing StartTime with get/updaterecordschedule api calls to add or subtract (say) 10 secs to the second, 20sec to the 3rd etc.

There are a number of interesting challenges in this such as when to run the code, ensuring only one copy runs at a time, catching closedowns etc but I have a basic api query. If a recording happens to be one of a series (eg a 'record all' or 'record at any time on this channel') and I change StartTime for it, will the updaterecordschedule only affect the immediately forthcoming recording (desired effect) or will all subsequent recordings/episodes also be changed?
Phil
Post Reply