Windows HOW-TO get uTorrent to tell XBMC to update its library

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
watzen Offline
Fan
Posts: 460
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #11
mwkurt Wrote:Or you can just use Sickbeard to update your XBMC library by having utorrent move completed files to the directory that Sickbeard processes it's downloads from. As long as the show is listed as a Sickbeard show, the files should be processed. I believe this works the same way with Couchpotato.

Mark

I for one think that XBMC does a very good job in recognizing my downloads. So I rather skip any extra software that needs to process my files/manage them. Since if any extra processing occurs after uTorrent is finished (changing filenames, moving or whatever), I would not be able to seed anymore.

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
find quote
zilexa Offline
Senior Member
Posts: 298
Joined: Nov 2008
Reputation: 0
Location: Amsterdam
Post: #12
I totally agree. There is no reason at all to use Sickbeard if you get your series/movies via Torrents since you will still be using uTorrent and it has the RSS downloader, Labels feature and now "run program..." features.
Sickbeard is only useful if you use newsgroups/usenet.
find quote
e2zippo Offline
Senior Member
Posts: 196
Joined: Dec 2010
Reputation: 0
Post: #13
This looks awesome but i I have a few questions.

1: How to I test if it's working without having to wait for a torrent to finish?

My folders are setup like this

My RSS-feed downloads to e:\nedladdat\tv-serier\

Utorrent moves the completed downloads to e:\ and append the label which will be

Tv-Serier/Fringe
or
Tv-Serier\Fringe

?

And is this the correct sourcepath?

sourcePath = "E:\"

Cheers!
find quote
watzen Offline
Fan
Posts: 460
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #14
e2zippo Wrote:This looks awesome but i I have a few questions.

1: How to I test if it's working without having to wait for a torrent to finish?

open up a command window, run->cmd->enter. then navigate to the folder where the script is in. then type "nameofscript.vbs Tv-Serier\Fringe" (without quotes). Switch over to xbmc and it should scan that folder after 10 seconds.

Quote:
My folders are setup like this

My RSS-feed downloads to e:\nedladdat\tv-serier\

Utorrent moves the completed downloads to e:\ and append the label which will be

Tv-Serier/Fringe
or
Tv-Serier\Fringe

?

And is this the correct sourcepath?

sourcePath = "E:\"

Cheers!

since I run a centralized mySQL solution, I have added all my local sources as SMB sources. that requires me to use "/"'s in my path. but if you are using local sources then you should use "\"''s. So the second one should be the correct one.
And the sourcepath should be as you wrote.

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
find quote
e2zippo Offline
Senior Member
Posts: 196
Joined: Dec 2010
Reputation: 0
Post: #15
watzen Wrote:open up a command window, run->cmd->enter. then navigate to the folder where the script is in. then type "nameofscript.vbs Tv-Serier\Fringe" (without quotes). Switch over to xbmc and it should scan that folder after 10 seconds.



since I run a centralized mySQL solution, I have added all my local sources as SMB sources. that requires me to use "/"'s in my path. but if you are using local sources then you should use "\"''s. So the second one should be the correct one.
And the sourcepath should be as you wrote.

The scan seems to be working, yay!

But i just discovered something not so great, when i pause and/or resume my torrents in uTorrent i get "Windows Script Host" error window for each and every torrent that is in uTorrent right now (about 70 now :eekSmile

It says

Script: D:\Appz\update.vbs
Line: 27
Char: 1
Error: The system cannot locate the resource specified

Code: 800C0005
Source: msxml3.dll

What's that about?

And one final question, will the seeding work with this procedure?

Before this i used the perl script also found on this forum and while it worked great, the moving of the files made it so they couldn't be seeded (unless i re-locate them, and that would be a real hassle for every torrent)

Cheers!
find quote
watzen Offline
Fan
Posts: 460
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #16
e2zippo Wrote:The scan seems to be working, yay!

But i just discovered something not so great, when i pause and/or resume my torrents in uTorrent i get "Windows Script Host" error window for each and every torrent that is in uTorrent right now (about 70 now :eekSmile

It says

Script: D:\Appz\update.vbs
Line: 27
Char: 1
Error: The system cannot locate the resource specified
W
Code: 800C0005
Source: msxml3.dll

What's that about?

And one final question, will the seeding work with this procedure?

Before this i used the perl script also found on this forum and while it worked great, the moving of the files made it so they couldn't be seeded (unless i re-locate them, and that would be a real hassle for every torrent)

Cheers!

Yes seeding will work. Since it is uTorrent that is moving the files it knows where it put them.

the error message that you are getting usually appears when xbmc isn't running. So my first guess is that xbmc isn't running. But utorrent should not try to send anything to xbmc when start or stop torrents, unless you have put something in the "run this program when a torrent changes state".

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
find quote
e2zippo Offline
Senior Member
Posts: 196
Joined: Dec 2010
Reputation: 0
Post: #17
watzen Wrote:Yes seeding will work. Since it is uTorrent that is moving the files it knows where it put them.

the error message that you are getting usually appears when xbmc isn't running. So my first guess is that xbmc isn't running. But utorrent should not try to send anything to xbmc when start or stop torrents, unless you have put something in the "run this program when a torrent changes state".

Great!

XBMC wasn't running at the time so that solves that.

I did put this in "Run this program when a torrent changes state"

as was posted earlier

update.vbs "uTorrent - %M" "%N"

What exactly does that one do, is it needed for XBMC to update the library, or do I only need

"update.vbs %L" ?
find quote
watzen Offline
Fan
Posts: 460
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #18
e2zippo Wrote:Great!

XBMC wasn't running at the time so that solves that.

I did put this in "Run this program when a torrent changes state"

as was posted earlier

update.vbs "uTorrent - %M" "%N"

What exactly does that one do, is it needed for XBMC to update the library, or do I only need

"update.vbs %L" ?

No, you don't need to put anything in that field for the update to work.
You only need to put the update.vbs "%L" (important with qoutes around the %L) in the first field.

The update.vbs "uTorrent - %M" "%N" sends a notification to XBMC each time a torrent changes state, i.e. when a torrent goes from seeding to done or downloading to seeding. And I noticed that the torrents changes state too often to make interesting to see in XBMC. It's not very useful to get a notification each other second...

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
(This post was last modified: 2011-01-25 10:18 by watzen.)
find quote
watzen Offline
Fan
Posts: 460
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #19
I have actually restructured it so that I can get a notification when a torrent is added and when it's finished.

- updated the first post to reflect improvements -

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
(This post was last modified: 2011-02-27 17:45 by watzen.)
find quote
ares01 Offline
Junior Member
Posts: 3
Joined: Jan 2011
Reputation: 0
Post: #20
Hi


my folders look like this:

d:\download\Tv Shows\Fringe\Season 1
Season 2...

Now I was wondering is it possible to tell utorrent to save for example: fringe s01e11 to fringe\season 1 and then update xbmc library?

All of this with rss downloader offcourse and auto labeling
(This post was last modified: 2011-01-28 18:50 by ares01.)
find quote
Post Reply