[GH-ISSUE #162] Impact of smaller set of supported endpoints of the Spotify API #91

Open
opened 2026-02-27 19:28:22 +03:00 by kerem · 2 comments
Owner

Originally created by @kkerssem on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/162

First of all, I really like what you are building. Love that it allows me to integrate my existing speakers into Loxone.
Give the reduction of supported endpoints of the Spotify API, and that I am using a new Spotify Client ID to which the limitations apply, I wanted to give some feedback on what I am experiencing as a result of the limitations. I'm running V4.0.0-BETA.5.

  1. Popular Playlists
    I see you've already implemented fallbacks in the code for when the new Spotify API restrictions kick-in for new Client IDs.
    I'm indeed seeing them being denied.

[2026-02-15T08:27:40.070Z][DEBUG][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/browse/categories/toplists/playlists?limit=50&country=NL] spotify api request failed
[2026-02-15T08:27:40.094Z][DEBUG][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/browse/categories/toplists/playlists?limit=50] spotify api request failed
[2026-02-15T08:27:40.123Z][DEBUG][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/browse/categories/toplists/playlists?limit=50&country=US] spotify api request failed
[2026-02-15T08:27:40.152Z][DEBUG][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/browse/featured-playlists?limit=50&country=NL] spotify api request failed
[2026-02-15T08:27:40.179Z][DEBUG][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/browse/featured-playlists?limit=50] spotify api request failed
[2026-02-15T08:27:40.206Z][DEBUG][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/browse/featured-playlists?limit=50&country=US] spotify api request failed
[2026-02-15T08:27:40.236Z][DEBUG][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/users/spotify/playlists?limit=50] spotify api request failed

  1. Artist
    Access to the artist top-tracks also fails. Maybe it is possible to replace this with a Get Artist's Albums call? That one is still allowed.

[2026-02-15T08:35:22.528Z][WARN][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/artists/3AmgGrYHXqgbmZ2yKoIVzO/top-tracks?market=from_token] spotify api request failed

  1. Liked Songs and Podcasts
    In "Spotify->Your Library" I have an entry "Liked Songs" and "Podcasts". When I select it, it shows "(No content)". The logs however do not show an outgoing call to Spotify, but a content cache miss message. Something I need to reset?

[2026-02-15T09:07:05.652Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/4/0/50 name=appHttp remote=192.168.10.233] loxone ws message received
[2026-02-15T09:07:05.653Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/4/0/50] command received
[2026-02-15T09:07:05.654Z][DEBUG][Content|Manager] [folderId=4 limit=50 offset=0 service=spotify user=renkhaos] content cache miss
[2026-02-15T09:14:06.000Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/7/0/50 name=appHttp remote=192.168.10.233] loxone ws message received
[2026-02-15T09:14:06.001Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/7/0/50] command received
[2026-02-15T09:14:06.002Z][DEBUG][Content|Manager] [folderId=7 limit=50 offset=0 service=spotify user=renkhaos] content cache miss

  1. Playlists
    When I select any playlist, it shows "(No content)". I guess this is because of the API change? Something to do with the rename of "tracks" to "items"?

[2026-02-15T09:24:08.856Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/3/0/50 name=appHttp remote=192.168.10.233] loxone ws message received
[2026-02-15T09:24:08.857Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/3/0/50] command received
[2026-02-15T09:24:08.857Z][DEBUG][Content|Manager] [folderId=3 limit=50 offset=0 service=spotify user=renkhaos] content cache hit
[2026-02-15T09:24:10.503Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/spotify@renkhaos:playlist:53Nf5f2Kpj1hyoZygPUOUT/0/50 name=appHttp remote=192.168.10.233] loxone ws message received
[2026-02-15T09:24:10.505Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/spotify@renkhaos:playlist:53Nf5f2Kpj1hyoZygPUOUT/0/50] command received
[2026-02-15T09:24:10.505Z][DEBUG][Content|Manager] [folderId=spotify@renkhaos:playlist:53Nf5f2Kpj1hyoZygPUOUT limit=50 offset=0 service=spotify user=renkhaos] content cache miss
[2026-02-15T09:24:10.538Z][WARN][Content|Spotify:renkhaos] [body="{"error": {"status": 403, "message": "Forbidden" } }" status=403 url=https://api.spotify.com/v1/playlists/53Nf5f2Kpj1hyoZygPUOUT/tracks?offset=0&limit=50] spotify api request failed

Originally created by @kkerssem on GitHub (Feb 15, 2026). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/162 First of all, I really like what you are building. Love that it allows me to integrate my existing speakers into Loxone. Give the reduction of supported endpoints of the Spotify API, and that I am using a new Spotify Client ID to which the limitations apply, I wanted to give some feedback on what I am experiencing as a result of the limitations. I'm running V4.0.0-BETA.5. 1. **Popular Playlists** I see you've already implemented fallbacks in the code for when the new Spotify API restrictions kick-in for new Client IDs. I'm indeed seeing them being denied. > [2026-02-15T08:27:40.070Z][DEBUG][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/browse/categories/toplists/playlists?limit=50&country=NL] spotify api request failed [2026-02-15T08:27:40.094Z][DEBUG][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/browse/categories/toplists/playlists?limit=50] spotify api request failed [2026-02-15T08:27:40.123Z][DEBUG][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/browse/categories/toplists/playlists?limit=50&country=US] spotify api request failed [2026-02-15T08:27:40.152Z][DEBUG][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/browse/featured-playlists?limit=50&country=NL] spotify api request failed [2026-02-15T08:27:40.179Z][DEBUG][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/browse/featured-playlists?limit=50] spotify api request failed [2026-02-15T08:27:40.206Z][DEBUG][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/browse/featured-playlists?limit=50&country=US] spotify api request failed [2026-02-15T08:27:40.236Z][DEBUG][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/users/spotify/playlists?limit=50] spotify api request failed 2. **Artist** Access to the artist top-tracks also fails. Maybe it is possible to replace this with a [Get Artist's Albums call](https://developer.spotify.com/documentation/web-api/reference/get-an-artists-albums)? That one is still allowed. > [2026-02-15T08:35:22.528Z][WARN][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/artists/3AmgGrYHXqgbmZ2yKoIVzO/top-tracks?market=from_token] spotify api request failed 3. **Liked Songs** and **Podcasts** In "Spotify->Your Library" I have an entry "Liked Songs" and "Podcasts". When I select it, it shows "(No content)". The logs however do not show an outgoing call to Spotify, but a content cache miss message. Something I need to reset? > [2026-02-15T09:07:05.652Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/4/0/50 name=appHttp remote=192.168.10.233] loxone ws message received [2026-02-15T09:07:05.653Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/4/0/50] command received [2026-02-15T09:07:05.654Z][DEBUG][Content|Manager] [folderId=4 limit=50 offset=0 service=spotify user=renkhaos] content cache miss > [2026-02-15T09:14:06.000Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/7/0/50 name=appHttp remote=192.168.10.233] loxone ws message received [2026-02-15T09:14:06.001Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/7/0/50] command received [2026-02-15T09:14:06.002Z][DEBUG][Content|Manager] [folderId=7 limit=50 offset=0 service=spotify user=renkhaos] content cache miss 4. **Playlists** When I select any playlist, it shows "(No content)". I guess this is because of the API change? Something to do with the rename of "tracks" to "items"? > [2026-02-15T09:24:08.856Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/3/0/50 name=appHttp remote=192.168.10.233] loxone ws message received [2026-02-15T09:24:08.857Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/3/0/50] command received [2026-02-15T09:24:08.857Z][DEBUG][Content|Manager] [folderId=3 limit=50 offset=0 service=spotify user=renkhaos] content cache hit [2026-02-15T09:24:10.503Z][SPAM][LoxoneHttp] [command=audio/cfg/getservicefolder/spotify/renkhaos/spotify@renkhaos:playlist:53Nf5f2Kpj1hyoZygPUOUT/0/50 name=appHttp remote=192.168.10.233] loxone ws message received [2026-02-15T09:24:10.505Z][DEBUG][LoxoneHttp|Processor] [command=audio/cfg/getservicefolder/spotify/renkhaos/spotify@renkhaos:playlist:53Nf5f2Kpj1hyoZygPUOUT/0/50] command received [2026-02-15T09:24:10.505Z][DEBUG][Content|Manager] [folderId=spotify@renkhaos:playlist:53Nf5f2Kpj1hyoZygPUOUT limit=50 offset=0 service=spotify user=renkhaos] content cache miss [2026-02-15T09:24:10.538Z][WARN][Content|Spotify:renkhaos] [body="{\"error\": {\"status\": 403, \"message\": \"Forbidden\" } }" status=403 url=https://api.spotify.com/v1/playlists/53Nf5f2Kpj1hyoZygPUOUT/tracks?offset=0&limit=50] spotify api request failed
Author
Owner

@rudyberends commented on GitHub (Feb 15, 2026):

Thanks for the feedback. I’ll create a new Spotify app myself and evaluate what is still possible within the current constraints.

Unfortunately, the additional restrictions Spotify has introduced do not make this any easier.

<!-- gh-comment-id:3904095786 --> @rudyberends commented on GitHub (Feb 15, 2026): Thanks for the feedback. I’ll create a new Spotify app myself and evaluate what is still possible within the current constraints. Unfortunately, the additional restrictions Spotify has introduced do not make this any easier.
Author
Owner

@rudyberends commented on GitHub (Feb 22, 2026):

Given the current restrictions, this the best we can do for now: efe0d3e

It will be included in the next beta. For now it's available on the dev branch. If you need a container for testing;
ghcr.io/lox-audioserver/lox-audioserver:testing-20260222150601

<!-- gh-comment-id:3941189701 --> @rudyberends commented on GitHub (Feb 22, 2026): Given the current restrictions, this the best we can do for now: efe0d3e It will be included in the next beta. For now it's available on the dev branch. If you need a container for testing; `ghcr.io/lox-audioserver/lox-audioserver:testing-20260222150601`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#91
No description provided.