Get currently shown image of Slideshow


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 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.

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


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