sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 94dbf57544 feat(mixes): playlists made for a listener, by listening and by genre
GET /mixes lists the mixes a listener has, GET /mixes/{id}?variant= gives one with its
songs, and POST /mixes/{id}/playlist keeps one as a playlist of their own.

- Genre mixes: one for each genre with at least 30 songs by 4 artists, the genres the
  listener plays most first. Spellings that differ by case or punctuation are one
  genre (jazz+funk, jazz-funk); other and unknown are not genres.
- Made for the listener: Your favourites, Rediscover (liked artists not played for a
  month; both need history) and New to you (songs never played).
- A mix has up to 50 songs, at most 3 by one artist, never two of an artist in a row,
  picked by weighted chance (artist preference, never-played, less if played lately;
  skipped lately and avoided artists are out). The seed is user, mix, day and variant,
  so a mix is steady for a day and another is one variant away.
- Worked out when asked, from the listener's own history and the genre tags; nothing is
  stored and nothing leaves the server.

internal/mixes holds the selection and the service, internal/storage/mixes.go the
queries (SQLite and PostgreSQL). Spec, contract test, README and web types follow;
the web app comes separately.

Closes #95
2026-11-12 17:25:49 +01:00
..
about fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
api feat(mixes): playlists made for a listener, by listening and by genre 2026-11-12 17:25:49 +01:00
auth feat(auth): accounts are identified by an email address 2026-11-12 14:40:33 +01:00
catalog fix(catalog): keep albums apart, align album counts, reject bad search text 2026-11-11 13:47:31 +01:00
config feat(config): library.allow_delete, off by default, for deleting duplicate files 2026-11-12 16:33:11 +01:00
discover fix(discover): refusals do not wait for a turn, and waiting for one has an end 2026-11-12 12:00:18 +01:00
discovery feat(discover): artists I may like, with a score I can explain 2026-11-11 19:42:09 +01:00
duplicates fix(duplicates): move the playlist items of a removed copy to the one that stays 2026-11-12 17:01:36 +01:00
feedback feat(feedback): a wishlist and "not interested" 2026-11-11 20:11:18 +01:00
images feat(images): ask again without the disc or edition note of a title 2026-11-12 16:35:23 +01:00
jobs fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
library feat(images): album covers from the Cover Art Archive 2026-11-12 09:09:31 +01:00
listening fix(listening): report a deleted account first and document one event per play 2026-11-11 15:02:28 +01:00
mixes feat(mixes): playlists made for a listener, by listening and by genre 2026-11-12 17:25:49 +01:00
playlists feat(playlists): a user keeps playlists of tracks 2026-11-12 16:55:25 +01:00
providers feat(images): ask again without the disc or edition note of a title 2026-11-12 16:35:23 +01:00
storage feat(mixes): playlists made for a listener, by listening and by genre 2026-11-12 17:25:49 +01:00
streaming feat(library): named media libraries managed through the API 2026-11-11 13:30:25 +01:00
taste feat(discover): artists I may like, with a score I can explain 2026-11-11 19:42:09 +01:00
usersettings feat(settings): my own settings, starting with Discover from my listening 2026-11-11 19:16:26 +01:00
webui feat: embed the built web app in sondad behind the webui build tag 2026-11-12 15:56:34 +01:00