Spotify url not longer working

Dear all,

I followed the script Spotify Playlist Player to select spotify playlists on my Bose devices. It worked. I am not sure whether it is related to recent updates of hassio, but at present the input_select-based automatizations do not work anymore.

One of my scripts looks like

essen:
alias: Essen
sequence:

  • data:
    entity_id: media_player.wave_soundtouch
    service: media_player.turn_on
  • data:
    volume_level: 0.2
    entity_id: media_player.wave_soundtouch
    service: media_player.volume_set
  • data:
    source: Wave SoundTouch
    entity_id: media_player.spotify
    service: media_player.select_source
  • data:
    media_content_id: spotify:myusername:spotify:playlist:myspotifyurl
    media_content_type: playlist
    entity_id: media_player.spotify
    service: media_player.play_media

Remark: I replaced my username and my url with “myusername”, “myspotifyurl”.

I tried the following syntax.

  1. attempt:
    media_content_id: spotify:myusername:spotify:playlist:myspotifyurl

renders:

http status:400, code -1, … invalid track url.

attempt:
media_content_id: spotify:user:spotify:playlist:myspotifyurl

http status 403, code -1, …

The srcipt worked before with the syntax in attempt 1. I have got the idea, that some recent changes may have influence on the interaction with the spotify api.

With kind regards,

Volker