-- The library's albums go on the wanted list as held, once (M502 #5567, -- operator 2026-10-10). After that the list is the truth: an album taken -- off it stays off, and one dropped into the library folder by hand is not -- added. Re-acquisition fetches back only albums on the list. -- -- wants.reason library: on the list because the library -- held it when the list began. -- acquisition_settings when the one-time listing began (its cutoff: -- albums added later are not listed), when it -- finished, and how many albums it could not -- list because nothing names them to -- MusicBrainz. -- -- The listing itself runs in the wanted worker after boot, not here: it may -- have to ask MusicBrainz for each album's release group. ALTER TABLE wants DROP CONSTRAINT wants_reason_check; ALTER TABLE wants ADD CONSTRAINT wants_reason_check CHECK (reason IN ('request', 'follow', 'missing', 'library')); ALTER TABLE acquisition_settings ADD COLUMN library_listing_started_at timestamptz, ADD COLUMN library_listed_at timestamptz, ADD COLUMN library_unlisted integer NOT NULL DEFAULT 0;