Page 1 of 1

utorrent and email

Posted: 10 Feb 2013, 05:44
by mrblack
Hi,

Just started using Filebot and it's great, except I can't seem to get the automation from utorrent working.

I can run the following command in a command prompt and it works perfectly. This is what I have in the 'Run Program' in utorrent:

"C:\Program Files\FileBot\filebot.cmd" -script fn:utorrent-postprocess "C:/Downloads/" --output "C:/Videos/" --action copy --conflict skip -non-strict --def gmail=****:**** --def mailto=****

When a torrent finishes it just doesn't run anything and I don't know where to find the logs for utorrent.

Also, is it possible to send an email notification to multiple email addresses?

Re: utorrent and email

Posted: 10 Feb 2013, 05:50
by rednoah
1. "java" needs to be in the PATH. The cmd environment may be slightly different from the utorrent environment. So make sure there's no 32/64 bit issues. filebot/java are in the system path, etc

2. Nope, but you can always send the email to an mailing list address that'll then forward many emails.

Re: utorrent and email

Posted: 10 Feb 2013, 12:08
by mrblack
Ok, so I added java to the path but still no good from utorrent.

Any other ideas or things I should check?

Re: utorrent and email

Posted: 10 Feb 2013, 12:16
by rednoah
Pipe cmdline output (stdout AND stderr) to a file and tell me what is says.

Re: utorrent and email

Posted: 10 Feb 2013, 22:30
by mrblack
Here's the stdout. The stderr was blank.

I'm running this on Windows 8 if that makes any difference?

Code: Select all

Parameter: gmail = ****:****
Parameter: mailto = ****@****
Argument: C:\Downloads
Input: C:\Downloads\Glee - S04E13 - Diva.mkv
Group: [tvs:Glee] => [Glee - S04E13 - Diva.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Glee]
Fetching episode data for [Glee]
[COPY] Rename [C:\Downloads\Glee - S04E13 - Diva.mkv] to [C:\Videos\TV Shows\Glee\Season 4\Glee - S04E13 - Diva.mkv]
Processed 1 files
     [mail] Sending email: [FileBot] [Downloads]
     [mail] Sent email with 0 attachments
Done ?(?????)?

Re: utorrent and email

Posted: 11 Feb 2013, 03:33
by rednoah
Well. Episode was matched correctly, copied over just fine, an email was sent. What's the problem?

Re: utorrent and email

Posted: 11 Feb 2013, 06:55
by mrblack
Ok I realise what I did wrong... I didn't restart the PC after adding Java to the PATH.

All is well now and is working when a torrent complete through utorrent. Sorry for the run around!

One last question... how do I customise what is in the notification email?

Re: utorrent and email

Posted: 11 Feb 2013, 07:01
by rednoah
mrblack wrote:One last question... how do I customise what is in the notification email?
Modify the code. ;)