Plural season ranges leave the title polluted #138

Closed
opened 2026-08-23 18:06:56 +01:00 by naps62-yolo · 0 comments
Owner

#135 made COMPLETE a strong junk marker so it closes the title boundary
wherever it lands, and taught the parser degenerate ranges like S01-S01. The
spelled-out plural form is still wrong: markers.rs's classify_pair only
recognises singular season followed by digits, and a token like 1-3 is not
all digits, so Fallout.Seasons.1-3.1080p.BluRay-GROUP parses with the title
"Fallout Seasons 1-3".

episodes::claim still extracts the range correctly, so the shape is right and
only the title is polluted — which is enough for match_episode's exact-title
comparison to fail silently, the same failure #135 was filed for. Multi-season
packs are not selected automatically (#123), but they appear in the season deck,
where a wrong title means they never show up at all.

Teach classify_pair the plural form with a range token so the boundary closes.
Table-driven cases beside the ones #135 added.

#135 made `COMPLETE` a strong junk marker so it closes the title boundary wherever it lands, and taught the parser degenerate ranges like `S01-S01`. The spelled-out plural form is still wrong: `markers.rs`'s `classify_pair` only recognises singular `season` followed by digits, and a token like `1-3` is not all digits, so `Fallout.Seasons.1-3.1080p.BluRay-GROUP` parses with the title `"Fallout Seasons 1-3"`. `episodes::claim` still extracts the range correctly, so the shape is right and only the title is polluted — which is enough for `match_episode`'s exact-title comparison to fail silently, the same failure #135 was filed for. Multi-season packs are not selected automatically (#123), but they appear in the season deck, where a wrong title means they never show up at all. Teach `classify_pair` the plural form with a range token so the boundary closes. Table-driven cases beside the ones #135 added.
naps62-yolo added this to the TV tracking milestone 2026-08-23 18:06:56 +01:00
naps62-yolo added the area/parsedifficulty/easyphase/6-tvtype/bug labels 2026-08-23 18:06:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#138