I am trying to figure out how to display my Spotify Queue in my Lovelace dashboard. I’ve managed to integrate the Spotify addon and have tried through the default media player, mini-media player, I’ve managed to get playlists working on there but no display of the upcoming songs… This seems to work through Music Assistant however I am wanting it in a card in an existing dashboard, not have Music Assistant as a whole dashboard itself… Is this possible and if so could someone please point me in the right direction? Thanks
Also, if possible can you get the spotify lyrics in to a card as well? I’ve got this working with genius_lyrics but would be cool to have the karoke style lyrics that you can get in the Spotify app.
I’m trying to get the getQueu functionality into Node Red:
This would allow to create an automation in Node Red to fill a drop-down list in your HA dashboard with all the songs in the queue.
You could even program in Node Red some automation to move in the queue to a song you selected in the drop-down list.
Hi Thomas Lucas,
I’ve been using the standard Spotify integration for years, but yours seems to be able to solve another issue I have of my players becoming unavailable in Home Assistant.
Pretty cool!
Yes Node Red can call HA services.
Looks to be working fine indeed; Thanks for the top tip!
FYI on an unrelated issue, regarding the features Spotify pulled from the API recently. The workaround I have found for getting the “Made for You” playlists working again.
I use Smarter Playlists to create some schedules that once per week will copy Daily Mix 1 into my own Daily Mix 1 Copy and “Release Radar” into “Release Radar Copy” etc. These playlists are unrestricted and I can use them as I want.
The reason this works is that smarterplaylists is not relying on a developer account and so still has access to the removed API functionality
@quizzical
Thanks for the info on “Smarter Playlists”. I will have to check it out to see how they are accessing the track list in the playlist. Any idea if there is a Python API component that can be used to interface with it programmatically?
I know that Spotify mentioned something in their blog about the 2024/11/27 changes affecting only “new accounts”, so it would make sense that older accounts would be grandfathered in and would still have access to the removed API functionality. It’s probably because it’s a “certified” developer application that has been validated with all of their account constraints; versus the way most HA users have their own developer accounts setup in an “ongoing development” (e.g. “uncertified”) status.
And indeed my understanding of the reason why that works is the same as yours.
I tried to get my developer accounts certified the day spotify announced the change, but obviously spotify refused…