1.
UKenGB wrote:I don't need to worry about filtering.
Depends on what you're doing. If it's all offline
(i.e. --db xattr) then you can do whatever you want. But if you use TheTVDB / TheMovieDB or any of the other online sources then hitting them with the same requests over and over and over will get you banned.
2.
Assignment expressions yield the assignment value of course. Variables are limited to the expression/scope they're defined in.
e.g. the first expression yields 1 and the second throws an exception because x is undefined in that expression/scope:
If you want to use variables, then they all need to be used in the same scope:
3.
--db ID3 is
Music Mode but instead of search online it'll just create Music objects based on the available MediaInfo and ignore files where MediaInfo doesn't yield enough information. There is no "ID3" equivalent for
Movie Mode and
Episode Mode.
4.
--db xattr matches files with known metadata (e.g. Episode, Movie, etc) previously stored by FileBot as xattr metadata. Files without xattr metadata will be ignored, unless
-non-strict in which case each file is matched to itself.
So
Plain File mode is equivalent to
--db xattr -non-strict IF AND ONLY IF none of the files are xattr tagged. Bindings like {n} have a different meaning depending on what kind of object (Episode/Movie/File) is being formatted, while bindings like {fn} or {media} are the same regardless of info object because they're based on the file.
Viewing the xattr metadata may help you understand what's going on:
viewtopic.php?f=4&t=5#p5394