fix(music): add spotify-tokener for anonymous token, enable Partner API

- Add spotify-tokener service (ghcr.io/topi314/spotify-tokener:master)
- Configure lavasrc to use it via customTokenEndpoint
- Enable preferPartnerApi for playlist loading via Partner API
- spotify-tokener handles the TOTP token generation properly
This commit is contained in:
loki5512344 2026-07-18 00:16:12 +02:00
parent 521e640409
commit 530fec43b3
Signed by: boba
GPG key ID: 253067914055423B
2 changed files with 12 additions and 0 deletions

View file

@ -14,6 +14,16 @@ services:
SPOTIFY_CLIENT_ID: ${SPOTIFY_CLIENT_ID}
SPOTIFY_CLIENT_SECRET: ${SPOTIFY_CLIENT_SECRET}
spotify-tokener:
image: ghcr.io/topi314/spotify-tokener:master
container_name: spotify-tokener
restart: unless-stopped
environment:
- SPOTIFY_TOKENER_ADDR=0.0.0.0:8086
- SPOTIFY_TOKENER_LOG_LEVEL=INFO
networks:
- default
bot:
build: .
container_name: loki-bot