Here is a better look at the part it is having a problem with:
Code: Select all
{(n =~ /^[Tt]he / ? n[4..-1]+', The' : n =~ /^[Aa] / ? n[2..-1]+', A' : n).replace(':',' -').upperInitial().lowerTrail()}
So, now that I skipped ahead and tried to get all my code set up and customized now I am trying to go in baby steps fixing the errors one at a time until it actually runs. Although I am glad I am at least getting errors now, because at least I am somewhat on the right track. Of course, while I'm trying to get these kinks worked out, I'm also thinking ahead a little bit to changes. I'm wondering, wouldn't be easier maybe since my uTorrent label is already getting passed to the script that if the label starts with "TV" then use "Episode mode" and if the label starts with "Movies" or "Couch Potato" use "Movie mode"
Also, I think my version of uTorrent 2.2.1, which I remember downgrading to on purpose, but I don't remember why, doesn't use "-Xut_kind=%K", because the logger never shows a value in it. Is that an important piece of this script? The single or multi.
[2012-05-10 07:43:54]  Executing: C:\Program Files\FileBot\filebot -script "C:\Program Files\FileBot\my-utorrent-postprocess.groovy" --output "C:\Users\Scott\Downloads\Done\Video Staging" --action move --conflict skip -non-strict -trust-script -Xxbmc=Apple-TV "-Xut_dir=C:\Users\Scott\Downloads\Done\TV\Wednesday\Modern Family" "-Xut_file=Modern.Family.S03E21.HDTV.x264-LOL.mp4" "-Xut_label=TV\Wednesday\Modern Family" "-Xut_state=10" "-Xut_kind=%K"
I'm also wondering if -Xxbmc=Apple-TV is going to be able to find my xbmc or if I should be putting in the local IP address instead. There is also a username set up with no password, so I don't know if those values need to be added to the script to make that part work. So far the script hasn't been able to get far enough past my errors to find out.