PDA

View Full Version : uTorrent Download Complete Notification Script


ppan76
2007-03-25, 18:05
Well I am not sure if this is the correct forum to post this. But I just finished a vb script to send a notification to the xbox when a torrent has finished downloading. (You run this in a PC)

If you find it useful cool. If not, then you can modify it to your liking. The Code is really ugly and messy (hey it took me 20 minutes).

Dos OutPut:
sucess:"the.colbert.report.2007.03.22.dsr.xvid-2sd.[VTV].avi" download finished
sucess:"the.colbert.report.2007.03.21.dsr.xvid-2sd.[VTV].avi" download finished
sucess:"PHP.By.Example.eBooK.-PiRaTeZ" download finished

Xbox Output:
Is the same as above but sent via the HTTPAPI -->XBMC.Notification.

Requirements:
Latest uTorrent with WebUI (make this is working before trying this script)
XBMC with Web Server Enabled

What you need to change:
Open the script with Notepad and modify anything below that says CHANGEME.


Download Here: (http://mysite.verizon.net/~bikerguy/uTorrentNotifyXbox.zip)

The script is very simpe and basic I have it set on schedule to run every 30 minutes.

I dont know why the Time to display the notification aint working with XMBC.

You can modify to your heart's content and if you have a better version please share it. I hope in the future somebody writes a plugin for uTorrent. I didn't bother compiling the code as it was so damn small.

nianhbg
2007-03-30, 12:03
Nice i will try this

chunk_1970
2007-03-30, 18:48
what sort of plugin do you mean "ppan76". I recently released a python script that controls uTorrent from XBMC. It can be downloaded from my sig.

ppan76
2007-04-04, 23:38
Yes I am aware of the script and I like it a lot and use it as well. I was just lazy to have to launch the script everytime to check the status of the torrents.

My script will just send me a notification whenever a torrent is finished from a computer. So for example if I am watching a movie, I dont have to exit the movie to launch the python script and then resume the movie.

What I meant by a uTorrent plugin was it would be nice to be able to launch a command or script when a torrent is finished downloading. Like trapping the notification that uTorrent sents when something finishes downloading.

My scripts fails in that the notification goes away. I would love XBMC to have a message/log queue. Where we can mark messaged viewed, delete, new, etc. But thats another story.


what sort of plugin do you mean "ppan76". I recently released a python script that controls uTorrent from XBMC. It can be downloaded from my sig.

Asteron
2007-04-17, 10:00
The Azureus equivalent of this can be found here: http://asteron.projects.googlepages.com/azureusxbmctorrentnotification

pike
2007-04-17, 11:24
moved to correct subforum (which is Python development not regular development subforum)

Asteron
2007-04-17, 12:19
Well his script is in VB... my related plugin is in Java... really this is just one of those random things that doesnt belong in any place nicely.

pike
2007-04-17, 12:44
d'oh :) well true then. a homeless script, hehe

stacked
2008-11-29, 22:35
The Azureus equivalent of this can be found here: http://asteron.projects.googlepages.com/azureusxbmctorrentnotification

I love this plugin for Azureus, but I don't use Azureus any more for torrents. I'm using uTorrent.

Is this uTorrent script similar? Like as soon as a download completes in utorrent, there will be a popup on XBMC?

btw, the download link for the script in the first post is dead. Can someone upload it again?