I run a scheduled script that invokes FileBot and the AMC script to process new downloads and since I don't always get perfect matches (especially for TV shows) I'm thinking of making use of the --q option to specify a movie or series ID if that information is present in the folder that is being processed (the idea being that I will try to add the ID to the folder name when possible). However, I have a few questions.
then things would work correctly even with multiple movie folders ... correct?
What I can't figure out though is what if one of the movies doesn't contain an ID, is there some way to fall back to whatever the original query would have been and not override it for that movie?
Thanks,
Harry
Last edited by HarryMuscle on 02 Feb 2022, 04:15, edited 2 times in total.
Interesting solution. Curious though, what would be the default query used by FileBot when the --q option isn't specified? Is it just the folder name? Or is there a whole bunch of logic involved to create the default query?
If you don't specify --q then the underlying code is completely different. There is indeed a whole bunch of logic involved to conjure up and select the query candidates, so there's no simple answer there.
EDIT:
On second thought... What happens to files where match() fails to yield a result? Presumably, those files just get ignored, because if so, then --file-filter idea is redundant.