Page 1 of 1

AMC: Not adding season to folder structure for Anime

Posted: 21 Aug 2016, 19:24
by whorn76
Hello,

I'm having an issue where AMC doesn't appear to be adding the Season number to the folder structure. I believe I have the formatting right, and it adds the season to the episode name just fine. Can someone maybe explain what's going on?

Here is the output from the log. You can see that the episode is getting renamed to 4x09 just fine, but that 4 isn't being put in the final folder name like its supposed to according to the animeFormat string.

Code: Select all

Locking /volume1/media/logs/filebot/filebot-anime.log
Run script [fn:amc] at [Sun Aug 21 12:18:56 GMT-07:00 2016]
Parameter: music = N
Parameter: artwork = n
Parameter: plex = 192.168.1.105:ZZZZ
Parameter: deleteAfterExtract = y
Parameter: clean = y
Parameter: excludeList = amc.txt
Parameter: seriesFormat = /volume1/media/tv/{n}/{'S'+s}/{n} - {s00e00}
Parameter: animeFormat = /volume1/media/tv/{n}/{'S'+s}/{n} - {sxe} - {t}
Parameter: movieFormat = /volume1/media/movies/{n} ({y})/{n} ({y})
Argument: /volume1/media/incoming/anime
Creating excludes: /volume1/media/amc.txt
Input: /volume1/media/incoming/anime/Dragon Ball Super - 55.mkv
xattr: [Dragon Ball Super - 55.mkv] => [Dragon Ball Super - 55 - Episode 55]
Group: [anime:dragon ball super] => [Dragon Ball Super - 55.mkv]
Rename episodes using [AniDB]
Auto-detected query: [Dragon Ball Super]
Fetching episode data for [Dragon Ball Super]
Fetching episode data for [Dragon Ball Z (1989)]
Fetching episode data for [Dragon Ball Z]
Fetching episode data for [Dragon Ball]
Fetching episode data for [Dragon Ball GT]
[MOVE] Rename [/volume1/media/incoming/anime/Dragon Ball Super - 55.mkv] to [/volume1/media/tv/Dragon Ball Super/Dragon Ball Super - 4x09 - Episode 55.mkv]
Processed 1 files
Notify Plex: 192.168.1.105
GET: http://192.168.1.105:32400/library/sections/all/refresh?X-Plex-Token=ZZZZ
Clean clutter files and empty folders


Thanks for any help!

Re: AMC: Not adding season to folder structure

Posted: 22 Aug 2016, 00:54
by rednoah
Anime don't have seasons.

Re: AMC: Not adding season to folder structure

Posted: 22 Aug 2016, 23:52
by whorn76
Weird. It knows enough to put the seasons in the filename though, so I figured it would do folders too.

Thanks!

Re: AMC: Not adding season to folder structure

Posted: 23 Aug 2016, 01:41
by rednoah
If you use {sxe} and {s00e00} for AniDB episodes, FileBot will check TheTVDB and try to figure out the matching SxE numbers from the TheTVDB absolute episode data.

It might work for some shows like One Piece, but it definitely won't work for other shows like Crest of the Stars.

If you want to reliably convert AniDB episode data to TheTVDB episode data then this is absolutely NOT the way to go. If you just deal with the occasional One Piece episode you'll probably be fine though.