-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Always On Configuration Option (@Cassock) #74
Comments
Great add on btw, just add to this, could calling play_media on a SpotifyPlus entity automatically turn the media player on if it's off? Music still starts playing even if it's "off" when I call it, just the media player still shows as off and you don't get the album art etc. And is a service for play_pause at at possible? |
@mwilky Once the player state is switched to ON, it will then start polling Spotify for updates. Also note that the player state remains OFF if play is initiated by a Spotify player outside of HA. I am currently in the process of adding the same "auto-power" feature to the other services that can start / resume playing media: |
Thank you, so I guess when calling |
@mwilky The polling should begin immediately once the HA |
No problem at all. I will double check when I'm back at home. If I remember correctly, I called the |
What card are you using for your media player? Some cards may take longer to publish the update than others. Also ... there is a SpotifyPlus Card Dashboard that I wrote, which is a front-end to the SpotifyPlus integration. Just thought I would mention it in case you weren't aware. |
I am using https://github.com/kalkih/mini-media-player as the card. It updates instantly when the power toggle has been toggled prior, and skipping songs the album art changes instantly. From what I remember though, calling the |
@mwilky [ 1.0.85 ] - 2025/01/09
Thanks - Todd |
Just noticed thank you, will do some testing and will open a seperate issue if required! Thanks for your efforts mate |
Assuming this met your requirements; if not please re-open and I will revisit. |
Problem Description
The HA Spotify integration does not support the turn_on / turn_off feature, so it is "always on" if you will. It can take anywhere between 1 - 30 seconds for it to detect changes from other Spotify Connect player clients.
The SpotifyPlus integration supports the turn_on / turn_off feature, and is "off" by default. More info on why that is can be found in the FAQ - Why does the media player support turn_on / turn_off wiki.
The SpotifyPlus media player has to be turned on in order for it to detect changes from other Spotify Connect player clients. When the media player is turned on, the Polling Scan Interval integration configuration option controls how fast the changes are detected. This can be as quick as 4 seconds, or as long as 60 seconds.
Describe the solution you'd like
Add configuration option to always keep the player turned on.
The text was updated successfully, but these errors were encountered: