core icon indicating copy to clipboard operation
core copied to clipboard

Bug: Unable to play Spotify playlists created by other users

Open lars909 opened this issue 5 months ago • 5 comments

Image

The plugin works great overall, but I have encountered an issue when trying to play Spotify playlists that were created by other users.

Current Behavior

  • Playing playlists created by other Spotify users results in an error message indicating that the playlist cannot be loaded (see attached screenshot).
  • Searching for songs works correctly.
  • Playing individual songs works correctly.
  • Playing playlists that I created myself works correctly.

Expected Behavior

The plugin should be able to load and play public Spotify playlists created by other users, just like it does with playlists from my own account.

Additional Information

  • Own playlists: ✅ Working
  • Song search: ✅ Working
  • Individual song playback: ✅ Working
  • Third-party/public playlists: ❌ Not working
  • Error message appears when attempting to load the playlist (screenshot attached).

Steps to Reproduce

  1. Open the plugin.
  2. Search for or select a Spotify playlist created by another user.
  3. Attempt to play the playlist.
  4. The plugin reports that the playlist cannot be loaded.

Possible Hint

The issue might be related to playlist ownership, playlist URI handling, Spotify permissions, or the retrieval of playlist metadata for playlists not owned by the authenticated user.

lars909 avatar Jun 09 '26 05:06 lars909

Image

lars909 avatar Jun 09 '26 05:06 lars909

Thanks for the report — unfortunately this isn't something we can fix on our side.

As of Spotify's Web API changes from February 2026, Spotify deliberately restricted access to playlists you don't own:

"Will only return an items object for the user's playlist, other playlists will only provide metadata."

In other words: for any playlist not owned by the authenticated Spotify account, the API now returns only the playlist's metadata (name, image, owner, track count) but no tracks. There is no alternative endpoint — GET /users/{id}/playlists was removed entirely, and GET /playlists/{id}/items only returns content for the authenticated user's own playlists.

So this is a permanent platform-level restriction by Spotify, not a bug in the audioserver. Self-created playlists keep working because those are owned by your authenticated account.

rudyberends avatar Jun 09 '26 15:06 rudyberends

Good news — we found a way around the February 2026 Web API restriction. Instead of the official Web API (which now only returns tracks for playlists you own), the audioserver reads playlist contents over Spotify's own protocol — the same path the desktop client uses — so playlists created by other users (including public/editorial ones) load and play again.

This is available in beta.15. After updating, third-party playlists should show their tracks and play normally. Thanks for the report!

rudyberends avatar Jun 13 '26 15:06 rudyberends

Works instantly. Thank you so much for the quick help! 🎉

lars909 avatar Jun 13 '26 17:06 lars909

Just a quick follow-up:

Image Image

I did notice one small thing that might still be worth looking into:

When I add one of these previously affected playlists (i.e. playlists owned by other Spotify users) as a favorite in Loxone, the playlist itself is added correctly and playback works perfectly. However, the playlist cover artwork is not transferred/displayed. Favorites based on my own playlists seem to show the artwork correctly.

This is only a cosmetic issue and does not affect functionality, but perhaps there is a way to include the playlist image metadata for externally owned playlists as well.

Thanks again for the excellent support!

lars909 avatar Jun 14 '26 06:06 lars909