The docs say that we can use media_player.play_media with a spotify URI. When I try this, I get:
Entity media_player.spotify_spotify does not support action media_player.play_media
Am I doing something wrong?
1 messages · Page 1 of 1 (latest)
The docs say that we can use media_player.play_media with a spotify URI. When I try this, I get:
Entity media_player.spotify_spotify does not support action media_player.play_media
Am I doing something wrong?
Do you have premium?
yep
i'm pretty sure that this used to work, but it no longer does. i have removed and re-added the integration also to double check.
i see also that spotcast is blocked on an API change by spotify, so I was wondering if there is something similar going on for the core integration.
also, i can skip tracks, pause etc, which the docs say are only supported if you have a Premium account.
nope
thanks for the relpies. what can i do to debug this? i note that when i choose media_player.play_media in the developer tools, it won't even let me select a spotify media player. if I force it (by editing yaml) i get the above error:
Entity media_player.spotify_spotify does not support action media_player.play_media
Source: helpers/script.py:2058
First occurred: March 16, 2025 at 4:05:29 PM (4 occurrences)
Last logged: 6:45:20 AM
websocket_api script: Error executing script. Error for call_service at pos 1: Entity media_player.spotify_sorrygofish does not support action media_player.play_media```
turning on debugging for the integration shows nothing additional in the logs (just info about fetching sources)
in case it's relevant we have "spotify premium family"
sorry, what do you mean? i could have spotify playing in a chrome tab on my macbook, does that answer the question?
OH MAN! That's it! It needs to already be playing somewhere
🙂
We need to have an active session somewhere to start
be sure to look into music assistant
can i use media_player.select_source to get the session started?
i'll try it.
music assistant sounds pretty heavy weight. but maybe i will try it if it can solve these things for me. thank you for helping me
Yes