Skip to content

Fix Jimaku subtitle title and episode matching#36

Open
1Selxo wants to merge 2 commits into
sohilsayed:mainfrom
1Selxo:codex/fix-jimaku-episode-matching
Open

Fix Jimaku subtitle title and episode matching#36
1Selxo wants to merge 2 commits into
sohilsayed:mainfrom
1Selxo:codex/fix-jimaku-episode-matching

Conversation

@1Selxo

@1Selxo 1Selxo commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • expand Chimahon's Jimaku filename parser with GuessIt-style buckets for release/source/codec/audio/HDR/streaming-service/language/hash/release-group metadata
  • support many more episode forms: SxxEyy variants, 1x02, episode/ep/capitulo words, feature: Cascading profiles and more languages support #12, Japanese/Chinese 話/集/回, Korean 화/회, leading anime episode numbers, and weak standalone numbers
  • keep multiple episode candidates so filenames like S03E044 + 第272話 can still match episode 272
  • strip noisy title tails like DVDRip AC3 YYeTs, [Group], (1080p), [CRC], ja-jp, WEB-DL, DDP5.1, H.264, and scene groups before searching Jimaku

Checked

  • git diff --check
  • smoke-tested parsing for the reported screenshots and extra GuessIt-style cases: Trick DVDRip AC3 YYeTs; [SubsPlease] Re Zero ... - 77 (1080p) [hash].mkv; One Piece S03E044 + 第272話; Treme 1x03 HDTV XviD-NoTV; Duckman S1E13; [Ayu] 01 [CRC]; S02.E03 1080p NF WEB-DL DDP5.1 H.264-GROUP

@1Selxo 1Selxo force-pushed the codex/fix-jimaku-episode-matching branch from f86ed51 to d019bc6 Compare June 24, 2026 21:19
@1Selxo

1Selxo commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

Follow-up refactor commit added: extracted the GuessIt-style Jimaku parsing and matching helpers from PlayerViewModel into app/src/main/java/eu/kanade/tachiyomi/ui/player/utils/JimakuMatcher.kt. PlayerViewModel now just builds the current candidate list and calls the utility functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant