Closed GaviDroselj closed 3 years ago
Probably something to do with their labeling of episodes "01~10"
Definitely does, being special snowflakes using that instead of a dash like every other release group.
I am on 3.0.6.1196 and its still not parsing it properly for me sonarr.trace.txt
it looks like its parsing the ep range of 01-11 correctly (the whole season)... why do you think its not parsing it correctly ?
It doesn't parse it correctly when using ~ (01 ~ 11). Thats what the fix was for.
https://github.com/Sonarr/Sonarr/commit/240791a7cdbdfc73d3829939eaaff9860cfa5b55
right, originally it didnt parse it as 01-11 and now it does.. again if you dont think its correct please state what you think it should be doing
Oh. You aren't seeing the difference 😅
The images where it doesn't parse it correctly is using tilde "~" (01 ~ 11) and thats what https://github.com/Sonarr/Sonarr/commit/240791a7cdbdfc73d3829939eaaff9860cfa5b55 was supposed to fix.
The image where it parses correctly is where i manually replaced tilde with a dash so (01 "- " 11)
testing regex i see it does match:
can you post updated logs (set to trace level)
So i did some regex test and figured out why it wasnt macthing for me. There are 2 problems
I did try tweaking the regex myself and came up with this:
^\[(?<subgroup>.+?)\][-_. ]?(?<title>.+?[^-]+?)(?:(?<![-_. ]|\b[0]\d+) - )[-_. ]?(?<absoluteepisode>\d{2,3}(\.\d{1,2})?(?!\d+))\s?~\s?(?<absoluteepisode>\d{2,3}(\.\d{1,2})?(?!\d+))(?:[-_. ]+(?<special>special|ova|ovd))?.*?(?<hash>\[\w{8}\])?(?:$|\.mkv)
but i wouldnt trust my skills 😅
Describe the bug Every Erai-Raws Batch gets detected as only the first episode of the series. (here: KONOSUBA S1 batch gets detected as only S1E1) Probably something to do with their labeling of episodes "01~10"
To Reproduce
Expected behavior Sonarr detects and imports the entire season batch
Screenshots
Platform Information (please complete the following information):
Trace Logs Turn on Trace logs under Settings -> General and wait for the bug to occur again.