[RELEASE] uTorrent Control Plugin - Manage your µTorrent queue from within XBMC - taxigps - 2011-01-03 11:08
uTorrent Control Plugin
Manages your uTorrent queue from within XBMC!
source code manage at github https://github.com/taxigps/plugin.program.utorrent.
you can install it from the official repo. please install and update in add-ons manage screen of xbmc .
Install:
1. Enable WebUI for uTorrent
2. Enable Token Authentication for uTorrent
3. Install the plug-in
4. Enter username and password of uTorrent via 'Plug-in Settings'
5. Enjoy!
Usage:
1. click left mouse key on items(or press keyboard 'return'):
- Pause
- Resume
- Start
- Stop
- Force Start
- Remove
- Remove and Remove Data
- Stream
2. click right mouse key on items(or press keyboard 'c'):
- Pause All
- Resume All
- Stop All
- Start All
- Limit Upload / Download Speeds
- Add Files (from Torrents dir.)
- ubuntuf4n - 2011-01-03 15:13
Really Nice!
Will check it out..
- Targettio - 2011-01-04 19:23
Hi, I have tried this out and get an error.
http://pastebin.com/m3Ck8JK1
The utorrent webui works as I can log into it from my computer, but the plugin has difficulties.
I am also confused by the 'torrent path' field. Is this the folder where save my torrents? Because I don't save all my torrents in one place. They are saved in different places depending on what it is. At the moment I have it pointed it towards my main download folder, but others are stored else where.
- stoli - 2011-01-05 05:32
taxigps Wrote:uTorrent Control Plugin
Manages your uTorrent queue from within XBMC!
source code manage in project xbmc-addons-chinese now. please install and update in add-ons manage screen of xbmcrepository.googlecode.xbmc-addons-chinese.zip.
Install:
1. Enable WebUI for uTorrent
2. Enable Token Authentication for uTorrent
3. Install the plug-in
4. Enter username and password of uTorrent via 'Plug-in Settings'
5. Enjoy!
Doesn't seem to like something in my setup. Other apps can access via the web ui:
Code:
22:27:44 T:2944 M:1574354944 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
22:27:44 T:2944 M:1574354944 DEBUG: CApplication::OnKey: 61453 pressed, action is Select
22:27:44 T:2944 M:1574293504 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.utorrent/)
22:27:44 T:2944 M:1574293504 DEBUG: ParentPath = [addons://sources/executable/]
22:27:44 T:5736 M:1574293504 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin uTorrent('plugin://plugin.program.utorrent/','0','')
22:27:44 T:5736 M:1574293504 INFO: initializing python engine.
22:27:44 T:5736 M:1574293504 DEBUG: new python thread created. id=13
22:27:44 T:5736 M:1574293504 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the uTorrent plugin...
22:27:44 T:3288 M:1574293504 DEBUG: thread start, auto delete: 0
22:27:44 T:3288 M:1574293504 DEBUG: Python thread: start processing
22:27:44 T:3288 M:1574912000 DEBUG: msg: 'import site' failed; use -v for traceback
22:27:44 T:3288 M:1575092224 NOTICE: -->Python Interpreter Initialized<--
22:27:44 T:3288 M:1575092224 DEBUG: XBPyThread::Process - The source file to load is C:\Users\stoli\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py
22:27:44 T:3288 M:1575272448 DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\stoli\AppData\Roaming\XBMC\addons\plugin.program.utorrent;C:\Users\stoli\AppData\Roaming\XBMC\addons\script.module.cryptopy\lib;C:\Users\stoli\AppData\Roaming\XBMC\addons\script.module.common.playback\lib;C:\Users\stoli\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files\XBMC
22:27:44 T:3288 M:1575272448 DEBUG: XBPyThread::Process - Entering source directory C:\Users\stoli\AppData\Roaming\XBMC\addons\plugin.program.utorrent
22:27:44 T:3288 M:1573015552 DEBUG: unable to load C:\Users\stoli\AppData\Roaming\XBMC\addons\plugin.program.utorrent\resources\language\English (US)\strings.xml: Failed to open file at line 0
22:27:44 T:3288 M:1573007360 INFO: -->Python script returned the following error<--
22:27:44 T:3288 M:1573007360 ERROR: Error Type: exceptions.ValueError
22:27:44 T:3288 M:1573007360 ERROR: Error Contents: invalid literal for int(): false
22:27:44 T:3288 M:1573007360 ERROR: Traceback (most recent call last):
File "C:\Users\stoli\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 254, in ?
listTorrents()
File "C:\Users\stoli\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 91, in listTorrents
tupList = updateList()
File "C:\Users\stoli\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 70, in updateList
complete = int(complete)
ValueError: invalid literal for int(): false
22:27:44 T:3288 M:1573007360 INFO: -->End of Python script error report<--
22:27:44 T:3288 M:1573007360 INFO: Python script stopped
22:27:44 T:3288 M:1573007360 DEBUG: Thread 3288 terminating
22:27:44 T:5736 M:1573060608 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
22:27:44 T:2944 M:1573060608 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.utorrent/
22:27:44 T:2944 M:1573060608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.utorrent/) failed
22:27:44 T:2944 M:1573060608 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/executable/)
22:27:44 T:2944 M:1573060608 DEBUG: ParentPath = []
22:27:44 T:5156 M:1572995072 DEBUG: thread start, auto delete: 0
22:27:44 T:4528 M:1572995072 DEBUG: Previous line repeats 1 times.
22:27:44 T:4528 M:1572995072 DEBUG: Thread 4528 terminating
22:27:44 T:5156 M:1573003264 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
22:27:44 T:5156 M:1573003264 DEBUG: Thread 5156 terminating
22:27:44 T:2944 M:1572990976 DEBUG: python thread 13 destructed
22:27:45 T:2944 M:1574072320 DEBUG: SDLKeyboard: scancode: 56, sym: 308, unicode: 0, modifier: 0
22:27:45 T:2944 M:1574109184 DEBUG: CWinEventsWin32::WndProcWindow is active
- taxigps - 2011-01-05 15:58
Targettio Wrote:Hi, I have tried this out and get an error.
http://pastebin.com/m3Ck8JK1
The utorrent webui works as I can log into it from my computer, but the plugin has difficulties.
I am also confused by the 'torrent path' field. Is this the folder where save my torrents? Because I don't save all my torrents in one place. They are saved in different places depending on what it is. At the moment I have it pointed it towards my main download folder, but others are stored else where.
1. need more detail debug message. please change the debug mode of utorrent plugin and paste the log file again. change debug mode in this way: modify line 5
in script file plugin.program.utorrent\resources\lib\utilities.py, change to 'DEBUG_MODE = 4'
2. in utorrent plugin, you can add new torrents to download with context menu(click right mouse button or press 'c' key). the plugin will add torrents from 'torrent path'.
- Targettio - 2011-01-06 14:31
taxigps Wrote:1. need more detail debug message. please change the debug mode of utorrent plugin and paste the log file again. change debug mode in this way: modify line 5
in script file plugin.program.utorrent\resources\lib\utilities.py, change to 'DEBUG_MODE = 4'
2. in utorrent plugin, you can add new torrents to download with context menu(click right mouse button or press 'c' key). the plugin will add torrents from 'torrent path'.
Ok I will test and post back tonight.
- Jair - 2011-01-07 02:00
I'm getting the same error. I sent you the log by mp using debug=4.
Thanks for the work!
- stoli - 2011-01-07 03:23
@taxigps - pm'd a link to the log with debug enabled. Too much torrent info to paste link here.
- taxigps - 2011-01-08 00:55
Jair Wrote:I'm getting the same error. I sent you the log by mp using debug=4.
Thanks for the work!
stoli Wrote:@taxigps - pm'd a link to the log with debug enabled. Too much torrent info to paste link here. 
please update to v1.0.1 and test again.
- Jair - 2011-01-08 04:16
Now it works like a charm Thank you!
|