Page 1 of 1

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

Posted: 20 Nov 2011, 12:01
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

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

Posted: 20 Nov 2011, 12:19
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).

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

Posted: 20 Nov 2011, 12:29
by seven
Thanks a lot!
With -non-strict it works.