Is it possible to start a movie from terminal?

rasplex

#1

I use rasplex on my autistic son's tv. He has some movies that he likes to watch a lot, and I want to build a little box with arcade buttons that have the movie cover art on them and when he presses the button the movie starts. I understand how to use the GPIO pins to read the button selection, but is there a way to tell rasplex to start a specific piece of media that I can trigger from say a python script or something?


#2

yes, you have to use the xbmc-send command to control it from terminal

also you need to add the gpio module which it isnt present on rasplex

check my 2 projects of how to use a GPIO button on rasplex and also my Wiimote Addonn were I send xbmc-send commands through the script to control the gui