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:
/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?
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.
/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
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?" :->
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.
"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