FUN WITH LINUX

Kodi: Autoplay on start-up..

23 August 2015

When I get up in the morning I start my Raspberry Pi(OpenElec installed) and listen to the local radio stations. It would be awesome if my pi automatically plays my favourite station after booting. That’s why I played a bit with the MediaCenter Kodi.

First of all I enabled SSH (OpenElec Settings) and connected via ssh. Then I created a m3u-Playlist under “/storage/.kodi/userdata/playlists/music/superfly.m3u”

superfly.m3u:

http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live
http://stream01.superfly.fm:8080/live

I am using the same stream-entry multiple times. If network is not up’n’running at boottime, kodi would just try another entry(and another and another…).

Now I just have to make sure that kodi plays this playlist after booting:

Under Settings->Appearance->Skin->Settings is a Option for “Enable playlist at startup”. As soon as you enable the radio-button “Enable playlist at startup”, you’ll be able to choose a path for the playlist.

[ Linux  Kodi  Media  Music  OpenElec  ]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti