Anime library isn't detected properly

Sonarr version (exact version): 2.0.0.5338
Mono version (if Sonarr is not running on Windows):
OS: Windows 10
Debug logs: NA just yet, can post later if required but it’s not about an error
Description of issue: Already collected files not being scanned

I have quite some anime in my library.
I rename this using filebot on a regular basis.
This so things like plex, emby and I thought sonarr would have an easier time matching episodes I have to their databases.

This works fine for plex/emby, however sonarr is having some trouble in connecting the dots and I have no clue why.
I have set the type of the shows to ANIME, yet many episodes don’t get picked up on after updating library.

For example One Piece I have all episodes and named them with absolute numbering and there is an episode name behind it (and then file info + release group). However this is the current sonarr indication of what I have from one piece:

There are a few more shows with the same issue, while others work just fine (it seems for now).
Also new episodes get downloaded and added to the correct folder so plex and emby pick them up, yet sonarr sometimes forgets about them and goes downloading again.

I need absolute numbering for emby to work properly.
All files however are in a season 1 folder, thought that may have been the problem but still doesn’t explain some shows working fine and others not so much.
Also I have season folders on off for all the anime shows in sonarr, and linked the shows straight to the season 1 folder.
Anyone who had problems like these and has been able to solve it?

Actually scratch that, it shows that I am missing like at least 10% of each show while almost all of them should be 100% (except for Hellsing, Kung Fu Panda shows).

Up to where Hellsing start they should all be complete, and from My Hero Academia onward they should also be complete, I really don’t get why it doesn’t recognize them even though they are in the same folder as the other items and use the same naming convention.

More specific example showing my file structure, the naming which is pretty much identical, and absolute numbering, yet black clover search on sonarr detects 100 files out of 104 for no apparent reason.

Sonarr downloaded the last 4 itself!

Your files are named in a way ambiguous to whether they are absolute episode numbers or 3 digit numbers that combine the season + episode numbers so any file labeled 101 or higher will have issues.

Sonarr v3 will improve this in some cases (and probably your case), but typically Sonarr will only match absolute episode numbers when the file name begins or ends with the release group in square brackets.

Ah okay, didn’t expect that.
But basically putting Horriblesubs between square brackets would fix it?
Would it have to be outside of the other brackets or wouldn’t that matter?

Also im on Sonarr 2.0.0 so I guess version 3 will still take some time to be released?

Outside.

It’s in beta, no ETA for replacing v2 at this time.

Okay thanks for the information. Might try renaming them in the meantime when I have some spare time.

Just did a few and works like a charm, picks them up right away =)
As for the beta, is it open or closed beta?

Might try the beta and see if it picks it up the way it is named already.
That way I don’t have to change all of them =D
Either way my problem is solve, so thanks for your help!

Edit:
Also it detects almost everything perfectly now but for a few rare exceptions.
For example below is a one piece episode with correct naming and the episode titles seem to match yet for some weird reason sonarr says “nah, let’s ignore this one” :frowning:

Oh the word power vs authority and exclamation mark at the end differences actually matter for picking up the episode of one piece. But with it being numbered 151 I don’t see why it wouldn’t pick it up while th naming is like 90% correct. Could it be the 100 in 100 million man is confusing sonarr?

Cause I have like another 100 episodes not being picked up from Naruto (the original anime, not shippuden). As for Avatar: The Last Airbender, out of 64 it doesn’t find even 1 episode (but I guess this might have to do with the issue that avatar is more often than not, not considered a true anime).

Long story short: It’s very confusing why sonarr isn’t picking up a lot of things and checking them off, preventing them from being downloaded again etc.

Edit: changed avatar to TVDB style since that suits the show better, yet the multi-episodes still don’t detect :frowning:

As for the beta, is it open or closed beta?

Might try the beta and see if it picks it up the way it is named already.
That way I don’t have to change all of them =D

Any info for me on this?
Tried renaming some of my library, quickly noticed that still only helps partially.
Therefor I am really looking forward to test the new sonarr and see how it handles the anime.

Open beta. Install information is on sonarr.tv.

1 Like

Thanks!

Installed it, imported my backup.
It looks and feels pretty nice and clean, though V2 wasn’t that bad either.
Guess it just looks fresher cause it’s new :slight_smile:
Downside is it hardly seems to give anime a better treatment :frowning:

For example My Hero Academia now randomly ignores a file that is named exactly identical to the sonarr title (even copied it to be sure).
Unfortunately there seems to be no way to manually link sonarr to that episode.

What do the debug logs show?

There are several ways to do that. If it’s in the series folder already use Manual File Import from the series details page, if not use Manual Import from Wanted: Missing.

Ah sorry debug log for My Hero Academia is already gone.
I do however have one for the show One Piece, which I tried to add/update just now.
Sonarr skips a few files once more (fortunately only 4 this time).
I think this bit of log info below is what you need?

19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E13
19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E14
19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E15
19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E16
19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E17
19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E18
19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E19
19-11-21 23:28:01.9|Debug|XemService|Setting scene numbering mappings for [81797][One Piece] S21E20
19-11-21 23:28:02.1|Debug|Api|[GET] /api/Episode?seriesId=0: 200.OK (0 ms)
19-11-21 23:28:02.3|Debug|XemService|XEM mapping updated for [81797][One Piece]
19-11-21 23:28:02.3|Info|DiskScanService|Scanning One Piece
19-11-21 23:28:02.3|Debug|DiskScanService|Scanning 'E:\Anime\One Piece\Season 1' for video files
19-11-21 23:28:02.3|Debug|DiskScanService|909 video files were found in E:\Anime\One Piece\Season 1
19-11-21 23:28:02.3|Debug|Api|[GET] /api/v3/health: 200.OK (0 ms)
19-11-21 23:28:02.3|Debug|DiskScanService|[81797][One Piece] Cleaning up media files in DB
19-11-21 23:28:02.5|Debug|ImportDecisionMaker|Analyzing 5/909 files.
19-11-21 23:28:02.5|Debug|Parser|Parsing string 'One Piece (1999) - 002 - Enter the Great Swordsman! Pirate Hunter Roronoa Zoro! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.5|Debug|Parser|Episode Parsed. One Piece (1999) - 002 
19-11-21 23:28:02.5|Debug|Parser|Language parsed: English
19-11-21 23:28:02.5|Debug|QualityParser|Trying to parse quality for One Piece (1999) - 002 - Enter the Great Swordsman! Pirate Hunter Roronoa Zoro! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv
19-11-21 23:28:02.5|Debug|Parser|Quality parsed: HDTV-1080p v1
19-11-21 23:28:02.5|Debug|Parser|Release Group parsed: 
19-11-21 23:28:02.5|Debug|ParsingService|Using absolute episode number 2 for: One Piece - TVDB: 1x02
19-11-21 23:28:02.5|Debug|AggregateLanguage|Using language: English
19-11-21 23:28:02.5|Debug|AggregateQuality|Using quality: HDTV-1080p v1
19-11-21 23:28:02.5|Debug|AbsoluteEpisodeNumberSpecification|File name format does not require absolute episode number, skipping check
19-11-21 23:28:02.5|Debug|EpisodeTitleSpecification|Episode titles are never required, skipping check
19-11-21 23:28:02.5|Debug|FreeSpaceSpecification|Skipping free space check for existing episode
19-11-21 23:28:02.5|Debug|NotSampleSpecification|Existing file, skipping sample check
19-11-21 23:28:02.5|Debug|NotUnpackingSpecification|E:\Anime\One Piece\Season 1\One Piece (1999) - 002 - Enter the Great Swordsman! Pirate Hunter Roronoa Zoro! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv is in series folder, skipping unpacking check
19-11-21 23:28:02.5|Debug|UnverifiedSceneNumberingSpecification|Skipping scene numbering check for existing episode
19-11-21 23:28:02.5|Debug|ImportDecisionMaker|File accepted
19-11-21 23:28:02.5|Debug|Parser|Parsing string 'One Piece (1999) - 060 - Through the Sky They Soar! The 1000 Year Legend Lives Again! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.5|Debug|Parser|Episode Parsed. One Piece (1999) - 060 - Through the Sky They Soar! The - S10E00 
19-11-21 23:28:02.5|Debug|Parser|Language parsed: English
19-11-21 23:28:02.6|Debug|QualityParser|Trying to parse quality for One Piece (1999) - 060 - Through the Sky They Soar! The 1000 Year Legend Lives Again! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv
19-11-21 23:28:02.6|Debug|Parser|Quality parsed: HDTV-1080p v1
19-11-21 23:28:02.6|Debug|Parser|Release Group parsed: 
19-11-21 23:28:02.6|Debug|ParsingService|Unable to find One Piece (1999) - 060 - Through the Sky They Soar! The - S10E00 HDTV-1080p v1
19-11-21 23:28:02.6|Debug|AggregateLanguage|Using language: English
19-11-21 23:28:02.6|Debug|AggregateQuality|Using quality: HDTV-1080p v1
19-11-21 23:28:02.6|Debug|ImportDecisionMaker|File rejected for the following reasons: [Permanent] Invalid season or episode
19-11-21 23:28:02.6|Debug|Parser|Parsing string 'One Piece (1999) - 151 - 100 Million Man! World`s Greatest Power and Pirate Black Beard! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.6|Debug|Parser|Unable to parse One Piece (1999) - 151 - 100 Million Man! World`s Greatest Power and Pirate Black Beard! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv
19-11-21 23:28:02.6|Debug|Parser|Attempting to parse episode info using directory and file names. Season 1
19-11-21 23:28:02.6|Debug|Parser|Parsing string 'Season 1 One Piece (1999) - 151 - 100 Million Man! World`s Greatest Power and Pirate Black Beard! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.6|Debug|Parser|Unable to parse Season 1 One Piece (1999) - 151 - 100 Million Man! World`s Greatest Power and Pirate Black Beard! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv
19-11-21 23:28:02.6|Debug|Parser|Attempting to parse episode info using directory name. Season 1
19-11-21 23:28:02.6|Debug|Parser|Parsing string 'Season 1.mkv'
19-11-21 23:28:02.6|Debug|Parser|Unable to parse Season 1.mkv
19-11-21 23:28:02.6|Debug|Api|[GET] /api/Episode?seriesId=0: 200.OK (0 ms)
19-11-21 23:28:02.6|Debug|ImportDecisionMaker|File rejected for the following reasons: [Permanent] Unable to parse file
19-11-21 23:28:02.6|Debug|Parser|Parsing string 'One Piece (1999) - 160 - 10% Survival Rate! Satori, the Mantra Master! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.7|Debug|Parser|Unable to parse One Piece (1999) - 160 - 10% Survival Rate! Satori, the Mantra Master! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv
19-11-21 23:28:02.7|Debug|Parser|Attempting to parse episode info using directory and file names. Season 1
19-11-21 23:28:02.7|Debug|Parser|Parsing string 'Season 1 One Piece (1999) - 160 - 10% Survival Rate! Satori, the Mantra Master! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.7|Debug|Parser|Unable to parse Season 1 One Piece (1999) - 160 - 10% Survival Rate! Satori, the Mantra Master! (1080p x264 8bit AAC 2.0 HorribleSubs).mkv
19-11-21 23:28:02.7|Debug|Parser|Attempting to parse episode info using directory name. Season 1
19-11-21 23:28:02.7|Debug|Parser|Parsing string 'Season 1.mkv'
19-11-21 23:28:02.7|Debug|Parser|Unable to parse Season 1.mkv
19-11-21 23:28:02.7|Debug|ImportDecisionMaker|File rejected for the following reasons: [Permanent] Unable to parse file
19-11-21 23:28:02.7|Debug|Parser|Parsing string 'One Piece (1999) - 807 - A Heartbreaking Duel! Luffy vs Sanji! - Part 1 (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.7|Debug|Parser|Episode Parsed. One Piece (1999) - 807 - A Heartbreaking Duel! Luffy vs Sanji - S01E01 
19-11-21 23:28:02.7|Debug|Parser|Language parsed: English
19-11-21 23:28:02.7|Debug|QualityParser|Trying to parse quality for One Piece (1999) - 807 - A Heartbreaking Duel! Luffy vs Sanji! - Part 1 (1080p x264 8bit AAC 2.0 HorribleSubs).mkv
19-11-21 23:28:02.7|Debug|Parser|Quality parsed: HDTV-1080p v1
19-11-21 23:28:02.7|Debug|Parser|Release Group parsed: 
19-11-21 23:28:02.7|Debug|AggregateLanguage|Using language: English
19-11-21 23:28:02.7|Debug|AggregateQuality|Using quality: HDTV-1080p v1
19-11-21 23:28:02.7|Debug|AbsoluteEpisodeNumberSpecification|File name format does not require absolute episode number, skipping check
19-11-21 23:28:02.7|Debug|EpisodeTitleSpecification|Episode titles are never required, skipping check
19-11-21 23:28:02.7|Debug|FreeSpaceSpecification|Skipping free space check for existing episode
19-11-21 23:28:02.7|Debug|NotSampleSpecification|Existing file, skipping sample check

Ah found it now, thanks, thought it didn’t work cause it automatically filtered for unlisted files, but that gave the wrong files. This makes me think it has linked some other files to the incorrect episodes but I have to look into that a little more.

Edit: Just looked at bleach, I think it numbers everything correctly, though it uses season & episode while I use absolute numbering. Though if it notices everything that’s no problem. However for a couple of shows like one piece, Naruto and in this case bleach it misses a few episodes (for the original naruto a whole bunch). For bleach it missed 3 episodes, but numbered the others correctly it seems (looks like it took them in order at least). The 3 episodes were blank.

As I couldn’t give them absolute number, I checked with the other files to see what season and episode it should be. After adjusting though, it still keeps the import button “grayed” out :frowning:

The files are named in a way that Sonarr doesn’t parse them as anime (they’re too ambiguous to be sure).

19-11-21 23:28:02.7|Debug|Parser|Parsing string 'One Piece (1999) - 807 - A Heartbreaking Duel! Luffy vs Sanji! - Part 1 (1080p x264 8bit AAC 2.0 HorribleSubs).mkv'
19-11-21 23:28:02.7|Debug|Parser|Episode Parsed. One Piece (1999) - 807 - A Heartbreaking Duel! Luffy vs Sanji - S01E01 

It’s using the S01E01 as the season + episode number, ignoring everything else.

Everything converts back to a season + episode, so that’s what needs to be selected.

The row was checked and everything was selected (series, season, episode, quality and language)?

So it sees part of the title as the season/episode number due to the dash? That’s unfortunate, but then i’ll simply remove the dashes if I see them pop up in titles. I’ll try it in a minute and see if that fixes things.

Edit: okay it’s not the dashes, apparently something else in the title confuses it to link to the wrong season/episode :frowning:
Edit2: It’s the numbers in the episode title name (part 1, part 2, 100 million, anything like that). Apparently instead of taking the first number it takes the other one in the title? :face_with_raised_eyebrow:

Yes, and the funny thing is it only happened for that show (Bleach I believe). Tried doing the manual thing with 2 others in the meantime and was able to import those “missing” files just fine.

Edit: tried again and it worked (this time by only showing unmapped items), so I guess I must have missed something in the big list :slight_smile: my mistake

Is there any way around this naming issue? Many episodes have a part 2, 3, 4 etc. So this issue would occur on a regular basis.

The only way to deal with that is to have better file names. Absolute episode numbers are often ambiguous with other numbers, the best way to deal with that is to use a standard anime release name (release group at the beginning or end in square brackets).

The alternative is to use standard episode numbers (S01E01) instead of or in addition to the absolute episode numbers to take away the ambiguity.

Ok thanks, I’ll work it out somehow :smiley:

Got another question, sonarr isn’t grabbing some anime episodes. When I take a look or do a manual search it says no results returned because absolute number is missing.

Am I guessing correctly that this is one of the many TVDB issues currently turning up?

Usually it picks up every anime and all of them are released by absolute number. As far as I know TVDB are the only once creating seasons for them…

Probably, but it could also be that absolute episode numbers just haven’t been set on TheTVDB and someone needs to do that.