Autoplay spotify playlist?


#1

I’m trying to get Musicbox to automatically play a spotify playlist every time the box starts up…

From ssh the following command does the trick:
mpc load ‘Playlist by SpotifyUser’;mpc play;mpc repeat on;mpc random on

I tried adding the command to rc.local, no luck. Even stuck a sleep in there thinking that may be the issue
(slep 10;mpc load ‘Playlist by SpotifyUser’;mpc play;mpc repeat on;mpc random on) &

Lastly, i tried the settings.ini and setting the playlist name into the autostart setting, but it cant find the playlist.

Can anyone point out what i am doing wrong?


#2

Look here - it’s an old post but I guess still the same