Querying and updating resume position and playcount for plugin:// URLs
#1
Currently it is impossible for add-ons to update a stream's resume position and playcount number.
Despite what you would expect the JSON-RPC Files.GetFileDetails and Files.SetFileDetails do not support plugin:// sources.

You can find this reported issue at: https://github.com/xbmc/xbmc/issues/15897
And an implementation exists to add this support: https://github.com/xbmc/xbmc/pull/16087
But this was rejected (IMO for the wrong reasons).

Why would add-ons want to update the resume position or playcount number?
Because some VOD service providers keep this information stored in the cloud and it would be really useful to synchronize this information with the local database.

Additionally, because this information cannot be stored or retrieved, we also cannot make Reset resume position and Mark as watched/unwatched work.
It would be nice if these actions result in a notification event or something that can be intercepted and acted upon to update the VOD information in the cloud.

More information in the issue tracker at: https://github.com/pietje666/plugin.vide...issues/568
Reply
#2
An implementation for this was proposed here: https://github.com/xbmc/xbmc/pull/17202
Reply

Logout Mark Read Team Forum Stats Members Help
Querying and updating resume position and playcount for plugin:// URLs0