sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 175b87a4cc fix(discovery): ids from files, adoption and the scanner lock
- fix: a discovered artist adopted by id under another spelling kept its old
  match key, so the next file with the new spelling and no id created a second
  artist. The key now follows the name
- fix: when a real artist without an id and a discovered artist holding the id
  have the same name, the id now goes to the real artist and the discovered one
  lets go of it. Before, the scan created a second real artist and a second
  album, and could not repair it because the id was taken
- fix: when a file without an id adopts a discovered artist that had a provider
  id, the tags, the fetch records and the similar artists read under that id
  are dropped, since they are not known to be about the user's artist. Links
  from other artists to it stay. A file that confirms the very same id keeps
  everything
- fix: the album artist id is only read when the file has an album artist tag;
  with the tag missing the name is a fallback and the id would have landed on the
  wrong artist (a Various Artists id on the track's own artist)
- fix: one artist credit with one id ("X feat. Y" with the id of X, how beets
  writes it) is not paired: no id is safer than a wrong one. A name that is
  itself a single letter or contains a slash still gets its id
- fix: on PostgreSQL the scanner took the artist lock after it had already
  changed artist rows, which could deadlock with a concurrent similar-artists
  save. SaveFile now takes the lock first, once
- fix: Last.fm does not know every MusicBrainz id: when it does not know the id
  and there is a name, the name is tried, never autocorrected, as before ids
  were read from files
- fix: waiting for one provider's tags is bounded at 20 seconds, so a rate
  limited provider cannot hold a page for a minute
- docs: the tag range is 1 to 100 (a tag with no votes is dropped), the spec says
  where an artist's id can come from, and the README says when Last.fm gets an id
- test: adoption by spelling, the real artist with a discovered namesake,
  dropping and keeping what was read, album artist fallback, credits, an ID3
  frame, and the id-then-name fallback of Last.fm
2026-11-11 17:13:31 +01:00
..
api fix(discovery): ids from files, adoption and the scanner lock 2026-11-11 17:13:31 +01:00
auth fix(auth): close session races found in review 2026-11-11 12:45:06 +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(providers): provider settings in a table and a careful outbound HTTP client 2026-11-11 16:07:12 +01:00
discovery fix(discovery): ids from files, adoption and the scanner lock 2026-11-11 17:13:31 +01:00
library fix(discovery): ids from files, adoption and the scanner lock 2026-11-11 17:13: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
providers fix(discovery): ids from files, adoption and the scanner lock 2026-11-11 17:13:31 +01:00
storage fix(discovery): ids from files, adoption and the scanner lock 2026-11-11 17:13:31 +01:00
streaming feat(library): named media libraries managed through the API 2026-11-11 13:30:25 +01:00