I need some help with loading a script whenever i play a video.
What i want to archieve is this:
I run my Raspberry with a VideoGrabber for Ambilight and Hyperion.
So what i want to do is: Whenever i start a video via OSMC i want OSMC to exchange the configuration file of Hyperion and restart the Hyperion service.
And when i stop the Video, OSMC switches back to the v4l2 USB Videograbber config.
Any ideas how i can do this?
Is there any action or method like “OnPlayback” where i can put my script in?
best regards,
Sabcoll