Commit Graph
7 Commits
Author SHA1 Message Date
Claude 18b3f0974e Add genre mixes from clustering recent listens
A new cluster_mix_rule clusters a Listenbrainz user's listens from the
last few months by MusicBrainz genre (with tracks played in the same
session pulled together) and maintains one Subsonic playlist per cluster,
filled with the cluster's most played tracks plus unheard library songs
from the best matching library genres.

- listenbrainz: fetch raw listens since a timestamp and bulk recording
  genres, handling rate limits
- cluster: tag TF-IDF + co-listen smoothing, spherical k-means with k
  chosen by silhouette score
- mix: match cluster profiles to library genres and pick songs, with a
  per-artist cap; reuse playlists across rebuilds by genre overlap
- subsonic: getGenres, getSongsByGenre, rename/delete playlist, genre and
  MBID fields on tracks, API error detection
- daemon, migration, POST/GET /api/playlist/mix and README docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018opPJMJjLWr4RqdG6vuK6p
2026-11-13 14:53:29 +00:00
claude Bot bc8d9908d1 Update to support latest navidrome version 2026-01-13 20:13:36 +00:00
claude Bot 2bd75c1c06 Add playlist building daemon
This creates playlists when the name would change
2024-04-18 22:33:45 +01:00
claude Bot 996504373e Replace axum with Rocket
Axum is shit and doesn't work
2024-04-18 20:15:07 +01:00
claude Bot 19345e771c Get the daemon to actually work 2024-04-16 19:10:05 +01:00
claude Bot 587f82932b Update playlists 2024-03-17 17:11:46 +00:00
claude Bot 3a196153ba Add track lookup by name/artist/album 2024-03-17 16:53:07 +00:00