I would like to modify the subject when the script sends an email saying its done. I would like to add something to the nature of "at the lake" or "at home" is this possible? the reason is I run this from 3 locations and need to know which location has downloaded and extracted the video files. Im using utorrent and filebot. everything works great just want that
Im using the below script.
"C:\Program Files\FileBot\filebot.exe" -script fn:amc --output c:\videos\ --log-file c:\videos\torrents\amc.log -non-strict --action move --def ignore=XXX --def gmail=Exxxxx:"xxxx" --def mailto=xxxx--conflict override --def clean=y --def music=y artwork=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
modify subject for email
Re: modify subject for email
I don't see any commandline stuff, but you could run a local copy of AMC from each location and edit the local copy.
Either change the subject like so:
From
To:
or you could put it in the body like so:
Find:
On New line after, ADD:
-script C:\scripts\amc.groovy instead of -script fn:amc
Get the script from: http://filebot.net/scripts/amc.groovy
Click the RAW button, then copy and paste that into a file called amc.groovy
Either change the subject like so:
From
Code: Select all
subject: "[FileBot] ${emailTitle}",
Code: Select all
subject: "[FileBot] ${emailTitle} - at the lake",
Find:
Code: Select all
p("FileBot finished processing ${emailTitle} (${renameLog.size()} files).");
Code: Select all
p("Location: at the lake");
Get the script from: http://filebot.net/scripts/amc.groovy
Click the RAW button, then copy and paste that into a file called amc.groovy