After the organizer moves a downloaded file into the library, the tagger writes metadata into it. Crate uses the correct native tag format for each container: ID3v2 for MP3, Vorbis comments for FLAC, and RIFF INFO for WAV. Formats without a supported tag format (OGG, Opus, AAC, M4A) are still downloaded and organized — they just don’t receive embedded tags.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TheOutdoorProgrammer/crate/llms.txt
Use this file to discover all available pages before exploring further.
Tagging is non-destructive. Crate opens the existing tag block, strips only the fields it manages, and rewrites those fields. Any tags written by other tools — ReplayGain analysis, MusicBrainz Picard IDs, AcoustID fingerprints, ISRC codes — are preserved unchanged.
Tag Formats by File Type
- MP3 — ID3v2
- FLAC — Vorbis comments
- WAV — RIFF INFO
Crate opens the file with
Parse: true so all existing ID3v2 frames survive. It then replaces only the frames it owns by calling SetTitle, SetArtist, SetAlbum, and SetYear, then clearing and rewriting the track number (TRCK), disc number (TPOS), and attached picture (APIC) frames before saving.Frames written by other tools — UFID (MusicBrainz recording ID), TXXX (custom tags), RVA2 / RGAD (ReplayGain), TSRC (ISRC) — are never touched.Fields written: title, artist, album, year, track number, disc number, cover art (front cover APIC frame).Tags Written
The following fields are written to every supported format (where the format supports them):| Field | MP3 (ID3v2) | FLAC (Vorbis) | WAV (RIFF INFO) |
|---|---|---|---|
| Track title | TIT2 | TITLE | INAM |
| Artist name | TPE1 | ARTIST | IART |
| Album title | TALB | ALBUM | IPRD |
| Year | TDRC | DATE | ICRD |
| Track number | TRCK | TRACKNUMBER | ITRK |
| Disc number | TPOS | DISCNUMBER | IKEY |
| Cover art | APIC | PICTURE | ✗ |
Cover Art
Cover art is fetched from the album’scover_url (provided by the metadata provider — MusicBrainz, Deezer, or a custom gRPC provider) and embedded during tagging. Fetching is done with a 10-second timeout; if the fetch fails or returns a non-200 status, the tag is still written without cover art rather than failing the entire tagging step.
For MP3 files, the APIC (Attached Picture) frame is deleted and re-added as a front-cover picture each time to prevent accumulating duplicate frames on tracks that are re-tagged during a quality upgrade.
For FLAC files, all existing PICTURE metadata blocks are removed and a single new front-cover block is appended.
MusicBrainz Recording ID
When a track is imported from a MusicBrainz-tagged file, or sourced via the MusicBrainz provider, the MusicBrainz recording ID is stored asmb_recording_id on the track record in the Crate database. This is kept as a separate signal rather than being resolved to a release-track ID, which avoids ambiguity when a recording appears on multiple releases.