Spotify changed their API in Feb 2026 - playlists now require anonymous tokens via the Partner API. The default anonymous token endpoint is blocked from server IPs. Added a custom Dockerfile for spotify-tokener with Chromium installed, and configured LavaSrc to use Partner API with the tokener endpoint. Playlists now load successfully.
6 lines
270 B
Text
6 lines
270 B
Text
FROM ghcr.io/topi314/spotify-tokener:master
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends chromium && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
ENV SPOTIFY_TOKENER_CHROME_PATH=/usr/bin/chromium
|
|
ENV CHROMIUM_FLAGS="--no-sandbox --disable-gpu --headless"
|