Not detecting seasons and episodes correctly

Sonarr version (exact version): 2.0.0.4146
OS: Windows 10 x64
Description of issue:

I got episodes of some anime and placed them into appropriate folders (e.g: X:\Anime\Noragami\Season 1 and X:\Anime\Noragami\Season 2). Sonarr doesn’t seem to be able to match them up to the episodes correctly. Using Anime series type

If I just have the Season 1 folder in there everything works fine. But if I put the Season 2 folder in there with all the Season 2 episodes and I hit refresh on the show all the Season 1 episodes are now pointing to the Season 2 folder instead and not matching up the files to the episodes correctly.

I tried deleting the show and readding it.
I’ve tried reinstalling Sonarr - I was on the develop branch before, but have reinstalled to a master branch.

This never used to happen before but somehow all of a sudden things aren’t working. Seems to only be happening to Anime. TV shows look to be working fine

Sounds like season 1 and 2 are using the same absolute episode numbers, which will not work for files in the series folder (sorted), season two files need to include the correct season + episode numbers or the absolute episode number that continues from the episodes in season one (the Sonarr UI will show that).

I’ve already tried renaming the episodes to use the S01E01 format but that still doesn’t work. Is this what you meant?

We’ll need to see debug log of the series refresh (one of the many reasons we ask for debug logs when you open the thread).

Hey markus,

I wasn’t sure exactly which logs you needed, so here’s pretty much everything I can see:

I hit the clear logs button in the Table tab just before taking these

‘Table’ logs: http://i.imgur.com/BH3Nm1S.png
sonarr.txt: http://hastebin.com/epobibikom.tex
sonarr.debug: http://hastebin.com/qolezaliqi.tex
updates log: http://hastebin.com/vutewovime.tex

sonarr.trace appears to have the exact same content as sonarr.debug

I think sonarr.txt is probably what you’re looking for? The refresh entry is at line 1233 or 16-7-4 11:00:47.6 but it doesn’t seem to have anything that useful as far as I can see

Thanks, It’d be sonarr.debug.txt but you need to enable debug logging first, currently its only showing a couple startup messages not the details of the refresh.

Here it is with debug logs enabled (my bad!)

http://hastebin.com/ilinaviniz.tex

Thanks heaps for your time

Also, not sure if this helps, but this is the result currently:

See how Season 1 is being matched up to Season 2 files instead? And Season 1 files are just completely ignored

Yeah, the name is the issue (as explained before), the episodes in season 2 need to be named to include season two otherwise Sonarr can’t tell the difference from the files in season 1, likely what will happen now is the files will bounce back and forth between the files in season 1 and season 2 on each refresh. The series title is not used when matching files within the series folder so that won’t help identify which season it belongs to.

Ok, right, so how do you propose I should name the files?

[FanSubGroup] AnimeName Season 1 - 01 [1080p].mkv
[FanSubGroup] AnimeName Season 2 - 02 [1080p].mkv

Like that?

I’ve tried renaming a few episodes to [FanSubGroup] AnimeName S01E01 [1080p].mkv but it made no difference

edit: ahh, ‘Absolute name’ is 1x01 format. Will try that

I’ve renamed them to use the absolute name format (1x01, 2x01, etc) and it’s working now!

THANK YOU so much, this was driving me crazy all night!

Out of curiosity though why is this not a problem for any of my TV shows?

For example my Dark Matter folder uses this format:

TV/Dark Matter/-
/Season 1/Dark.Matter.S01E01.720p.x264-Whatever.mkv
/Season 2/Dark.Matter.S02E01.720p.x265-Whatever.mkv

And it all seems to work fine for that. I’ve tried the S01E01 format for Noragami as well but that didn’t work.

Why does it work for some shows but not for others? Is it just a tvdb or xem thing?

The issue was purely absolute, 1x01 and S01E01 are the same to Sonarr the if you didn’t rename season 2 as well as season one when you tested it it wouldn’t have changed anything because files in both seasons would still be counted as being in season 1.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.