2-Stage approach matching badly named Anime episodes to TheTVDB
Posted: 16 Jan 2020, 20:15
e.g. How do we deal with this file?
AniDB style naming & numbering. AniDB does not have season. Each season is a distinct series. In this case, a series called Shokugeki no Soma S2, Episode 1.
But wait! The series is supposed to be Shokugeki no Souma: Ni no Sara and not Shokugeki no Soma S2, so AniDB lookup doesn't work anyway.
Shokugeki no Soma is good enough though, for TheTVDB anyway, which only has one series entry with many seasons. It's Episode 1 alright, so we just need to use the --filter option to pass FileBot a hint that we want to match Season 2 episodes only:
Let's use the amc script and try this:
Code: Select all
[HorribleSubs] Shokugeki no Soma S2 - 01 [1080p].mp4



Code: Select all
--filter "s == 2"

Code: Select all
$ filebot -script fn:amc /path/to/input --output /path/to/output -non-strict --filter "s == 2" --def ut_label=Series --def minFileSize=0 --action TEST --log INFO
[TEST] from [/path/to/input/[HorribleSubs] Shokugeki no Soma S2 - 01 [1080p].mp4] to [/path/to/output/TV Shows/Food Wars! Shokugeki no Soma/Season 02/Food Wars! Shokugeki no Soma - S02E01 - What Fills the Box.mp4]