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:
parent
521e640409
commit
530fec43b3
2 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue