Purpose: These files will allow you to setup Kodi/OSMC to autoplay a playlist on bootup. Useful for kiosks or TVs that you want to use to play a stream. I use this with a Raspberry Pi 3B+ running OSMC from the Raspberri Pi Imager https://www.raspberrypi.com/software/
streamtest.m3uand edit the file to reference whatever you want to play
- Enable the autoexec service by navigating in the menu to Settings > Add-ons > My add-ons > Services > Autoexec Service
- You can watch the log file using the command
tail -F /home/osmc/.kodi/temp/kodi.logto ensure that it starts the playlist. Now when you reboot it should wait 15 seconds and play from your playlist.