Kodi Community Forum
Add a resume function to the Kodi JSON-RPC API - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Add a resume function to the Kodi JSON-RPC API (/showthread.php?tid=341677)



Add a resume function to the Kodi JSON-RPC API - desepticon - 2019-03-06

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/comments/axkfog/kodi_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?


RE: Add a resume function to the Kodi JSON-RPC API - Milhouse - 2019-03-06

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.