Posts: 227
Joined: Dec 2009
Reputation:
6
2016-03-07, 00:11
(This post was last modified: 2016-03-07, 00:42 by dnairb.)
The current behaviour is as below: (running Ubuntu 14.04.4, Kodi 16.0, TVHeadend 4.0.8, kodi-pvr-hts 2.2.14-1)
ActivateWindow(TVGuide) -> opens MyPVRGuide.xml with TV guide
ActivateWindow(RadioGuide) -> opens MyPVRGuide.xml with Radio guide
ActivateWindow(TVTimers) -> opens MyPVRTimers.xml with TV timers
ActivateWindow(RadioTimers) -> opens MyPVRTimers.xml with Radio timers
ActivateWindow(TVSearch) -> opens MyPVRSearch.xml to search TV programs
ActivateWindow(RadioSearch) -> opens MyPVRSearch.xml to search Radio programs
However, both ActivateWindow(TVRecordings) and ActivateWindow(RadioRecordings) open MyPVRRecordings.xml with all recordings listed.
I propose that TV recordings and Radio recordings be separated in MyPVRRecordings.xml.
I guess that this could be achieved if TVHeadend tagged each recording with either "TV" or "Radio" (channels are currently tagged in this way), and this tag was read by the kodi-pvr-hts addon.
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Posts: 806
Joined: Nov 2015
Reputation:
33
Are you using Confluence, or a different skin? Because it sounds like a skin issue; the author may not have properly updated it for changes in Jarvis.
Posts: 806
Joined: Nov 2015
Reputation:
33
Since they're both using the same XML file for their interface, it is up to the skin to filter out and provide the proper control IDs. Yet since this is Confluence, that is likely not the issue.
Posts: 1,887
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,887
2016-03-07, 11:37
(This post was last modified: 2016-03-07, 11:45 by ksooo.)
Yeah, just wanted to second what you wrote as I know all involved code (kodi/pvr.hts/tvheadend ) pretty well. :-)
So, tvh needs to be extended to support this tag (htsp version change!), all pvr add-ons needs to be extended (pvr add-on API change!) and Kodi needs to be extended, too.
Problem: how to act if an add-on cannot support the tag, for instance pvr.hts talking to an "old" tvheadend? Flag all as radio or tv or is the flag actually a tri state, including "don't know" value? How to deal with this "don't know" in the UI?
Posts: 227
Joined: Dec 2009
Reputation:
6
2016-03-09, 19:28
(This post was last modified: 2016-03-09, 19:29 by dnairb.)
I don't now think that TVHeadend would need to tag recordings as "TV" or "Radio", as it already tags the recording with the channel name (it does the same for timers.)
Somehow, the fact that a timer is tagged "Channel 4", for example, relates to the timer being for a TV channel (Channel 4 is tagged "TV" in the channels tab on the TVH configuration browser interface.)
Recordings are also tagged with the channel name, so could this not be associated with the "Radio" or "TV" tag in the channels tab?
So I think (though I may be wrong) that the necessary info is there, it just(!) needs to be accessed to enable this separation.
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Posts: 1,887
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,887
A recording may live way longer than the channel configured in tvheadend. The channel may disappear at any time for different reasons. Anyway, in that case the channel name / id stored along with the recording cannot be used to lookup whether that channel is tv or radio. Tvheadend simply does not know any longer about that channel. Thus, the info whether a recording is tv or radio must be stored directly along with the recording.
Posts: 1,887
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,887
tvh should do that, the add-on has not an own data storage.
Posts: 227
Joined: Dec 2009
Reputation:
6
Hmmm..... I have just tried the latest nightly build of the forthcoming Kodi Krypton. This feature is implemented!
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Posts: 1,887
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,887
Sure, instead of spamming the forum I just implemented it. ;-)
Posts: 1,248
Joined: Oct 2009
Reputation:
28
Jönke
Posting Freak
Posts: 1,248
Please tell me If you can play your recordings again , didnt work last time i tested ( Rpi build )