Kodi Community Forum

Full Version: notify: file identification (working on stream pre-definition)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Maybe I'm missing something, if so please point me to the idea/concept:

I built a web-remote for Kodi with the JSON API on an external webserver. Files are all remote, too.
I would like to use playlists to play from, but: is there a way to

- predefine all audio/subs-streams of the files *before* it's loaded into the player (for example into the playlist)? or
- can I trigger a web/bash call when something like "play next item on list" happens? or
- is there an playing-stopped web/bash call possible (so I can build the more complex playlist myself, outside Kodi)?

Thanks!
greets
Manu

EDIT: A follow up:
I proceeded by making a local bash listener on the KODI TCP socket and send this stuff out via Curl back to the remote webserver.
So actually the remote knows quite a lot now, and could possibly handle more stuff.

Problem is: The identification of the movie on the TCP socket it only the filename (no path).
Is there a chance to get a property like "fullpath" into the JSON notification?