7bc50fd5b8
Captures 5 canonical releases from /mnt/testipool/downloads as parametrized fixtures under tests/fixtures/releases/easy/. Each fixture declares the release name, expected ParsedRelease fields, original tree, and the future routing (library / torrents / seed_hardlinks) for the upcoming organize_media refactor. Today only the 'parsed' section is asserted; tree is materialized into a tmp_path to catch typos. Routing is captured ahead of the planner work — it becomes verifiable once organize_media lands. Cases: back_in_action (movie), slow_horses_single_ep (TV single), foundation_season_pack (S02 + .nfo noise), long_walk_with_noise (movie + KONTRAST.TOP.txt), sinners_yts (YTS bracket-heavy + Subs/ dir). Also tracks CHANGELOG.md under [Unreleased] / Added.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
release_name: "The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST"
|
|
|
|
parsed:
|
|
title: "The.Long.Walk"
|
|
year: 2025
|
|
season: null
|
|
episode: null
|
|
episode_end: null
|
|
quality: "1080p"
|
|
source: "WEBRip"
|
|
codec: "x265"
|
|
group: "KONTRAST"
|
|
tech_string: "1080p.WEBRip.x265"
|
|
media_type: "movie"
|
|
site_tag: null
|
|
parse_path: "direct"
|
|
is_season_pack: false
|
|
|
|
tree:
|
|
- "The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST/"
|
|
- "The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST/KONTRAST.TOP.txt"
|
|
- "The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST/The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST.mkv"
|
|
|
|
routing:
|
|
library:
|
|
- "The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST/The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST.mkv"
|
|
torrents:
|
|
# KONTRAST.TOP.txt travels with the folder — never lives in library/
|
|
- "The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST/"
|
|
seed_hardlinks:
|
|
- source: "library/The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST/The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST.mkv"
|
|
target: "torrents/The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST/The.Long.Walk.2025.1080p.WEBRip.x265-KONTRAST.mkv"
|