0

Sorry if its been answered a lot. I am new to scripting and would like to know where I start to do this. I want to script it myself but would like to know what I need to do to start kodi in fullscreen and play a song upon startup. So when I unplug it and power it back on it resumes the content.

Thanks a bunch!

  • first step would be to check the kodi documentation regarding how to start it from the command line. Then how to make it load a specific file. Then experiment invoking the command to open kodi and play a specific file. Next wrap that up in a script/cron job and test. Remember the best way to eat an elephant is one bite at a time. This google search should give you most of what you need google.com/… – Steve Robillard Oct 16 '16 at 19:13
0

Try this it goes into pretty good detail on what you are needing. http://kodi.wiki/view/HOW-TO:Autostart_Kodi_for_Linux

0

The first bit is quite easy, you can simply install kodi via apt-get,

sudo apt-get install kodi -y

There is also a file /etc/default/kodi Change the line ENABLED=0 to ENABLED=1 as far as starting playback of a song you will need to learn how to use The kodi api with Python to playback songs on startup.

  • File not present for version 17.* (aka Krypton). – lucasvc May 28 '17 at 15:57

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.