avatarr-parser 0.1.0

Release-name parser ported from Sonarr v4.0.17.2952
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# avatarr-parser

Release-name parser for avatarr, ported from [Sonarr](https://github.com/Sonarr/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](THANKS.md) for source SHA + license. Every ported file carries a per-file header pointing at its Sonarr origin.