New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special treatment for PVR recordings causes loss of features #430
Comments
@howie-f, could you support and check, if it is possible to allow |
will take a look at it the next days @wutschel |
hm, i think in order to support and add the @wutschel the wrong playcount is the result of the call to |
@howie-f, thanks for looking into this.
The |
looks like we need a json-rpc call playlist.add(recordingid) that does the same like executing the context-menu entry just wondering why i see the plot but not the station logo on the remote when i queue via UI. it might be a different issue and pvr.hts related 🤔 |
Yes, exactly. Support for
Yes, could be the case. A while back I worked on a similar problem where triggering playback of an episode via UI was resulting in a different label as triggering the same via Remote App. I can take a look at this in the next days. Maybe there is a solution possible. |
ok, thanks.. i‘ll go digging a bit further 🙂 |
Just looked into this with Kodi 19.1 setup. The Remote simply ignores the icon currently. When playing a TV channel or another item type the API provides a To handle this correctly I need to take into account which |
@ksooo, do you maybe have an idea how to tackle this? |
sorry for the delay wutschel, turns out it‘s not as simple as just extending Playlist.Item.. honestly i‘m stuck at the moment 🤔 |
No worries, and thanks for taking a look at this. |
Significant progress is seen in a Kodi test build. To be able to show a proper thumbnail it is still preferred to receive |
Background:
The Remote App`s playback concept is playlist centric. When requesting to play an item the Remote App will first add the item to the playlist, and then play the playlist. This allows to queue more items either right after the current playing item or at the end of the playlist. A simple direct playback of any item will violate this basic concept and would cause problems, e.g. not being able to queue items right after current playing.
Problem:
Until the current Kodi version 19.1 there is no support for
recordingid
inPlaylist.Add
andPlaylist.Insert
. To work around this anyrecordingid
item will be added asfile
to the playlist. This causes the functionPlaylist.GetItem
to not being able to resolve thumbnails, icons, descriptions or plots. In consequence the NowPlaying screen will no show such existing (!) metadata.Another problem is that
playcount
is only updated on the JSON API when a recording is played viarecordingid
. If a recording is played via itsfile
path (e.g.pvr://path-to-recording
), theplaycount
Kodi-internally is increased but it is not changing on the JSON API. Example:file
-> JSON APIplaycount=0
recordingid
-> JSON APIplaycount=2
file
-> JSON APIplaycount=2
file
-> JSON APIplaycount=2
recordingid
-> JSON APIplaycount=5
Solution:
The proper solution will be to support
recordingid
inPlaylist.Add
andPlaylist.Insert
in Kodi and remove Remote App`s special treatment from then on.Alternative:
Also use direct playback (like for Live TV channels). In this case you cannot enqueue recordings, and enqueuing any other item "after the current item" will place this as the start of the playlist.
Screenshots:
Current look caused by playing
file
type:If playing via
recordingid
:The text was updated successfully, but these errors were encountered: