Spotify Autoplay playlist with Mopidy running on Raspbian Desktop

Hey Folks!!

As the title states , I have setup mopidy to run as a service on Raspbian Desktop. Next I would like a Spotify playlist to autoplay at start up, can this be done? I know there are many posts about this but they relate to the PI musicbox and I have not figured out how it would apply for my situation.

Many Thanks!!

PJ

You can easily replicate the pimusicbox solution. Write a simple bash script that is run out of /etc/rc.local that uses mpc to control Mopidy. You’ll want to wait (a fixed delay or until mopidy starts responding) and then load your chosen playlist and play it. You can find the pimusicbox version of this at the bottom of https://github.com/pimusicbox/pimusicbox/blob/develop/filechanges/opt/musicbox/startup.sh which you can adapt for playlists.