Spotify FREE, how to launch playlist

Hi everybody,

First, i do NOT have a premium spotify account, however i managed to control spotify player through “command_activity” and “command_media”, since i use an old android phone as a controller for music and other stuff.

It works nice, and now i would like to make shortcuts to my playlists.

I have tried with this script, and then command_media play. It opens the playlist i command, but then restart the song which was already playing, instead of play a random song of the selected playlist.

Any idea how to make it work properly?

Thanks in advance

  - service: notify.mobile_app_nokia
    data:
      message: command_activity
      title: spotify:playlist:2ztVKTR3JN97nPf1jz99lI
      data:
        channel: com.spotify.music
        tag: android.intent.action.VIEW
1 Like

I got it

service: notify.mobile_app_nokia
data:
  message: command_activity
  title: spotify:playlist:2ztVKTR3JN97nPf1jz99lI:play
  data:
    channel: com.spotify.music
    tag: android.intent.action.VIEW

It seems that the formatting has changed a bit. Here’s what worked for me in Dec 2023:

service: notify.mobile_app_yourphone
data: 
  message: command_activity
  data:
    intent_package_name: "com.spotify.music"
    intent_action: "android.intent.action.VIEW"
    intent_uri: "spotify:playlist:playlistid:play"

Thanks for sharing :slight_smile:

You may be interested in this also.

Very interested :slight_smile:

I switched to using spot cast for listening at home, but I want to try to automate music for when I’m on the go (especially for my car) so this car might just do the trick. Thanks for the suggestion!

1 Like