"java.lang.Exception: Failed to auto-detect series name"

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
seven
Posts: 2
Joined: 20 Nov 2011, 11:02

"java.lang.Exception: Failed to auto-detect series name"

Post by seven »

Hi,

first of all, thanks for the great work!

I´m using filebot in a python script/CLI and get the following output when I try to rename multiple files which belong not to the same series:

Code: Select all

Rename episodes using [TheTVDB]
java.lang.Exception: Failed to auto-detect series name: [Modern Family, The Big Bang Theory, The Walking Dead, Chuck]
Failure (°_°)
[Exit code is 255]

Calling command is:

Code: Select all

filebot -rename /media/DATA/filme/_/ --db thetvdb --format "/media/DATA/filme/_serien/{n}/Season {s.pad(2)}/S{s.pad(2)}E{e.pad(2)} - {t}"
If the folder contains multiple files from the same series it works just fine.
I guess I have Version 2.2 (jar has 12449154 Bytes).

Any hint what i´m doing wrong?

Thanks and have a nice day
Sebastian
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "java.lang.Exception: Failed to auto-detect series name"

Post by rednoah »

CLI is much more strict by default than the GUI since there is nobody to double check matches; be sure or fail. This mode only allows 1 show per 1 folder.

However, you can enable -non-strict switch to activate all the extra matching logic, and also enable matching/renaming of multiple shows at once. But be careful, false matches could happen in this mode (but don't worry too much, there's always filebot's internal history to revert renames).
:idea: Please read the FAQ and How to Request Help.
seven
Posts: 2
Joined: 20 Nov 2011, 11:02

Re: "java.lang.Exception: Failed to auto-detect series name"

Post by seven »

Thanks a lot!
With -non-strict it works.
Post Reply