To explain - I edited the Amc.groovy script to modify the naming scheme - took me forever but I figured it out. But now I realized it's better to use the --def command in the command line in order to rename so I can use the AMC script and keep up to date.
I'm trying to move my script modifications to the command line but having a hard time.. Can someone pls spend a minute and help me out? Here's the line from my script line:
Code: Select all
mov: tryQuietly{ movieFormat } ?: '''Movies/{n.replaceFirst(/^(?i)(The)\\s(.+)/, /$2, $1/)} ({y}){fn =~ /3D/ ? ' [3D]' : ''}/{n.replaceFirst(/^(?i)(The)\\s(.+)/, /$2, $1/)} ({y}){fn =~ /3D/ ? ' [3D]' : ''}{" CD$pi"}{".$lang"}''',
I'd like to add it to the end of my command line:
Code: Select all
C:\invoke.vbs filebot.exe -script fn:amc --output "J:/" --action hardlink --conflict override -non-strict --def music=n artwork=n "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S" "seriesFormat=TV/{n}/Season{s.pad(2)}/{n}.{s00e00}.{t}" "movieFormat=Movies/{n.replaceFirst(/^(?i)(The)\\s(.+)/, /$2, $1/)} ({y}){fn =~ /3D/ ? ' [3D]' : ''}/{n.replaceFirst(/^(?i)(The)\\s(.+)/, /$2, $1/)} ({y}){fn =~ /3D/ ? ' [3D]' : ''}{\" CD$pi\"}"
also - I used to be able to output to a log using >> amc.log - no longer working...?