[RELEASE] uTorrent XBMC PauseResume Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
f3ar007 Offline
Member
Posts: 57
Joined: Apr 2009
Reputation: 0
Thumbs Up  [RELEASE] uTorrent XBMC PauseResume Script Post: #1
News:
May 24th, 2009 - version 1.1.3 released. Use v1.1.3 or higher!

About:
This script interacts with the uTorrent WebUI Interface! It asks for user information; user, pass, ip, and port number. It checks the data and continues, or asks again depending on correct or incorrect information. Then the script allows the user to pause and resume all active torrents in uTorrent.

Uses:
Primarily, the script is used to pause torrents before watching streaming video. This allows the streaming video to obtain maximum bandwidth.

Other:
This will be the official thread from now on! Please refer back for updates, information, news, etc!
[Image: screenshot001blf.th.jpg]
The script needs a skin! Post your ideas, or PM me.

Downloads:
http://f3ar007.bravehost.com/xbmc/
or
http://code.google.com/p/f3ar007 with SVN!

Install:
1.) Enable WebUI
2.) Install Script
3.) First run asks for and checks user information; user, pass, ip, port!
4.) Pause or Resume with on-screen buttons!
5.) Change Settings with on-screen button.

Notes:
Windows Vista - Run as Administrator! The script writes to its own directory. If XBMC privileges are not elevated to Administrator level, there will be a FileErrror.

XBOX - Advanced Tip! Not Necessary! Installing mechanize and ClientForm in system/python/Lib directory nullifies the need to have the packages in the same folder as the script! Try installing them there!
The 15th line, in the mechanize package, of _msiecookiejar.py must be edited, change 'nt' to 'nt2' or anything else to avoid an unnecessary import. To avoid this, simply move the folder mechanize and the file ClientForm from the default script install path to system/python/Lib.
(This post was last modified: 2009-05-25 01:50 by f3ar007.)
find quote
rudeboyx Offline
Fan
Posts: 747
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #2
wicked, nice to see a torrent script returning for XBMC Babylon.
thanks for this. i shall download and test now.

i look forward to any updates
find quote
greatant1337 Offline
Senior Member
Posts: 189
Joined: Jul 2008
Reputation: 0
Location: Gold Coast, Australia
Post: #3
This is heaps useful, cheers!
find quote
rudeboyx Offline
Fan
Posts: 747
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #4
whenerver i launch the script it just fails Error Q:\scripts\uTorrent\default.py

XBMC Xbox version 20585

am i missing something? do i have to put user / password in to the py file? or is it supposed to ask for details upon launch?
find quote
f3ar007 Offline
Member
Posts: 57
Joined: Apr 2009
Reputation: 0
Post: #5
rudeboyx Wrote:whenerver i launch the script it just fails Error Q:\scripts\uTorrent\default.py

XBMC Xbox version 20585

am i missing something? do i have to put user / password in to the py file? or is it supposed to ask for details upon launch?

Try the newest release, which is version 1.1.2. In the previous version I forgot to include the mechanize package! Let me know how it goes!

Also, please post a log if the upgrade doesn't work!
(This post was last modified: 2009-05-25 00:49 by f3ar007.)
find quote
rudeboyx Offline
Fan
Posts: 747
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #6
that is with the latest version

where is the script log is it just the main xbmc log?
find quote
f3ar007 Offline
Member
Posts: 57
Joined: Apr 2009
Reputation: 0
Post: #7
rudeboyx Wrote:that is with the latest version

where is the script log is it just the main xbmc log?

Yes, turn on xbmc debugging and then post the log at a site like http://www.pastebin.com/

**The debug log is in the main directory and is named 'xbmc.log'

**Preliminary steps
1.) Turn on uTorrent WebUI
2.) Set user, pass, and port number
3.) Install Script (this can be done at any time!)
4.) Run script

**Steps to run the script
1.) script prompts for user input; user, pass, ip, port
2.) new window is drawn, buttons; pause, resume, change settings
3.) that's it!
(This post was last modified: 2009-05-25 00:48 by f3ar007.)
find quote
rudeboyx Offline
Fan
Posts: 747
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #8
debug log here

http://pastebin.com/m10e28d05

error on line 313
(This post was last modified: 2009-05-25 01:01 by rudeboyx.)
find quote
f3ar007 Offline
Member
Posts: 57
Joined: Apr 2009
Reputation: 0
Post: #9
rudeboyx Wrote:debug log here

http://pastebin.com/m10e28d05

error on line 313

Okay, I am working on the fix right now. I was unaware mechanize called ClientForm. So I am adding it to the directory right now. The update will be ready in about 5 minutes!

Version 1.1.3 has been uploaded to both Google Code and BraveHost.
(This post was last modified: 2009-05-25 01:12 by f3ar007.)
find quote
rudeboyx Offline
Fan
Posts: 747
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #10
alright that works.
cheers for the speedy update.

what are your plans for this script?

i for one would love to see individual torrent control and maybe something alittle more appealing to the eyes.

but a usefull little tool as it is.

cheers
find quote
Post Reply