Skip to content

4-digits episodes are incorrectly matched (eg. Detective Conan) #531

@RomLecat

Description

@RomLecat

Platform

Operating system and version: Rocky Linux 10 with Podman
Plex version: Latest

Expected Behavior

Episode named "Detective Conan (1996) - 1198 - Cinderellas shoe [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv" is not correctly matched (only first 3 digits are evaluated as episode number).

Current Behavior

Logs from scanner indicates bad matching:

"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "1 - The Lover Who Vanished on Pont Koitani Misasa Tour ADN - -Tsundere-Raws" "Detective Conan (1996) - 1191 - The Lover Who Vanished on Pont Koitani Misasa Tour [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "2 - Tsuburaya Mitsuhikos Notes 4 ADN - -Tsundere-Raws" "Detective Conan (1996) - 1192 - Tsuburaya Mitsuhikos Detective Notes 4 [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "3 - Kid Vs. Hakuba Azure Throne Part One ADN - -Tsundere-Raws" "Detective Conan (1996) - 1193 - Kid Vs. Hakuba Azure Throne Part One [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "4 - Kid Vs. Hakuba The Azure Throne Part Two ADN - -Tsundere-Raws" "Detective Conan (1996) - 1
194 - Kid Vs. Hakuba The Azure Throne Part Two [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "5 - The Spiral Mansion Mystery Part One ADN - -Tsundere-Raws" "Detective Conan (1996) - 1195 - The Spiral Mansion Mystery Part One [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "6 - The Spiral Mansion Mystery Part Two ADN - -Tsundere-Raws" "Detective Conan (1996) - 1196 - The Spiral Mansion Mystery Part Two [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "7 - The Cosplay Rider of the Wind ADN - -Tsundere-Raws" "Detective Conan (1996) - 1197 - The Cosplay Rider of the Wind [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "8 - Cinderellas shoe ADN - -Tsundere-Raws" "Detective Conan (1996) - 1198 - Cinderellas shoe [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       119     (Orig: s01e119    ) "SERIES_RX-2" "9 - The Boys VS The Silver Detectives 2 ADN - -Tsundere-Raws" "Detective Conan (1996) - 1199 - The Detective Boys VS The Silver Detectives 2 [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s05e       120     (Orig: s01e120    ) "SERIES_RX-2" "0 - The Porch Pirate Epidemic ADN - -Tsundere-Raws" "Detective Conan (1996) - 1200 - The Porch Pirate Epidemic [ADN VOSTFR WEBDL-1080p][8bit][x264][AAC 2.0][JA]-Tsundere-Raws.mkv"
"Meitantei Conan [tvdb3-72454]" s00e        67                         "SERIES_RX-1" "Episode One The Great Turned Small Bluray- -Delivroozzi" "Detective Conan (1996) - S00E67 - Episode One The Great Detective Turned Small [VOSTFR Bluray-1080p][FLAC 5.1][x264]-Delivroozzi.mkv"
"Meitantei Conan [tvdb3-72454]" s00e        80                         "SERIES_RX-1" "Meitantei vs. Kaito Kid ADN - 2.0 -Tsundere-Raws" "Detective Conan (1996) - S00E80 - Meitantei Conan vs. Kaito Kid [ADN VOSTFR WEBDL-1080p][AAC 2.0][x264]-Tsundere-Raws.mkv"

Likely due to this regex:

cic(ur'^(?P<show>.*?)[ _\.]-[ _\.](EP?)?(?P<ep>\d{1,3})(-(?P<ep2>\d{1,3}))?(V\d)?[ _\.]*?(?P<title>.*)$'), # 2 # Serie - xx - title.ext | ep01-ep02 | e01-02

That only matches 3 digits.

Steps to Reproduce

See above

Additional information

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions