sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi bfa3e6e458 feat: the seek bar shows the waveform of the track
The seek bar of the player is the shape of the track, with the part already
heard in colour, as in the approved mockups.

- GET /tracks/{id}/peaks gives 120 levels from 0 to 255 (the loudest part is
  255 whatever the volume). The server finds them by decoding the file, MP3 with
  go-mp3 and FLAC with eaburns/flac, both in pure Go. It takes a few seconds, so
  the first request starts the work in the background and answers 202 with
  Retry-After. It is done once for each file (migration 0025), worked out again
  if the size or the date of the file change, one track at a time so that a NAS
  is not kept busy, and a file that cannot be decoded is remembered as such. A
  track deleted while its file is being decoded is not an error.
- The seek bar of the player bar and of the full-screen player draws the shape
  and asks again every few seconds until it is there. Until then, and for a
  friend's track, which has none, the bar is flat. The heard part is teal, or
  the friend colour. It is still a native range input, 44 pixels high in the
  bar.
- OpenAPI path and schema, contract test, tests with real MP3 and FLAC files,
  and a real server checked: a 4-minute MP3 is ready in about a second and a
  half, a 12 MB FLAC in three, and asking again takes a millisecond.
2026-11-13 17:35:00 +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: the seek bar shows the waveform of the track 2026-11-13 17:35:00 +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: the seek bar shows the waveform of the track 2026-11-13 17:35:00 +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
waveform feat: the seek bar shows the waveform of the track 2026-11-13 17:35:00 +01:00
webui feat: embed the built web app in sondad behind the webui build tag 2026-11-12 15:56:34 +01:00