2019-09-02, 12:52
How to do operations for videofile, such "Mark as unwatched" and "reset resume position" via python?
plugin://
protocol, where you will then use xbmcplugin.setResolvedUrl(...)
to start playback), then the JSON-RPC commands cannot be used to change these items yet. python:response = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.SetMovieDetails", "params": {"movieid" : %d, "playcount": %d , "resume": {"position": %d} }} ' % (ID, count, positionInSecond))