Kodi Community Forum

Full Version: Add a resume function to the Kodi JSON-RPC API
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been trying to make some voice activated commands leveraging texturecache.py, but my favorite one - where you can tell Kodi to play a specific movie through a voice command, will only start a movie at the beginning.

Here's what I have so far:

https://www.reddit.com/r/shortcuts/comme...i_control/

According to MilhouseVH, an addition to the JSON-RPC API would have to be made to allow a resume function. Would this be possible to implement?
Player.Open is the method that texturecache.py is using to play a video file, and this method doesn't appear to support resuming (either from the stored resume point, or an arbitrary timecode) - it always starts the video from the beginning.