Unable to connect to spotify stream when using DJ Mode
Context
Spotify has a beta feature called DJ mode that has been in testing for several years. The mode adds an AI DJ that provides commentary and likely uses advanced features of the API.
Problem
When using DJ Mode a user is unable to start playback on an AmpliPi Spotify stream. The connection silently fails and falls back to the previous audio output.
Workaround
For now don't use DJ Mode with AmpliPi. To disable the DJ mode from showing up:
- On mobile go to the Music tab on the home page. Choose the 3 dots for the DJ app and select 'remove from your library'.
Future: we will investigate options to get this working:
- Do other open source Spotify clients support this mode?
- Does our current Spotify client, go-librespot, have any ideas on how to support this?
In case this gives us a hint of how we might handle this in the future, I've used the DJ feature with Google Cast and Sonos. I'm able to start DJ on my phone and then use Spotify Connect to play it on a speaker. In this mode, the voiceovers are skipped and it just operates like a regular playlist.