spotcast icon indicating copy to clipboard operation
spotcast copied to clipboard

Playing random song

Open SchBenedikt opened this issue 11 months ago • 1 comments

The problem

I have a question: Usually, the songs always have some kind of playlist ID, song ID, etc. But is there a way to just play random songs, for example from all the people I follow?

Thank you in advance!

System Health details

HomeAssistant OS core-2025.1.0

Spotcast Version

v4.0.0

What type of installation are you running?

Home Assistant OS

Diagnostics information

Example YAML snippet

show_name: true
show_icon: true
type: button
name: start Random Song
tap_action:
  action: call-service
  service: spotcast.start
  service_data:
    device_name: Grundig Media Player
    random_song: true

Anything in the logs that might be useful for us?

No response

Additional information

No response

SchBenedikt avatar Jan 06 '25 09:01 SchBenedikt

You could play your liked songs, that would be the closest to what you are requesting. That functionality is available in the beta and should be available in production shortly, I'm just waiting on Spotify card to be ready for production so we can release at the same time

fcusson avatar Jan 06 '25 13:01 fcusson