First, thanks to @
scarecrow420 for getting the 'is_series' part of this PR into Jarvis at the 11th hour.
Regarding the remaining ideas in my PR, here is a summary of my current thoughts as potential candidates for Kxxxxx:
regarding 'strSubtitle' for PVR_TIMERs:
This has two benefits I can see, but they aren't necessarily 'must haves':
1) The skin can choose if it wants to display subtitles for timers, and when it does, choose the format to display them (i.e. separated by a dash (as pvr.mythtv used to do), enclosed in brackets (as confluence currently does for strEpisodeName), a separate column, or whatever it wishes). This means that a skin can ensure consistent presentation of 'subtitle' in the EPG, recordings and timers lists.
2) The main benefit I can see however is that 'Find Similar' can return similar items by searching on 'title' alone. The presence of subtitle in brackets as part of the title field for upcoming shows means it never returns anything using pvr.mythtv at present.
regarding 'iLifetime' 'bExpiresNever' and 'bExpiresWithin24Hrs' (replacing 'soon'):
iLifetime == bExpiresNever == bExpiresWithin24Hrs == 0 : not defined / not used
iLifetime >0, bExpiresNever == bExpiresWithin24Hrs == 0 : expires in iLifetime days
iLifetime == 0, bExpiresNever == 1, bExpiresWithin24Hrs == 0 : will never expire
iLifetime == 0, bExpiresNever == 0, bExpiresWithin24Hrs == 1 : will expire within 24 hrs
Maybe bExpiresNever + bExpiresWithin24Hrs could be made a 2 bit 'validity' field for iLifetime
(00 = use if non-zero; 10 = expires never; 01 = expires within 24h, 11 = reserved), but that might be overkill - booleans are easier to code!
I will see if I can come up with some preliminary 'icons' and logic for skins to use here.
regarding 'bRecordingInProgress':
I think it is useful to present a 'currently recording' icon in the recordings screen to inform the user and possibly to drive extra context menu options like 'stop recording' or 'watch live'. Using it to disable or enable 'realtime' caching of the stream is broken as @
FernetMenta pointed out, so this isn't a proper use of the flag. That needs a different API change!
regarding the new iFlags variables for EPG entries:
Might be worth me taking a look at Emby as @
krustyreturns suggested. I can see icons indicating 'surround sound', '3d' or 'audio description' for example might be really useful for some users and clutter for others, so probably this needs configuration options as well as confirmation that a backend can drive them.
I get the impression WMC can could do some of this already, but pvr.mythv although it has some of the data in the backend and uses it in the internal EPG, doesn't offer it up via the services interface (yet!)
Still I've plenty of non-api changes to keep me busy for now!