I have a project that I'd like some help with. I'm trying to make a media centre that interfaces with some control hardware (could be buttons, could be something else - not relevant for this part of the conversation).
What I need is to be able to get OSMC to automatically play a video/song/show a picture when a particular button is pressed. One button = one file.
I think I probably need to get into OSMC Scripts or Add-Ons, or possibly use the JSON control method, but I'm really floundering with a limited knowledge of Python/OSMC.
Can anybody help me out with a HOW-TO to get started? In other words, make a python script that runs in the background of OSMC and starts playback of a particular file when an event occurs?
I'd REALLY appreciate the help.
Thanks ever so much,