OSMC automatic video looper issue

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")”)

Bear-K

Posted 2019-05-14T19:56:13.873

Reputation: 1

No answers