Help with Spotify and Linkplay

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?

1 Like

Did you ever find the fix or a solution?

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:

  - action: media_player.select_source
    data:
      source: YourSpeakerGroupName
    target:
      entity_id: media_player.spotify_your_name
  - action: media_player.play_media
    data:
      media_content_id: spotify:playlist:37i9dQZF1DZ06evO2sSGze
      media_content_type: spotify://playlist
    target:
      entity_id: media_player.spotify_your_name

The SpotifyPlus Integration can do this as well (SpotCast not required).

service: spotifyplus.player_media_play_context
data:
  entity_id: media_player.spotifyplus_your_name
  context_uri: spotify:playlist:37i9dQZF1DZ06evO2sSGze
  device_id: YourSpeakerGroupName
1 Like

Ha, I realized my post wasn’t totally true after running into some problems getting the music to start up again.

SpotifyPlus solves those problems by letting you set a default Source in the integration configuration.