Repository navigation
Releases
Releases · radiosilence/sift
v0.15.0
Changed
- Discogs is searched beside MusicBrainz for every import. The two compete on distance, MusicBrainz winning a near tie for its recording and artist ids. While MusicBrainz is unavailable, a strong Discogs match is applied rather than waiting, even for files that name a MusicBrainz release.
v0.14.1
Changed
- mimalloc is the global allocator. It is faster than musl's allocator under concurrent load and returns freed memory to the system.
Internal
- Releases publish to crates.io through trusted publishing. The publish job exchanges its OIDC identity for a short-lived crates.io token, so no registry credential is stored in the repository.
- séanced's name. The documentation names séanced, slsk-mcp's new name, and links its repository at radiosilence/seanced.
v0.14.0
Changed
enrichskips gain already written. An album whose files all carry album gain is not decoded again, so enriching a library already gained takes lookups rather than hours.
Fixed
- As-is imports keep what the files say about the release. Original date, label, catalogue number, country, media and the MusicBrainz and Discogs identifiers were removed by the rewrite; each now keeps the value the files agree on, so a reissue keeps its original year.
- Discogs matches file various-artists releases as compilations, and clean their labels. Discogs' "Various" is credited as Various Artists and flagged as a compilation, as a MusicBrainz match is. Labels lose Discogs' "(2)" suffixes, and its "Not On Label" and "none" placeholders are written as no label and no catalogue number.
- Imports write the release type.
RELEASETYPE(MusicBrainz Album Typein ID3 and MP4) holds the release group's primary and secondary types as Picard writes them, so players file singles, EPs, live albums and compilations under their own headings rather than among the albums. Discogs matches take the type from the release's format descriptions; as-is imports and releases that name none are typed by track count and length.enrichadds it to albums filed without one, andmodifyedits it asalbumtypes.
v0.13.1
Fixed
- Tags and art can be written on Windows. A tag edit flushed its finished copy through a read-only handle before renaming it over the file, which Windows refuses with "Access is denied", so every tag and art edit failed there.
- Folders are found on Windows.
Library::albums_inandLibrary::set_addedbounded their range of indexed paths with/, so on Windows, where indexed paths use\, they matched no files: an album at a known folder was never found, and a re-imported album lost its added date.
v0.13.0
Added
- Covers from the Apple Music catalogue. An album with no cover from Discogs or the Cover Art Archive, and none in its files, takes the catalogue's cover for the same artist and title, as beets'
itunesart source does. Many older releases have no art in the archive. An exact title is preferred over a " - Single" or " - EP" listing, and Various Artists compilations are never looked up by name. Afetchart.sourceslist that leaves outitunesturns this off.
Fixed
- The import log says why an album has no cover. Each source that was tried and passed over now logs its reason (an HTTP status, a failed Discogs image request, a release with no image, or an image outside the width and ratio limits). Before, an import matched on Discogs while MusicBrainz was unavailable logged only
cover art: none.
v0.12.1
Changed
- A MusicBrainz outage is asked about less and less often. After giving up on a refusing service, the client rests for at least 30 seconds, doubling with each give-up in a row up to ten minutes and resetting on the next answer. Before, it rested only through the last wait, often under 15 seconds, so many imports deferred together kept returning to a service that was still refusing. Shed searches rest searches alone on the same schedule, reset by the next answered search.
v0.12.0
Changed
- Discogs stands in for an unavailable MusicBrainz. When the MusicBrainz part of an import fails transiently after its retries, Discogs is searched in its place: a strong match is applied and a weak one goes to review with its candidates, so an outage on one service no longer holds back an album the other knows. The import is put off only when Discogs is unavailable too or has nothing, or when the files name their MusicBrainz release.
Outcomecarriesmusicbrainz_unavailablewith the reason, a breaking change for code that builds or matches it exhaustively.
Fixed
- A lone file with no album tag is filed as-is as a single. Its title names the album, less the artist where the title or file name repeats it, the artist becomes the album artist and it is track 1 of 1. Store singles, Bandcamp's among them, are tagged this way and were refused for having no album tag.
v0.11.0
Added
- Import progress.
sift::progress::scopepasses each stage an import reaches, including waits on MusicBrainz with their reason and length, to a callback, andImporter::musicbrainz_statsgives the requests sent, refused and the rate-limit budget last reported, for embedders that show imports live.
Changed
- One Homebrew tap. Install from
radiosilence/tap, which holds every radiosilence formula and cask;brew updatemoves installs from the old per-project tap.
Fixed
- A refusing MusicBrainz is reported in seconds, not minutes, and shed searches no longer slow the client. A request used to retry for about six minutes while holding the pacing gate, so every import queued behind an outage waited through its own round. It now retries for up to 45 seconds, honouring
Retry-After, then fails requests unsent until the requested wait is over; the CLI waits that rest out between albums. A 503 that sheds searches service-wide (x-ratelimit-zone: search,Retry-After: 0) is retried after a few jittered seconds, leaves the pacing alone and rests only searches, so lookups by id continue.
v0.10.2
Fixed
- Artists are credited on albums whose MusicBrainz id is a Discogs number. beets' discogs plugin writes the Discogs release number into
MUSICBRAINZ_ALBUMID; crediting sent it to MusicBrainz and gave up on the album. A bare number there is now read as a Discogs release, and a release that cannot be fetched leaves the credit to be split.
Internal
- Builds use the latest stable Rust. mise installs
rustatlatest.
v0.10.1
Added
- Albums matched on Discogs keep their release id. It is written as
DISCOGS_ALBUMID, sombsyncand a re-import go back to that Discogs release instead of searching again. - Untagged folders are identified by their audio. With the
chromaplugin and an AcoustID application key, a folder no release matches strongly is fingerprinted and looked up on AcoustID, and the releases its recordings appear on are scored with what the audio says.
Changed
- Re-importing an album rewrites only the files that change.
mbsyncandimport -Lleave a file alone when its tags and front cover already match, so refreshing a library mostly reads. - Copying an album into the library writes each track once. The tags go into the copy before it takes its name, which halves the disk work on filesystems without cloning and keeps a library scan from catching a track untagged.
Fixed
- Tag writes can no longer damage audio when interrupted. Each write edits a copy of the file and renames it over the original, so a crash or a full disk leaves one whole file. Symlinked and hard-linked files, and files in folders that cannot be written, are still written in place. Enriching an album writes each file once instead of up to five times.
- ReplayGain no longer writes one track's gain into another file. A track that crashed the decoder used to shift the remaining results onto the wrong files; it now fails the album.
sift badreports such a file as damaged instead of dropping it, and one long file no longer leaves the other threads idle. - A failed import or move puts the album back. Copies made before a failure are removed, moved files return to where they were, and a copy set aside for a replacing import is restored. Transfers interrupted by a dropped request no longer leave empty placeholders or temporary files, and the command line now shows the warnings the library logs.
- The index and the response caches no longer grow without bound. Check verdicts and lyrics misses follow a moved file and go with a deleted one, so
sift baddoes not decode a whole library again aftersift move. Scanning one root no longer drops the rows of another whose name it prefixes, and an unreadable folder is reported without its rows being dropped. Cached MusicBrainz and Discogs responses past their lifetime are deleted, and stale scratch copies from interrupted writes are removed during a scan. - Library-wide commands no longer redo per-track work. Planning a move lists each folder once, not once per track; sorting, duplicate detection and the lyrics and gain checks stop repeating work on every comparison or file; and
modifyreads back only the files it changed. - Imports decode, copy and wait less. A cover is decoded only when it must be resized, under a memory limit, and fetched images are capped at 64 MiB. A slow response no longer holds up other MusicBrainz or Discogs requests, an importer reuses one lyrics client, and tag reads and writes during enrichment run off the async runtime.
- Releases credited differently from the tags are found. When the usual searches find nothing, MusicBrainz is searched once more by title with any word of the artist, so a credit spelled "x" in the tags and "×" on MusicBrainz no longer leaves an album without candidates.
- Tag writes keep the Vorbis comments sift does not know. Writing to a FLAC, Ogg or Opus file no longer deletes fields such as
DISCOGS_ALBUMID,ACOUSTID_IDor custom fields added by other taggers. - Rewriting an MP4's cover replaces it. Every import or
mbsyncwrite with a cover used to add another copy of it to.m4afiles.