Page 1 of 1

[FileBot Node] Matching of abigous filenames (Log says Multiple Options)

Posted: 15 Nov 2022, 09:32
by n0cturne
Hello,

i have a problem with automatic renaming of files which could match different series.
In my case filebot doesn't rename the walking dead files because of the different the walking dead series.
Is there a possibility, that filebot checks which series are present (i.e. in media folders or in plex) to decide which series new media files could match.
I only have the original series the walking dead media files in my media folder/plex media server.

Re: Matching of abigous filenames

Posted: 15 Nov 2022, 10:40
by rednoah
:?: GUI? Screenshots?

:?: CLI? Command and console output?


:idea: Please read How to Request Help for details:
rednoah wrote: 31 Jul 2014, 16:40
  • Include Screenshots (absolutely required for new topics)
  • Include file paths as text when reporting mismatches (press F7 to copy debug information)


EDIT:

:arrow: Assuming that you're using filebot -rename calls or amc script calls, the --filter option is quite possibly what you're looking for, though I don't think there's copy & paste examples for your specific use case at this point.

Re: Matching of abigous filenames

Posted: 15 Nov 2022, 13:13
by n0cturne
Sorry, I'm using filebot-node as docker container.
filebot -script 'fn:amc' /input --output /output --action move --order Airdate --conflict auto --lang de --def 'unsorted=y' 'excludeLink=y' 'artwork=y' 'clean=y' 'skipExtract=y' 'plex=192.168.42.20:plextoken' 'seriesFormat=Series/{n}/S{s00}/{n} - {s00e00} - {t}' 'movieFormat=Movies/{n} ({y}, {director})' --apply refresh --log all --log-file '/data/node/filebot.log'

------------------------------------------

Run script [fn:amc] at [Tue Nov 15 14:04:35 CET 2022]
Parameter: unsorted = y
Parameter: excludeLink = y
Parameter: artwork = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: plex = *****
Parameter: seriesFormat = Series/{n}/S{s00}/{n} - {s00e00} - {t}
Parameter: movieFormat = Movies/{n} ({y}, {director})
Argument[0]: /input
Ignore hidden: /input/.@__thumb
Input: /input/The Walking Dead - S11E23 - Family.mkv
Group: {Series=the walking dead} => [The Walking Dead - S11E23 - Family.mkv]
Rename episodes using [TheTVDB] with [Airdate]
Lookup via [The Walking Dead]
Fetching episode data for [The Walking Dead]
└─ 235 episodes
Fetching episode data for [Talking Dead]
└─ 296 episodes
Fetching episode data for [Fear the Walking Dead]
└─ 145 episodes
Fetching episode data for [Tales of The Walking Dead]
└─ 6 episodes
Fetching episode data for [The Walking Dead: Dead City]
└─ 1 episodes
Multiple Options: /input/The Walking Dead - S11E23 - Family.mkv: [The Walking Dead, Talking Dead, Fear the Walking Dead, Tales of The Walking Dead, The Walking Dead: Dead City]
* Consider using -non-strict to enable advanced auto-selection
* Consider using --filter "id in [153021]" or --q "The Walking Dead" to select one specific series
Failed to identify or process any files
Processing 1 unsorted files
[MOVE] from [/input/The Walking Dead - S11E23 - Family.mkv] to [/output/Unsorted/The Walking Dead - S11E23 - Family.mkv]
Processed 1 file
Notify Plex [192.168.42.20]
GET: http://192.168.42.20:32400/library/sect ... =plextoken
Clean clutter files and empty folders
Keep /input (root folder)
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------

[Process completed]

Re: Matching of abigous filenames

Posted: 15 Nov 2022, 15:43
by rednoah
The log seems to suggest multiple possible solutions:
n0cturne wrote: 15 Nov 2022, 13:13

Code: Select all

Multiple Options: /input/The Walking Dead - S11E23 - Family.mkv: [The Walking Dead, Talking Dead, Fear the Walking Dead, Tales of The Walking Dead, The Walking Dead: Dead City]
* Consider using -non-strict to enable advanced auto-selection
* Consider using --filter "id in [153021]" or --q "The Walking Dead" to select one specific series

Option A:
You can use the -non-strict option:

Code: Select all

-non-strict

Option B:
You can use the --filter option:

Code: Select all

--filter "id in [153021]"

Option C:
You can use the --q option:

Code: Select all

--q "The Walking Dead"

:idea: The FileBot Node WebUI has checkbox inputs and text inputs that map 1:1 to the suggested command-line options. I think it's Strict Mode and Match Filter and Query Expression in FileBot Node speech.