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

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
marciton
Posts: 22
Joined: 11 Mar 2020, 23:39

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

Post 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?
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Failed to identify or process any files

Post 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.
:idea: Please read the FAQ and How to Request Help.
marciton
Posts: 22
Joined: 11 Mar 2020, 23:39

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

Post 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
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
marciton
Posts: 22
Joined: 11 Mar 2020, 23:39

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

Post 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
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
marciton
Posts: 22
Joined: 11 Mar 2020, 23:39

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

Post 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
Post Reply