Repository navigation
fix: parse "ТВ-N" season marker without brackets or in Latin, skip the TV-3 channel in dub credits - #79
Open
a1d4r wants to merge 1 commit into
Open
fix: parse "ТВ-N" season marker without brackets or in Latin, skip the TV-3 channel in dub credits#79a1d4r wants to merge 1 commit into
a1d4r wants to merge 1 commit into
Conversation
…e TV-3 channel in dub credits Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
a1d4r
force-pushed
the
fix/ru-tv-season-marker
branch
from
November 17, 2026 16:01
9c82585 to
f8a2e67
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"ТВ-N" numbers an anime's TV season. The handler only takes "(ТВ-N)"/"[ТВ-N]"
in Cyrillic with a hyphen. It misses "Стальной Алхимик ТВ-2 (64 из 64)",
"Gintama TV-1 [01-201]", "[TV-1]" and "(ТВ 2, часть 2)", but does read the TV-3
channel in "ДБ (ТВ-3)" (a dub credit) as season 3.
Fullmetal Alchemist: Brotherhood / Стальной Алхимик ТВ-2 (64 из 64) Complete [720p]Гинтама / Gintama TV-1 [01-201] (2006) BDRip-HEVC 720p | L1Shingeki no Kyojin / Attack on Titan / … [TV-1] [2013, TV, 25 эп.] BDRip 720p… (ТВ 2, часть 2) [2023, TV, 12 из 12 эп.] BDRemux 1080pГоблин (…) (1-16 серии из 16) / Dokkaebi (…) / 2016-2017 / ДБ (ТВ-3), ПМ, СТ / WEB-DL (1080p)Терминатор 2: … MVO (ТВ-6), MVO (ОРТ) + EngТерминатор 2: … 4x MVO (Киномания, ОРТ, ТВ-6, CP Digital)Show Name TV-14 [1080p]Тёмное дело (ТВ-2) / Dark Case [1080p]Fix:
taken as a whole word, so "Тёмное дело (ТВ-2)" keeps its season;
only with a single digit, so "TV-14" ratings are not seasons). A channel
inside a list of dubs is not matched. The marker sits inside the name, so
this handler does not end the title (skipFromTitle): titles stay exactly
as before ("Jujutsu Kaisen TV-2", "Gintama TV-1").
Tests: src/tests/russianTvSeasonMarker.test.ts. 8 of 3,574 labelled
releases fixed, no regressions. 31 of 37k titles change, seasons only; no
title changes.