2-Stage approach matching badly named Anime episodes to TheTVDB

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

2-Stage approach matching badly named Anime episodes to TheTVDB

Post by rednoah »

e.g. How do we deal with this file?

Code: Select all

[HorribleSubs] Shokugeki no Soma S2 - 01 [1080p].mp4
:idea: 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.



:idea: 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:

Code: Select all

--filter "s == 2"

:arrow: Let's use the amc script and try this:

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]
:idea: Please read the FAQ and How to Request Help.
Post Reply