Page 1 of 1

Failed to identify or process any files (in Strict Mode)

Posted: 21 Apr 2021, 09:20
by marciton
I have a filebot command embed in a script since months now, working perfectly ... except for a new show... and I don't know how to troubleshoot the issue:

Code: Select all

/volume2/Downloads/_series/Astrid et Raphaëlle$  /usr/local/bin/filebot -rename --format @/var/services/homes/bob/format.txt --lang fr --db TheTVDB --q @title.txt --filter s==02 *.mkv
* Consider using --apply refresh to refresh file services and media library
Rename episodes using [TheTVDB] with [Airdate]
Lookup via ['Astrid et Raphaëlle']
Fetching episode data for [Astrid et Raphaëlle]
Apply filter [s==02] on [17] options
Include [Astrid et Raphaëlle - 2x01 - L'étourneau]
Include [Astrid et Raphaëlle - 2x02 - Irezumi]
Include [Astrid et Raphaëlle - 2x03 - Le paradoxe de Fermi]
Include [Astrid et Raphaëlle - 2x04 - Point d'orgue]
Include [Astrid et Raphaëlle - 2x05 - Circé]
Include [Astrid et Raphaëlle - 2x06 - Golem]
Include [Astrid et Raphaëlle - 2x07 - Le livre]
Include [Astrid et Raphaëlle - 2x08 - En garde à vue]
[8] options remaining
Failed to identify or process any files
Failure (×_×)⌒☆


of course I suspect the ë to cause the issue ... but not sure where... any idea?

Re: Failed to identify or process any files

Posted: 21 Apr 2021, 09:32
by rednoah
Have you tried with -non-strict yet?


:idea: Without input file paths, I can't say much. But my guess would be that none of the file names strictly match any of the Season 2 episode objects, e.g. if files are named Astrid et Raphaelle instead of Astrid et Raphaëlle since Strict Mode will indeed require an exact series name match in the file path.

Re: Failed to identify or process any files (in Strict Mode)

Posted: 21 Apr 2021, 14:54
by marciton
Ok -non-strict is working but not sure why strict mode was not working the initial name seems ok :

Code: Select all

/usr/local/bin/filebot -rename -non-strict --format @/var/services/homes/bob/format.txt --lang fr --db TheTVDB --q @title.txt --filter s==02 *.mkv
* Consider using --apply refresh to refresh file services and media library
Rename episodes using [TheTVDB] with [Airdate]
Lookup via ['Astrid et Raphaëlle']
Fetching episode data for [Astrid et Raphaëlle]
Apply filter [s==02] on [17] options
Include [Astrid et Raphaëlle - 2x01 - L'étourneau]
Include [Astrid et Raphaëlle - 2x02 - Irezumi]
Include [Astrid et Raphaëlle - 2x03 - Le paradoxe de Fermi]
Include [Astrid et Raphaëlle - 2x04 - Point d'orgue]
Include [Astrid et Raphaëlle - 2x05 - Circé]
Include [Astrid et Raphaëlle - 2x06 - Golem]
Include [Astrid et Raphaëlle - 2x07 - Le livre]
Include [Astrid et Raphaëlle - 2x08 - En garde à vue]
[8] options remaining
[MOVE] from [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle S02 - 01 - L'étourneau _H264.1080p.AAC_Manneken-Pis.mkv] to [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle - S02E01 - L'étourneau.mkv]
[MOVE] from [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle S02 - 02 - Irezumi _H264.1080p.AAC_Manneken-Pis.mkv] to [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle - S02E02 - Irezumi.mkv]
[MOVE] from [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle S02 - 03 - Le paradoxe de fermi _H264.1080p.AAC_Manneken-Pis.mkv] to [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle - S02E03 - Le paradoxe de Fermi.mkv]
[MOVE] from [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle S02 - 04 - Point d'orgue _H264.1080p.AAC_Manneken-Pis.mkv] to [/volume2/Downloads/_series/Astrid et Raphaëlle/Astrid et Raphaëlle - S02E04 - Point d'orgue.mkv]
Processed 4 files

Re: Failed to identify or process any files (in Strict Mode)

Posted: 22 Apr 2021, 03:05
by rednoah
marciton wrote: 21 Apr 2021, 14:54 why strict mode was not working the initial name seems ok
IDK. My first guess would be the unusual S02 - 01 number pattern.

Re: Failed to identify or process any files (in Strict Mode)

Posted: 22 Apr 2021, 08:44
by marciton
ok, I will update my script to have the non-strict option there ... I guess I would love an option to use non-strict only if "strict" is not working & maybe the message "Failed to identify or process any files" could be "Failed to identify or process any files, Have you tried with -non-strict?" :->

Thanks for the help

Re: Failed to identify or process any files (in Strict Mode)

Posted: 22 Apr 2021, 09:52
by rednoah
We'll see if we can add in additional built-in help messages for this particular corner case.


As for running different commands, you can always write a script that calls -rename first and then checks the exit code or output, and then follow things up with other commands depending on the situation.

Re: Failed to identify or process any files (in Strict Mode)

Posted: 23 Apr 2021, 09:18
by marciton
"you can always write a script that calls -rename first and then checks the exit code or output, and then follow things up with other commands depending on the situation."
--> I did that and it's working ... Thanks