Code: Select all
filebot -script fn:amc "/home/linux/mnt/Film.Pool/Test/" --def "movieFormat=/home/linux/mnt/Film.Pool/{n =~ /^(?i)[a-z]/ ? n[0] : '#'}/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /\$2, \$1/)} ({y}){' '+[vf]}/{n.upperInitial().replaceFirst(/^(?i)(The|A|An)\s(.+)/, /\$2, \$1/)}} {' '+[vf]}{'.'+[vc]}{'.'+[ac]}{'.'+[af]}{'.'+[source]}{'.'+[group]}..."
For example
The Dead Pool => Dead Pool, The => filed under the "T" folder instead of the "D" folder.
Is there a way to get Filebot to use the changed name instead of the original name to sort?