Get currently shown image of Slideshow


#1

Hi,

I’m wondering if there’s a way to geht the currently shown image of a slideshow in a script?

I start the slideshow with a autoexec.py as in this thread:

And in the same script (or in any other…) I would like to delete or move the currently shown image by a push of a button, that means by a command.

Thanks for any hints.
Viktor


#2

You could likely use Kodi’s JSON-RPC API to do this.
I would run the script outside of Kodi.


#3

Hi,

Thanks for your answer. Any idea how that would look like? Did somebody make something like that already?


#4

See https://kodi.wiki/view/JSON-RPC_API.

Sam