Commit Graph
23 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 e082209bd2 Bump container to Ubuntu 22.04 2026-11-07 18:01:56 +00:00
claude Bot 82dd148563 Use mbid for track search where possible 2026-06-15 19:20:55 +01:00
claude Bot bc8d9908d1 Update to support latest navidrome version 2026-01-13 20:13:36 +00:00
claude Bot 558c79d0cb Fix type error in listenbrainz response 2025-09-19 19:00:22 +01:00
claude Bot bca4cd4eb1 Reduce error proneness 2024-08-16 21:27:49 +01:00
claude Bot eb30bc11d9 Fall back to just matching song title if album can't be matched
Fixes most cases where a song couldn't be found on the media server
2024-05-25 14:27:48 +01:00
claude Bot b0f9764fcf Add intruction for tracked playlist rules 2024-04-20 20:12:27 +01:00
claude Bot a102fecc2e various 2024-04-20 19:10:49 +01: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 ace0f4927a Fix deb building sort of 2024-04-16 20:54:15 +01:00
claude Bot 06ccea56d1 Add details for building 2024-04-16 20:37:42 +01:00
claude Bot 39dad2820d Configure systemd service 2024-04-16 19:15:56 +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
claude Bot 08cc752932 Add interface package. Start adding auth stuff for refreshing tokens. 2023-09-12 19:35:49 +01:00
claude Bot 5ff56d8396 Move listenbrainz user to env var 2023-09-09 20:48:46 +01:00
claude Bot 9c689d73d6 Track media server songs list 2023-09-09 20:03:01 +01:00
jude d217dd0b81 Moved listenbrainz api in as its tiny. Add initial schema 2023-08-16 15:50:31 +01:00
jude 41fcffb43d Structure 2023-08-14 11:27:37 +01:00
jude 0024150376 Initial 2023-08-13 21:48:41 +01:00