Newbie - setting up Spotify to autoplay

Hello,

First, thank you for a great looking product!

I’m struggling to get autoplay with Spotify to work. I found numerous posts on this issue but still can’t figure it out.

In /boot/config/settings.ini I set:
autoplay = https://play.spotify.com/user/xyz/playlist/049dx2WxyzrbsswCd7
autoplaymaxwait = 45

On reboot, it does not start playing after a few minutes. I found these logs:

==> /var/log/mopidy/mopidy.log <==
2018-04-26 18:48:37,362 - WARNING Could not find a text/html decoder to handle media.
2018-04-26 18:48:37,363 - WARNING There is no codec present that can handle the stream’s type.
2018-04-26 18:48:37,364 - ERROR Your GStreamer installation is missing a plug-in.

Not sure if related, but I also see these:
2018-04-26 18:50:14,150 - WARNING Could not find a text/html decoder to handle media.
2018-04-26 18:50:14,151 - WARNING There is no codec present that can handle the stream’s type.
2018-04-26 18:50:14,152 - ERROR Your GStreamer installation is missing a plug-in.
2018-04-26 18:51:07,208 - WARNING /usr/local/lib/python2.7/dist-packages/mopidy/audio/actor.py:714: Warning: /usr/src/packages/BUILD/glib2.0-2.40.0/./gobject/gsignal.c:2580: instance ‘0x3f49d58’ has no handler with id ‘537’
result = self._playbin.set_state(state)
2018-04-26 18:52:36,578 - WARNING 404 GET /settings/js/mopidy.min.js (10.0.0.128) 1.96ms
2018-04-26 18:52:36,878 - WARNING 404 GET /settings/js/simple.js (10.0.0.128) 1.98ms

Spotify works fine if I start the playlist via the UI.

Maybe a different issue, but FYI I set these in pt/musicbox/startup.sh:
mpc consume on
mpc shuffle on
(hoping to maintain continuous play forever, random/shuffle)

Thank you for any suggestions.

You need to do something like the example in the very first post at Spotify Autoplay Playlist URI does not work

For example:

autoplay = "spotify:user:xyz:playlist:049dx2WxyzrbsswCd7; mpc shuffle on"

I’m not sure why you’d want consume on. But you could easily add that too.