2012-01-20, 19:22
I'm still going through my list of issues with XBMC-PVR that stop it from being wife-friendly. Or at least allow me to replace my sky+ box with it without getting shot!
Series linking is one such feature currently lacking that is a blocker to this (autorec,regexp isn't really what is needed, though a useful fallback) and I've started looking at my backend of choice (tvheadend) to see how easy it might be to include it. Doesn't look too bad to be honest, though Andreas may shoot me if he sees my code!
Anyway I'm after any info that's been put together on the likely API that would be required from a client end (XBMC) to support this. Or general comments on what people want to see?
At the moment I've got a basic implementation (very hacked) which allows me, from the tvheadend webui, to select "Record Series" for any EPG entry, this creates a series link entry (special autorec) in tvheadend. This should add a schedule for the episode used to trigger it and will "hopefully" create the next entry after the current one completes. Much like what happens on a Sky+ box. Alternative would be to create scheduled recording for all available (in EPG) episodes, but I'm not sure I like that it will clutter the schedule list. Thoughts welcome.
Personally these are the functions I think are likely required in XBMC:
Add series link - params being the event to begin with
Delete series link - params being series link identifier, won't remove existing recordings, but will a pending record schedule?
Get series links - return list of all available series link IDs/Vals?
Get series link - get info for a series link?
For any scheduled records presumably a flag indicating whether it represents a series link with the identifier to the series link? This will allow skin to display series link entries differently (icon)
Though arguably delete and get are redundant? Since as long as there is a flag on the scheduled recordings, the info needed is all there and deleting a series linked schedule (i.e. next episode) should delete the parent series link (if that makes sense). This is basically how a sky+ box works.
Although the extra API might be useful for other views, like a list of current series links (separate from other scheduled recordings?).
Anyway I'm after thoughts and I'm definitely up for doing some work on this if people are interested.
Adam
Series linking is one such feature currently lacking that is a blocker to this (autorec,regexp isn't really what is needed, though a useful fallback) and I've started looking at my backend of choice (tvheadend) to see how easy it might be to include it. Doesn't look too bad to be honest, though Andreas may shoot me if he sees my code!
Anyway I'm after any info that's been put together on the likely API that would be required from a client end (XBMC) to support this. Or general comments on what people want to see?
At the moment I've got a basic implementation (very hacked) which allows me, from the tvheadend webui, to select "Record Series" for any EPG entry, this creates a series link entry (special autorec) in tvheadend. This should add a schedule for the episode used to trigger it and will "hopefully" create the next entry after the current one completes. Much like what happens on a Sky+ box. Alternative would be to create scheduled recording for all available (in EPG) episodes, but I'm not sure I like that it will clutter the schedule list. Thoughts welcome.
Personally these are the functions I think are likely required in XBMC:
Add series link - params being the event to begin with
Delete series link - params being series link identifier, won't remove existing recordings, but will a pending record schedule?
Get series links - return list of all available series link IDs/Vals?
Get series link - get info for a series link?
For any scheduled records presumably a flag indicating whether it represents a series link with the identifier to the series link? This will allow skin to display series link entries differently (icon)
Though arguably delete and get are redundant? Since as long as there is a flag on the scheduled recordings, the info needed is all there and deleting a series linked schedule (i.e. next episode) should delete the parent series link (if that makes sense). This is basically how a sky+ box works.
Although the extra API might be useful for other views, like a list of current series links (separate from other scheduled recordings?).
Anyway I'm after thoughts and I'm definitely up for doing some work on this if people are interested.
Adam