stream: scrobble listened tracks to ListenBrainz
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
The web player decides when a track counts as listened (caught near its start and heard to ~90%, capped at 4 min) and triggers POST /scrobble. The token stays server-side (RADIEO_LISTENBRAINZ_TOKEN), submitting the listen with the canonical MusicBrainz MBID when available. Each airing is deduplicated so multiple tabs submit it once. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b04e717f40
commit
d302cf1c88
7 changed files with 163 additions and 2 deletions
|
|
@ -47,3 +47,9 @@ RADIEO_USER_AGENT=radieo/0.1 (personal music radio)
|
|||
# --- Rétention du cache (optionnel) ---
|
||||
# Nombre de morceaux joués conservés sur disque avant éviction (LRU).
|
||||
RADIEO_RETENTION_KEEP=20
|
||||
|
||||
# --- Scrobbling ListenBrainz (optionnel) ---
|
||||
# Le player scrobble vers TON compte ListenBrainz les morceaux réellement
|
||||
# écoutés (démarrés au début et entendus à ~90 %). Token utilisateur : voir
|
||||
# https://listenbrainz.org/settings/ (« User token »). Vide = désactivé.
|
||||
RADIEO_LISTENBRAINZ_TOKEN=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue