-
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 to media_player attributes if a Track its on Favorites or not #71
Comments
I am hesitant to add the favorite status indicator, as it adds more overhead to the player update process. You can easily check favorite status of the currently playing track by calling the following service:
You can easily add the currently playing track to your favorites by calling the following service:
You can easily remove the currently playing track to your favorites by calling the following service:
|
Thanks, I undestand you, if helps someone I maded with scripts and automations, its a simple, big button to have in my car's dashboard to easily add current track to my favorites and remove when the button its hold. Here is the code: Scripts:
Automation:
Button:
|
Checklist
Is your feature request related to a problem? Please describe.
I want to make a simple mushroom template button with a heart that shows when the current track its on my favourites list and when I tap the button toggles the status, I made before with the old Spotify_Plus integration from https://github.com/hokiebrian/spotify_plus and I know this can be made with an automation when content_id changes and calling "check favorite" action but I think can be easy added to the media_player attributes and get this true or false from there.
Describe the solution you'd like
Simply add an attribute to the media_player entity with favorite status of the current playing track calling the "check favorite" action when content_id changes.
Describe alternatives you've considered
Im actualy working on an automation to make it.
Additional context
None, just say thanks to the developers for this awesome integration =)
The text was updated successfully, but these errors were encountered: