feat: base discovery on the whole mood collection
- seed from every artist (weighted by song count) and every album, not one track - walk Deezer's graph: artist top tracks, related artists, album deep cuts - score by artist frequency, collection album, catalog affinity and hint text - penalise repeated artists so a 30-slot mood spans artists, not one - refresh the pool when a song is added instead of waiting for refreshHours - skip discovery for a mood with no hint, genres or songs - extend tests and the smoke test with the artist graph
This commit is contained in:
1 parent
a78d359d0c
commit
62bcefad20
13 files changed
+911
-72
No files matched your search
@@ -36,6 +36,11 @@ keeps playing without a mounted music library.
|
||||
- **Recommendations are active slots.** A mood keeps `recommendationCount`
|
||||
(0–30, default 10) recommendations in `downloading`, `ready` or `failed`
|
||||
state. Hidden `new` candidates refill the slots automatically.
|
||||
- **Discovery uses the whole mood.** Every artist (weighted by how many songs
|
||||
the mood has), every album, the hint and the genres feed one pass. On Deezer
|
||||
the server also walks Deezer's artist graph: top tracks of the collection
|
||||
artists, their related artists, and deep cuts from the collection's albums.
|
||||
Adding a song makes the pool refresh instead of waiting for `refreshHours`.
|
||||
- **Add / Not interested are permanent.** Adding promotes a recommendation into
|
||||
the collection. Rejecting is remembered per mood. Both free a slot and the
|
||||
server refills it.
|
||||
|
||||
Reference in new issue
Block a user