sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 7f38ae038e feat(federation): play a friend's music and show its covers through this server
A listener can now play the music of a friend from the web app.

- GET /friends/{friend}/tracks/{id}/stream and /friends/{friend}/albums/{id}/cover,
  in the group that accepts the access token in the query, like the local ones.
  This server asks the friend with a signed request and passes the bytes on,
  forwarding Range and the conditional headers, so a player can seek. The
  friend sees this server and never the listener.
- Only audio (for a stream) and a JPEG (for a cover) are passed on, with a
  fixed set of headers: Content-Type, Content-Length, Content-Range,
  Accept-Ranges, Last-Modified and ETag. Anything else a friend sends, or
  what a listener's request carries (cookies, authorization), is not passed
  either way, so a friend cannot make this server serve anything else.
- The client of friends can open a streaming answer: no limit on its whole
  length, one only on its beginning, no redirect followed, and it ends when
  the listener leaves.
- The player holds a friend's track next to the local ones. It streams
  through this server, shows the friend's cover, links to the music of the
  friend and not to a local page, is told apart from a local track with the
  same id, and is never reported as a listen: it does not feed taste.
- The songs of a friend have play buttons, the albums their covers.
- OpenAPI paths, contract test, and two real servers checked end to end: the
  bytes of the file arrive unchanged, with ranges, and a song plays in a
  browser from the friend's server through the other one.
2026-11-13 16:11:59 +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(federation): play a friend's music and show its covers through this server 2026-11-13 16:11:59 +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
federation feat(federation): play a friend's music and show its covers through this server 2026-11-13 16:11:59 +01:00
feedback feat(feedback): a wishlist and "not interested" 2026-11-11 20:11:18 +01:00
images feat(federation): shared libraries and the signed read API for friends 2026-11-13 15:04:07 +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(federation): shared libraries and the signed read API for friends 2026-11-13 15:04:07 +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): a picture for each mix, a collage of album covers 2026-11-13 09:58:04 +01:00
naming feat(naming): an admin section that shows what Claude costs 2026-11-13 11:14:45 +01:00
playlists feat: playlists with a cover, a collage of the covers of their albums 2026-11-13 11:32:01 +01:00
providers feat(naming): an admin section that shows what Claude costs 2026-11-13 11:14:45 +01:00
smart feat(smart): covers on the Smart playlists page 2026-11-13 11:41:23 +01:00
storage feat(federation): shared libraries and the signed read API for friends 2026-11-13 15:04:07 +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