SpotifyPlus Card Dashboard

@Faecon
Check out out the userPresetsFile documentation for more info.

With that said, I just noticed a small issue with the docs… I need to change all references of “soundtouchplus” to “spotifyplus” in the docs, as I copied some of these docs from another integration with similar functionality. Apologies for the confusion.

1 Like

Can I have it connected to only 1 device ?

I just installed this card and are trying to set it up. If I play something from the Spotify app on my default Spotify Connect player, it will show in the card, but if I try to choose something else, e.g. a playlist or a recently played song from the card I always get this error:
“The “SpotifyConnectLoginId” configuration option was not supplied, which is required in order to reactivate a Spotify Connect device.”
Same error message if I select my default player from the card. In fact, any action except clicking the Play button from the leftmost page of the card, fails with the same message.
I guess it doesn’t have to do with the need to reactivate the player, as it is already active and playing via Spotify Connect.

What could be wrong?

@tomoqv
You need to set the SpotifyPlus LoginId configuration option, which is used to reactivate a Spotify Connect device. I would also set the Userid and Password values as well; some devices require all 3 settings, others require just the loginId.

I believe it tries to activate it, regardless if it’s already active or not.

Hi Lucas, I’ve been using your Spotifyplus integration with the card for a few days now. However, I have noticed more and more often that I regularly get this message when changing songs! Is this a known problem or is there a solution?

Best regards

Stefan

Sorry folks, but I have some disappointing news from the Spotify Developer API camp. It turns out Spotify has decided to remove the following functionality without any sort of warning or grace period. This was announced on the Spotify Developer Forum Blog on Thursday November 27th 2024 (US Thanksgiving holiday - definitely nothing worth giving thanks for IMHO!).

The Spotify Web API will no longer be able to access or use the following endpoints and functionality in third-party applications (SpotifyPlus being one of them):

  1. Related Artists
  2. Recommendations
  3. Audio Features
  4. Audio Analysis
  5. Get Featured Playlists
  6. Get Category’s Playlists
  7. 30-second preview URLs, in multi-get responses (SimpleTrack object)
  8. Algorithmic and Spotify-owned editorial playlists

What does this mean for me?

What these changes mean for the SpotifyPlus Integration and SpotifyPlus Card Dashboard users is that the corresponding functions that access the above features will no longer work, and in most case will return an error message.

What can I do about this?

You can make your voice and opinion be heard by posting a reply on the Spotify Community Forum. Let them know that this change is not acceptable and how disappointed you are. Please be respectful in the process; scream and shout with your internal voice if you have to (like I did). :smiley:

Can these functions be replaced with equivalent functionality?

I currently have no plans to try an re-implement the affected functionality, as the deprecated Spotify Web API functions were the only way to retrieve the information. It’s proprietary data, and if they don’t want to share then that’s their prerogative.

In Summary

Spotify is still a great platform for music streaming, but they lost a lot of respect from me today as a Spotify Champion and user of their Spotify Web API. As a developer of numerous API’s myself, it’s unheard of to simply shut off a feature or endpoint without giving some sort of notice or grace period; and we definitely don’t make major changes like this over a major holiday! IMHO, they totally dropped the ball on this one, not to mention dropped the hammer on numerous developers!

Just thought that you would want to know, and sorry to be the bearer of bad news. I will cross-post this in the SpotifyPlus Card community forum post as well.


I guess you are referring to the above settings in the integration SpotifyPlus, which I find a bit confusing. In the docs, there is mention of " the Spotify Connect canonical login ID (e.g. 3758dfdsfjk435hjk6k79lm0n3c4, 1257898300, etc)", which is where I stumble. Is that the number next to the player in the dropdown list or where do I find that?

@tomoqv
wiki docs:

Spotify Connect Device LoginId

This option contains the Spotify Connect canonical login ID (e.g. 3758dfdsfjk435hjk6k79lm0n3c4, 1257898300, etc) used to login to a Spotify Connect device. This MUST be the canonical equivalent value of the spotifyConnectUsername value. Note that for some Spotify accounts, the LoginId and Username values are the same. Not sure why that is, as it’s a Spotify internals kind of thing.

The LoginId value can easily be found using the Spotify Developer Web portal, using the Get Current Users profile service. Click on the Try It button, then find the id response value.

This option is required when activating Spotify Connect devices (including librespot).

I am very sorry to hear this! I was just getting into using Spotify more from my HA platform.

Yes, thank you, this is where I have been reading. I still don’t understand how to retrieve the “canonical login id”.

This doesn’t give me a login id in the format described above, just my Spotify user name.

@tomoqv
The canonical logon is and the username are the same for some Spotify users. Just use the username for the loginid.

1 Like

FYI - just released a new version of the SpotifyPlus Card Dashboard

[ 1.0.15 ] - 2024/12/02

  • This release requires the SpotifyPlus Integration v1.0.67+ release; please make sure you update the SpotifyPlus integration prior to updating this SpotifyPlus Card release.
  • Some Spotify Web API functionality has been deprecated unexpectedly (and without prior notice!) by the Spotify Development Team, and has affected SpotifyPlus Card functionality. More information can be found on the SpotifyPlus Card Troubleshooting Guide wiki page, as well as the Spotify Developer Forum Blog.
  • Due to the above chnages made by Spotify, any Algorithmic and Spotify-owned editorial playlists are no longer accessible or have more limited functionality. This means that you can no longer obtain details via the SpotifyClient.GetPlaylist and SpotifyClient.GetPlaylistItems methods for Spotify-owned / generated content (e.g. “Made For You”, etc). A 404 - Not Found error will be returned when trying to retrieve information for these playlist types.
  • Added category shortcut capability to user-defined presets. This will allow you to quickly display category playlists. This change is irrelevant though, as the support for category playlists was deprecated by the above Spotify Development team changes to their API!
  • I am leaving the deprecated functionality within the card for the time being, with the hope that Spotify changes it’s mind and restores the functionality.
2 Likes

@Richi
I believe you posted this same question in the SpotifyPlus integration community forum

In your reply to that, you mentioned you have a Denon AVR X-1600H and Teufel holist speakers. I am waiting on someone to run some Wireshark network traces for me on a Denon HEOS device (similar to yours maybe). After I get those, I should know a little bit better of what is going on with the Denon devices.

I don’t have any Denon devices to test with, so I am relying on others with Wireshark network tracing abilities to help me out.

Hello, I would love to help you with Wireshark. However, I have no experience with it! If you say the whole thing is feasible for a layman with your help, then I can install it. Best regards
Stefan

1 Like

@Richi
Thanks for the offer, but there is a steep learning curve to Wireshark and network tracing and I just don’t have much extra time these days.

With that said, check out the following links if you want to try things on your own …

Hope it helps!

Thank you, it worked! From the wiki I didn’t think it was that simple as my 6 letter user id.

1 Like

Thanks Lucas, I will look into it!

Hi Todd, please send me a PN for sharing the trace. Thanks

FYI - just released a new version of the SpotifyPlus Card Dashboard

[ 1.0.16 ] - 2024/12/06

  • This release requires the SpotifyPlus Integration v1.0.68+ release; please make sure you update the SpotifyPlus integration prior to updating this SpotifyPlus Card release.
  • Added “Active User” information to Spotify Connect Device details display.

Thanks for this great card!

I just done first tests and identified an issue around the default coloring. I’m using dark theme and the colors of background and font do not have enough contrast. What would be best way to change it? By card-mod or would you add this feature native?