utorrent and email

Any questions? Need some help?
Post Reply
mrblack
Posts: 6
Joined: 10 Feb 2013, 05:40

utorrent and email

Post by mrblack » 10 Feb 2013, 05:44

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?

User avatar
rednoah
The Source
Posts: 18538
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: utorrent and email

Post by rednoah » 10 Feb 2013, 05:50

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.
:idea: Please read the FAQ and How to Request Help.

mrblack
Posts: 6
Joined: 10 Feb 2013, 05:40

Re: utorrent and email

Post by mrblack » 10 Feb 2013, 12:08

Ok, so I added java to the path but still no good from utorrent.

Any other ideas or things I should check?

User avatar
rednoah
The Source
Posts: 18538
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: utorrent and email

Post by rednoah » 10 Feb 2013, 12:16

Pipe cmdline output (stdout AND stderr) to a file and tell me what is says.
:idea: Please read the FAQ and How to Request Help.

mrblack
Posts: 6
Joined: 10 Feb 2013, 05:40

Re: utorrent and email

Post by mrblack » 10 Feb 2013, 22:30

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 ?(?????)?

User avatar
rednoah
The Source
Posts: 18538
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: utorrent and email

Post by rednoah » 11 Feb 2013, 03:33

Well. Episode was matched correctly, copied over just fine, an email was sent. What's the problem?
:idea: Please read the FAQ and How to Request Help.

mrblack
Posts: 6
Joined: 10 Feb 2013, 05:40

Re: utorrent and email

Post by mrblack » 11 Feb 2013, 06:55

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?

User avatar
rednoah
The Source
Posts: 18538
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: utorrent and email

Post by rednoah » 11 Feb 2013, 07:01

mrblack wrote:One last question... how do I customise what is in the notification email?
Modify the code. ;)
:idea: Please read the FAQ and How to Request Help.

Post Reply