Adding PercentPlayed info label to video listitems
#1
Afternoon All,

Sorry if I have put this in the wrong spot, I haven't used the Kodi forums before.

I'm having trouble adding what I believe to be the correct info label "PercentPlayed" to list items. I have tried a few different video tags after I couldn't get the thing to work like 'isResumeable' and 'Progress' but they all return a similar error in the logs:

Unknown Video Info Key "progresspercentage"

The skin always shows a value of 0 unless I do a dodgy workaround by setting a property to the item but that doesn't seem like the right way to do it here if there is a info label already available.

Is there something I'm missing here? Can PercentPlayed be set through the Python ListItem?
Reply
#2
Such functionality is automatically managed by Kodi on your listitems. If your plugin sets "isPlayable" to true on the playable listitem and resolve the final stream url using xbmcplugin.setResolvedUrl Kodi will store the played percent on the database automatically.
Reply

Logout Mark Read Team Forum Stats Members Help
Adding PercentPlayed info label to video listitems0