how did you get the playlist and media ids?
I am trying to do something similar, but with autogenerated playlist and all I have is just informations about now playing track
EDIT: tried with regular playlists with the same result
oh! my bad! I was starting the stream from mobile app, then casting it to speaker and then looking for the data in developer options at home assistant’s dashboard while the id was totally easily to find in the URL [if only I was trying it from web browser ;)]
Can I bind the script here to a button? For example, when I click that button, can it ask me for a youtube link? or youtube ID . If so, can you describe it?