This is a FileBot format:
Code: Select all
Z:/Videos/{genres =~ /Anime|Animated|Cartoon|Animation/ ? 'Animated' :genres =~ /Documentary/ ? 'Documentaries' : 'Films'}/{ny}/{ny}
This is a command:
Here's an example for calling the filebot amc script:
Code: Select all
filebot -script fn:amc --output "/path/to/output" --action copy -non-strict "/path/to/input" --log-file amc.log --def excludeList=amc.txt
Here's an example for calling the filebot amc script with your custom format:
Code: Select all
filebot -script fn:amc --output "/path/to/output" --action copy -non-strict "/path/to/input" --log-file amc.log --def excludeList=amc.txt --movieFormat="Z:/Videos/{genres =~ /Anime|Animated|Cartoon|Animation/ ? 'Animated' :genres =~ /Documentary/ ? 'Documentaries' : 'Films'}/{ny}/{ny}"
I'm not sure if this series of examples / explanations make things any more or less clear for you. You will need to have a basic understanding of how to use the command-line and how to use the filebot command on the command-line.
Unfortunately, if you are not familiar with the basics of command-line scripting, then creating a post-processing script for OMV will be impossible for you.
The OMV / CP developers might be very helpful, as they understand how OMV / CP post-processing scripts would be called, and most likely can tell you how to correctly call filebot with that.