fix(release/parser): collapse chained multi-episode markers to full range
S14E09E10E11 previously parsed to episode=9, episode_end=10 — E11 was silently dropped. The parser now takes episodes[-1] as episode_end so the full chain is captured (episode=9, episode_end=11). Intermediate values stay implied. Fixture shitty/archer_multi_episode/ updated from anti-regression of the bug to anti-regression of the fix.
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
release_name: "Archer.S14E09E10E11.1080p.WEB.h264-ETHEL"
|
||||
|
||||
# Tech debt: triple-episode chain (E09E10E11) — current parser captures
|
||||
# episode=9 and episode_end=10, but E11 is lost. Anti-regression: lock in
|
||||
# the partial behavior so any future improvement is intentional.
|
||||
# Triple-episode chain (E09E10E11) — the parser collapses the chain to a
|
||||
# range (episode=first, episode_end=last). Intermediate values are implied.
|
||||
parsed:
|
||||
title: "Archer"
|
||||
year: null
|
||||
season: 14
|
||||
episode: 9
|
||||
episode_end: 10
|
||||
episode_end: 11
|
||||
quality: "1080p"
|
||||
source: "WEB"
|
||||
codec: "h264"
|
||||
|
||||
Reference in New Issue
Block a user