avatarr-parser
Release-name parser for avatarr, ported from Sonarr v4.0.17.2952.
Purpose
Detect quality (resolution, source, modifier, revision) and language from release filenames and folder names: the same task Sonarr's QualityParser.cs and LanguageParser.cs perform on the C# side.
Architecture
Self-contained workspace member: no dependency on crates/core. The parser takes a release name in, returns typed QualityModel + Vec<Language> out. Downstream crates (avatarr-core, avatarr-cli, avatarr-gui) consume those types; the parser does not consume them.
Edition 2024 is set explicitly here (the rest of the workspace is on 2021). m50 makes parser edition-divergent on purpose to give the ported code a clean modern baseline.
Attribution
See THANKS.md for source SHA + license. Every ported file carries a per-file header pointing at its Sonarr origin.