Currently I am running OSMC on my RPI. This is the issue I have. I have to have an ongoing information center that will autorepeat everything in a playlist all the time. I’ve not found the REPEAT function.
Currently I am using the app KORE to repeat things, but this is not very usable for me.
I need to auto-start a video when my OSMC boots up, and then I need it to repeat everything in that playlist the entire time.
You are right. I found an easy way to do it by starting omxplayer via rc.local:
sudo nano /etc/rc.local
Which opens up rc.local in the terminal. And then adding a line for the omxplayer to play the file at startup:
omxplayer -b --loop /home/pi/Videos/videofile.mp4
and saving by pressing “Ctrl + X” then “Y” then “Enter”. Reboot and omx will repeat indefinitely!
I haven’t found any way to stop it though. Because it is started by rc.local, it won’t respond to keyboard or mouse input. So i’m kind of shut out. Would be really nice if i shouldn’t reinstall raspian to make changes
(I have made it load the videofile from USB, so i can just unplug that and reboot, but it would still be nice to know how to make it stop again.)
I have it on USB, and it works fine. I just pull the power cable and restart without USB plugged. And i have been able to kill omxplayer blindly in the terminal (everything is normal behind the video image). I was just wandering, if it would be possible to start omx via rc.local as normally. So you would be able to press escape, pause and all the. It’s just the controls for the player, thats not responding to the keyboard input.
It’s not a very big problem though. I’m mostly just curious to how I can make it work more smoothly. So if you dont have any obvious way to make it run as normally, don’t bother Thank you though. I’ll have a look at what tty is some time.
And regarding SSH. I haven’t made that work well enough yet. Still very new to all of this.