uTorrent update XBMC on completion
#1
I took the script from http://forum.xbmc.org/showthread.php?tid=87472
and modified it to work a little differently.

Main difference being you can have the script only activate via specific labels, as well as the ability to notify multiple XBMC instances when a torrent starts or finishes downloading. It is currently set up for up to 5 instances of XBMC, sharing library via MySQL, and does library updates from one connection.

I included the necessary code for controlling several separate XBMC libraries as well, for those who aren't sharing via MySQL. You'll only need to uncomment some code. Crude instructions are included in the notes section beginning at line 5.

You need to download the VBS file: http://dl.dropbox.com/u/33669449/xbmc.vbs

Read the brief comments section at the top for instructions on how to set it up for your needs. Edit the settings section to match your needs.

I have commented it fairly thoroughly (or so I believe) and it should be easy enough for anyone with minor VBScript experience to edit to their liking.

Finally, in uTorrent, Options > Preferences > Advanced > Run Program add the following lines.

Torrent Finishes:
Code:
"C:\path\to\xbmc.vbs" -U "%N" "%D" "%L"

Changes State:
Code:
"C:\path\to\xbmc.vbs" -S "%M" "%N" "%L"

Quotations around path to vbs are required if you have spaces in the folder path.

Should be set! Feel free to recommend any changes, or help me optimize the code.
Reply


Messages In This Thread
uTorrent update XBMC on completion - by Pillzbury - 2012-01-22, 00:39
Logout Mark Read Team Forum Stats Members Help
uTorrent update XBMC on completion0