I have a working AMC script which is moving 4k Movies, Movies and TV Shows as I would like. I also have it set to move UFC events to their own directory. However my UFC renames are not working correctly as the amc script is matching as tv and movies.
Current script:
Code: Select all
filebot -script fn:amc --output "Z:/Shared Videos/Video" --action duplicate -non-strict "Z:/Shared Videos/Torrent/2_Completed" --log-file amc.log --def excludeList=amc.txt --action test --def movieFormat="{fn =~ /2160p|UHD|4K/ ? '4K Movies' : fn =~ /UFC/ ? 'UFC' : 'Movies'}/{plex.tail}"
Code: Select all
filebot -script fn:amc --output "Z:/Shared Videos/Video" --action duplicate -non-strict "Z:/Shared Videos/Torrent/2_Completed" --log-file amc.log --def excludeList=amc.txt --action test --def movieFormat="{fn =~ /2160p|UHD|4K/ ? '4K Movies' : fn =~ /UFC/ ? 'UFC' : 'Movies'}/{plex.tail}" --def forceMovie(f) {label =~ /^(?i:UFC)/ }
Log is attached for first call of script
https://pastebin.com/7jVcU7vi
How can i force moviedb mode for just UFC events and let everything else be dynamic?
I don't want to force movie mode for the whole script as I want one script that will work for all formats within utorrent.
Thanks,
Peter