Hello,
I’m trying to get Spotify on the dashboard with media browse functionality and a speaker selector.
I have the Official Spotify integration installed as well as Spotcast.
All players are Up2Stream Amps installed via the linkplay integration.
Spotify player or Media player only works when I start playing spotify on mobile first. Otherwise it’s blank. Any other ways to make this work with multiroom support?
Use media_player.select_source on your Spotify media player (from the Spotify integration), where the source is the name of the Linkplay speaker or group.
Then you can use media_player.play_media along with a media_content_id for your playlist or song which you can get from the Spotify app.
More info at the bottom of this page:
Here’s a script that will select the Linkplay source and start a playlist: