0

I am having tough time figuring this out. I would like to achieve the following: When I launch my raspberry pi 3 (running OSMC player) to start running a video and loop it forever. No menu, no nothing, something like kiosk. And before somebody ask why osmc because I want to load videos thru onedrive in future. I am opened for advices of any kind even different players. This is the code (autoexec.py) I import to the directory because after the last update OSMC doesn't have the file also in the menu doesn't have the option "run a video on startup".

    import xbmc
    xbmc.executebuiltin(“PlayerControl(repeatall)”)
    xbmc.executebuiltin(“PlayerControl(RandomOn)”)
    xbmc.executebuiltin(“PlayMedia(/home/osmc/.kodi/userdata/"name_of_the_video.mp4")”)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.