v17 Hooks for calling scripts during events in Kodi?
#1
I'm trying to something that I thought would be pretty simple. Basically, anytime a video plays (or any media is that's easier), I want a script to be notified with the video's metadata or path to the file being played.

I can't find a way to create "hooks" in Kodi so that Kodi calls my script on certain events, e.g., playing media.

Has anyone done this before? Are there any docs around for this? 

Thanks! Hopefully, I'm not being dumb and missing something obvious.

(Oh, and this is on Linux and the script is Python.)
Reply
#2
there's an addon for it: https://forum.kodi.tv/showthread.php?tid=256170
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Hooks for calling scripts during events in Kodi?0