- Add a form to create a cluster mix rule: shown on first visit when there are no rules, and from a + in the sidebar for another Listenbrainz user. Backed by POST /api/discover/rules, which validates each setting and allows one rule per Listenbrainz user. - Add deleting a user's mixes from a bin in the sidebar, optionally also deleting the mixes' playlists from Subsonic. Backed by DELETE /api/discover/rules/<id>?delete_playlists=true. - Stop showing the previous user's mix while a new user's mixes build. - Remove the per-account Listenbrainz token: LB Radio now always uses listenbrainz.token from the config. A migration drops the token columns from app_user, and PUT /api/auth/account/listenbrainz is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
976 B
Bash
26 lines
976 B
Bash
# Settings for compose.yaml. Copy this file to .env and fill it in.
|
|
|
|
# Your Subsonic (e.g. Navidrome) server's API. For a server running on the Docker host, use
|
|
# http://host.docker.internal:4533/rest
|
|
SUBSONIC_BASE=http://host.docker.internal:4533/rest
|
|
SUBSONIC_USERNAME=
|
|
SUBSONIC_PASSWORD=
|
|
|
|
# Password for playlistd's own database. Use letters and digits only, as it's put in a URL.
|
|
POSTGRES_PASSWORD=
|
|
|
|
# Optional: your Listenbrainz user token (listenbrainz.org/settings), to find new songs for each
|
|
# genre mix with LB Radio.
|
|
LISTENBRAINZ_TOKEN=
|
|
|
|
# Where to serve playlistd. The first visit to the web UI creates the login, and anyone who gets
|
|
# there first can, so it only listens on this machine by default. Once you've created your account,
|
|
# set PLAYLISTD_BIND=0.0.0.0 to make it reachable from your network.
|
|
PLAYLISTD_BIND=127.0.0.1
|
|
PLAYLISTD_PORT=8000
|
|
|
|
# How often to update playlists, in seconds
|
|
DAEMON_INTERVAL=240
|
|
# error, warn, info, debug or trace
|
|
LOG_LEVEL=info
|