Chenteparao From what I see in the
init.d service is following. It is not "wanted" to endless play a video. If EmulationStation or Kodi is started the video will get stopped or ... at max of time: 20s.
If you want to play the video full, then go to line 73 and remove the
& and save the file and then write
batocera-save-overlay to make the change permanent.
But this is more a kind of hack! Batocera should boot fast, therefore this change is unwanted!
/usr/bin/omxplayer -o both --vol -2500 $omx_opt $omx_srt $omx_nosound $video &
# Stop the video when ready
if [[ $? -eq 0 ]]; then
# Wait for emulationstation or Kodi, but not more than 20 seconds
while [[ ! -f "/tmp/emulationstation.ready" && ! -e "/var/run/kodi.msg" && $count -lt 400 ]]; do