sonda/internal/providers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 548ee03d83 feat(images): a background job that builds all the covers
- POST /library/covers (admin) starts, in the background and one at a time like a scan,
  a job that builds the cover of every album that has something to play and no cover that
  is still good; GET /library/covers shows the progress and how the last job ended;
  DELETE /library/covers stops it. ?refresh=true searches every album again.
- For each album it does what opening its cover does: the user's own files first, then the
  Cover Art Archive if the provider is on. It gives up, and says why, when the provider
  fails for five albums in a row; an album that vanished is skipped, not a failure.
- This is the one request that goes through the whole library, and the README and the
  provider text say so: with the archive on it sends the release group id of each album with
  no picture in its files, one after the other, spaced out.
- NewRouter now refuses to build when a service was not wired, naming it, instead of
  panicking at the first request (the wiring of this job in main had been missed, which no
  test could see).
- The outbound spacing test measures where the request leaves the client, so a busy
  machine cannot make it fail.
- Spec, contract and HTTP tests, README updated.

Closes #45
2026-11-12 09:34:27 +01:00
..
commons fix(images): outages are 502, purges are not undone, bad pictures are not outages 2026-11-11 22:12:49 +01:00
coverart fix(images): purge removes every archive cover, the id of an emptied album moves on 2026-11-12 09:21:11 +01:00
lastfm fix(discovery): ids from files, adoption and the scanner lock 2026-11-11 17:13:31 +01:00
musicbrainz feat(about): artist descriptions from Wikipedia 2026-11-11 21:36:27 +01:00
outbound feat(images): a background job that builds all the covers 2026-11-12 09:34:27 +01:00
wikipedia fix(about): unusable pages fall through, MusicBrainz switch, merged items 2026-11-11 21:45:20 +01:00
settings.go feat(images): a background job that builds all the covers 2026-11-12 09:34:27 +01:00
settings_test.go feat(images): album covers from the Cover Art Archive 2026-11-12 09:09:31 +01:00