aa182458b8
Add 15 expected.yaml fixtures under tests/fixtures/releases/shitty/ covering the awkward but real-world release names from the downloads folder. Each fixture locks in the current parse_release behavior so future parser changes are intentional, not silent drift. Cases captured: - Angel INTEGRALE 3-level hierarchy (tv_complete media_type) - Buffy custom French title with dots preserved - Archer S14E09E10E11 multi-episode (E11 lost — tech debt) - Notre Planète lowercase s01e01 - Vinyl ' - 1x01 - FHD' (stray dash artifact — tech debt) - Deutschland.83 (year-suffix as part of title) - Tatortreiniger S01-06 range (falls to movie — tech debt) - Derry Girls duplicated title - Jurassic Park bare folder (media_type=unknown) - La Nuit au Musée bilingual MULTI - Chérie j'ai agrandi (ASCII-stripped apostrophe, parses fine) - Honey Don't (unescaped apostrophe — full AI-path degeneration) - Hook MULTi.SUBS movie with Subs/ folder - Predator Badlands space separators (group=UNKNOWN — tech debt) - Westworld S04 Subs.Only (no video file) Each fixture also captures the future 3-flow routing (library / torrents / seed_hardlinks) ahead of the organize_media refactor. Suite: 1011 passed, 8 skipped.
51 lines
3.1 KiB
YAML
51 lines
3.1 KiB
YAML
release_name: "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO"
|
|
|
|
# INTEGRALE token correctly drives media_type=tv_complete + edition=INTEGRALE.
|
|
# No season numbers anywhere in the release name — folder hierarchy carries
|
|
# the season info. The organiser will need to walk the tree to learn seasons.
|
|
parsed:
|
|
title: "Angel"
|
|
year: null
|
|
season: null
|
|
episode: null
|
|
quality: "1080p"
|
|
source: "BluRay"
|
|
codec: "x265"
|
|
group: "FRANCISCO"
|
|
tech_string: "1080p.BluRay.x265"
|
|
media_type: "tv_complete"
|
|
edition: "INTEGRALE"
|
|
languages: ["MULTI"]
|
|
parse_path: "direct"
|
|
is_season_pack: false
|
|
|
|
tree:
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Bonus/"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Bonus/Making.Of.mkv"
|
|
|
|
# Bonus/ is parasitic (not in the show canon) — stays with torrents only.
|
|
routing:
|
|
library:
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
torrents:
|
|
- "Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/"
|
|
seed_hardlinks:
|
|
- source: "library/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
target: "torrents/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- source: "library/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
target: "torrents/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 1/Angel.S01E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- source: "library/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
target: "torrents/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E01.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
- source: "library/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|
|
target: "torrents/Angel.INTEGRALE.MULTI.1080p.BluRay.x265-FRANCISCO/Saison 2/Angel.S02E02.MULTI.1080p.BluRay.x265-FRANCISCO.mkv"
|