uTorrent update XBMC on completion
#15
Alright, figured it out. It should work now. https://dl.dropbox.com/u/33669449/moeman/xbmc.vbs

I haven't ever used the script with local files (to the script or XBMC) and the problem related to that. All my media is on a server tucked in a closet and shared via SMB to 3 XBMC machines with shared libraries.

The issue: When accepting the directory from utorrent (via the %D option) the directory was coming through as drive:\path\to\folder. When passing this to the jsonrpc, the \ must be escaped with another backslash, meaning the path should look like drive:\\path\\to\\directory.

I added a few lines to check for a path similar to x:\path\to\etc and replace all "\" with "\\". This has also been integrated with the original script, so that one should work too. (Though I'm too tired to test it.)

Let me know how it goes!
Reply


Messages In This Thread
RE: uTorrent update XBMC on completion - by Pillzbury - 2013-03-08, 04:19
Logout Mark Read Team Forum Stats Members Help
uTorrent update XBMC on completion0