[RELEASE] Torrent-Controller (Script) for Azureus, Vuze, and ABC

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
chunk_1970 Offline
Skilled Python Coder
Posts: 243
Joined: Jan 2005
Reputation: 0
Post: #166
Just a quick ask if any other bit-torrent software people would like to see a xbmc plugin for:

Does anyone still use ABC?

Intel Corei3 / 16GB Ram / 120GB (SSD) / 10TB (ZFS): Lubuntu 13.10 / XBMC Gotham 13
Additional Systems: Apple TV2, RikoMagic MK802 IV, Asrock ION 330.
:shocked:
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,462
Joined: Apr 2004
Reputation: 20
Location: Knoxville, TN
Post: #167
chunk_1970 Wrote:Are you talking about f3ar's utorrent script? I beleive his latest version is using the same location when looking for torrents to add.

EzTV site is down at the moment, so thats probably the reason..
f3ar007 Wrote:The uTorrent Plugin I wrote loads torrents from special://profile/torrents/. This should be the same as the Torrent-Controller for Azureus and ABC. Cool
I mainly meant usability of the searching plugins. I wasn't sure if they were to be used standalone or from within the utorrent controller plugin. I didn't see settings for where the torrents get saved in those search plugins. I guess it's hardcoded.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
f3ar007 Offline
Member
Posts: 57
Joined: Apr 2009
Reputation: 0
Post: #168
kricker Wrote:I mainly meant usability of the searching plugins. I wasn't sure if they were to be used standalone or from within the utorrent controller plugin. I didn't see settings for where the torrents get saved in those search plugins. I guess it's hardcoded.

I haven't used the search plugins, I think they are stand alone. However, the uTorrent Plugin allows you to change the directory where torrents are loaded from. So if the search plugin is hardcoded you can always change the uTorrent load path.

If you have more questions regarding the uTorrent Plugin click here.
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,462
Joined: Apr 2004
Reputation: 20
Location: Knoxville, TN
Post: #169
f3ar007 Wrote:I haven't used the search plugins, I think they are stand alone. However, the uTorrent Plugin allows you to change the directory where torrents are loaded from. So if the search plugin is hardcoded you can always change the uTorrent load path.

If you have more questions regarding the uTorrent Plugin click here.
Yeah I understand the utorrent plugin and its settings and I am familiar with that thread. Thanks. I was just wondering how those search plugins worked with it, and I think I got my answer.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
medicineuk Offline
Senior Member
Posts: 100
Joined: May 2009
Reputation: 4
Post: #170
I can't seem to find XMLoverHTTP in my plugins list I'm using Linux

Is it the same thing as Sway UI?
find quote
chunk_1970 Offline
Skilled Python Coder
Posts: 243
Joined: Jan 2005
Reputation: 0
Post: #171
medicineuk Wrote:I can't seem to find XMLoverHTTP in my plugins list I'm using Linux

Is it the same thing as Sway UI?

I believe its in the plugin list as 'XML/HTTP Interface'. I dont know if the Sway inteface uses it, I believe the SwingWebUI uses it though.

Intel Corei3 / 16GB Ram / 120GB (SSD) / 10TB (ZFS): Lubuntu 13.10 / XBMC Gotham 13
Additional Systems: Apple TV2, RikoMagic MK802 IV, Asrock ION 330.
:shocked:
find quote
gui Offline
Senior Member
Posts: 108
Joined: Dec 2004
Reputation: 0
Post: #172
anyone willing to write a step by step tutorial to how to install and make this plugin work?
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,462
Joined: Apr 2004
Reputation: 20
Location: Knoxville, TN
Post: #173
Just fill the settings in with the same info you have set in the utorrent webui preferences. If you don't know where those are, then you need to check the help at utorrent.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
r0ck3t Offline
Junior Member
Posts: 49
Joined: Aug 2009
Reputation: 0
Post: #174
I tried with Azureus in Ubuntu 9.04.

It just tells me that there is an error... the debug log shows:
Code:
NOTICE:
<REQUEST>                                            
    <METHOD>getSingleton</METHOD>                                            
    <REQUEST_ID>1251650911</REQUEST_ID>                                            
</REQUEST>
NOTICE: --HttpCmd--
NOTICE: -Response-Init Connection
NOTICE: ELements:_object_id
DEBUG: xbp_dlopen loading python lib /usr/local/share/xbmc/system/python/python24.zip/pyexpat.so. flags: 2
DEBUG: Loading: /home/sebastian/.xbmc/temp/pyexpat.so
DEBUG: RegisterExtensionLib, adding pyexpat.so (0xaab20f0)
DEBUG: xbp_dlsym - load symbol initpyexpat
NOTICE: Traceback (most recent call last):
NOTICE:   File "/home/sebastian/.xbmc/plugins/programs/Azureus/core.py", line 119, in ATag
NOTICE:     if Do       ==  'String'    :   xmldoc      =   minidom.parseString(ForXml)
NOTICE:   File "../Python/Lib/xml/dom/minidom.py", line 1925, in parseString
NOTICE:   File "../Python/Lib/xml/dom/expatbuilder.py", line 940, in parseString
NOTICE:   File "../Python/Lib/xml/dom/expatbuilder.py", line 223, in parseString
NOTICE: ExpatError: no element found: line 1, column 0
NOTICE: ELements:_connection_id
NOTICE: Traceback (most recent call last):
NOTICE:   File "/home/sebastian/.xbmc/plugins/programs/Azureus/core.py", line 119, in ATag
NOTICE:     if Do       ==  'String'    :   xmldoc      =   minidom.parseString(ForXml)
NOTICE:   File "../Python/Lib/xml/dom/minidom.py", line 1925, in parseString
NOTICE:   File "../Python/Lib/xml/dom/expatbuilder.py", line 940, in parseString
NOTICE:   File "../Python/Lib/xml/dom/expatbuilder.py", line 223, in parseString
NOTICE: ExpatError: no element found: line 1, column 0

I thought the xml feed is not set up correctly but xmloverhttp works on the port i set it up (using http) and its log shows requests but no responses/method calls.
find quote
chunk_1970 Offline
Skilled Python Coder
Posts: 243
Joined: Jan 2005
Reputation: 0
Post: #175
Hi, Unfortunately I dont use and havent tested on a Linux version. Maybe someone else on this forum has used this on linux.

BTW: Do you have a username/password setup for xmloverhttp on Azureus/Vuze. Also what version of Az/Vuze are you using.

Intel Corei3 / 16GB Ram / 120GB (SSD) / 10TB (ZFS): Lubuntu 13.10 / XBMC Gotham 13
Additional Systems: Apple TV2, RikoMagic MK802 IV, Asrock ION 330.
:shocked:
find quote
r0ck3t Offline
Junior Member
Posts: 49
Joined: Aug 2009
Reputation: 0
Post: #176
Yes, i set up user/pass for xmloverhttp in Azureus and same combo in the plugins settings. This should work... maybe something different in the python framework. Hope somebody got it to run on Linux, this is the missing piece for me.

Version... is the latest from Ubuntu repo, I would need to look it up, is it necessary for xmloverhttp?
find quote
yawazup Offline
Junior Member
Posts: 4
Joined: Nov 2009
Reputation: 0
Location: Russia
Post: #177
Hi all. I have a question. Do you have Torrent-Controller (Script) for ĀµTorrent 1.8.5?

XBMC r25010 for Win OpenGL
Windows XP SP3 miniOS 1.0.0
Gigabyte GA-6OXT
Intel Celeron 1300 MHz
196 Mb
GeForce 4 MX 440 64 Mb AGP 8x
Seagate Barracuda 40 Gb
find quote
coolman Offline
Junior Member
Posts: 35
Joined: Jul 2009
Reputation: 0
Post: #178
I think this script is broken with Dharma. Is there anybody can install this script in Dharma release?
find quote
bighlo Offline
Junior Member
Posts: 1
Joined: Dec 2011
Reputation: 0
Post: #179
hi!

the first: sorry my bad English Sad

to day i'm trying use your script in windows (win7 x64 or my home server with htpc in win server 2008 x64)
but don't work.
any idea how to use it?
or how to correct install the script? (please step by step) i'm a weary lamer user Wink

thank you for any help.

the log information:
00:05:22 T:5296 ERROR: Error Type: <type 'exceptions.WindowsError'>
00:05:22 T:5296 ERROR: Error Contents: (123, 'A f\xe1jln\xe9v, a k\xf6nyvt\xe1rn\xe9v vagy a k\xf6tetc\xedmke szintaxisa nem megfelel', 'special://profile/torrents/')
00:05:22 T:5296 ERROR: Traceback (most recent call last):
File "C:\Program Files (x86)\XBMC\addons\plugin.program.Azureus\default.py", line 65, in <module>
os.mkdir(MyTorrents)
WindowsError: (123, 'A f\xe1jln\xe9v, a k\xf6nyvt\xe1rn\xe9v vagy a k\xf6tetc\xedmke szintaxisa nem megfelel', 'special://profile/torrents/')
00:05:22 T:5824 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.Azureus
00:05:22 T:5824 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.Azureus) failed
00:05:22 T:1252 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
00:05:25 T:3124 NOTICE: -->Python Interpreter Initialized<--

Edit...

So i'm edited the defaupt.py
line 63: MyTorrents = MyPath +'\\torrents'
or quote (#) some : UpdateSettings()
--> the menu on the program is already but not work Sad
generated some other error:

"push" button Downloads generate: 01:13:45 T:5220 NOTICE: -->Python Interpreter Initialized<--
01:13:45 T:5220 NOTICE: --get_params--
01:13:45 T:5220 NOTICE: Mode: None
01:13:45 T:5220 NOTICE: URL: None
01:13:45 T:5220 NOTICE: Name: None
01:13:45 T:5220 NOTICE: Label: None
01:13:45 T:5220 NOTICE: --DEFAULT--
01:13:45 T:5220 NOTICE: ****** REFRESH ******
01:13:45 T:5220 NOTICE: 0
01:13:45 T:5220 NOTICE: False
01:13:50 T:1604 NOTICE: -->Python Interpreter Initialized<--
01:13:50 T:1604 NOTICE: --get_params--
01:13:50 T:1604 NOTICE: Mode: 10
01:13:50 T:1604 NOTICE: URL:
01:13:50 T:1604 NOTICE: Name: [1] Downloads
01:13:50 T:1604 NOTICE: Label:
01:13:50 T:1604 NOTICE: Downloads--
01:13:50 T:1604 NOTICE: --GetTorrents--
01:13:50 T:1604 NOTICE: --DownloadMgr--
01:13:50 T:1604 NOTICE: --CheckComms--
01:13:50 T:1604 NOTICE: --InitConnection--
01:13:50 T:1604 NOTICE: --XmlHttp--
01:13:50 T:1604 NOTICE:

<REQUEST>

<METHOD>getSingleton</METHOD>

<REQUEST_ID>1325117630</REQUEST_ID>

</REQUEST>
01:13:50 T:1604 NOTICE: --HttpCmd--
01:13:50 T:1604 ERROR: Error Type: <type 'exceptions.ValueError'>
01:13:50 T:1604 ERROR: Error Contents: unknown url type:
01:13:50 T:1604 ERROR: Traceback (most recent call last):
File "C:\Users\bighlo.BIGHOME\AppData\Roaming\XBMC\addons\plugin.program.Azureus\defau​lt.py", line 679, in <module>
GetTorrents('false','')
File "C:\Users\bighlo.BIGHOME\AppData\Roaming\XBMC\addons\plugin.program.Azureus\defau​lt.py", line 331, in GetTorrents
if ( DownloadMgr() ) :
File "C:\Users\bighlo.BIGHOME\AppData\Roaming\XBMC\addons\plugin.program.Azureus\defau​lt.py", line 200, in DownloadMgr
if ( CheckComms() ) :
File "C:\Users\bighlo.BIGHOME\AppData\Roaming\XBMC\addons\plugin.program.Azureus\defau​lt.py", line 157, in CheckComms
if ( InitConnection() ) :
File "C:\Users\bighlo.BIGHOME\AppData\Roaming\XBMC\addons\plugin.program.Azureus\defau​lt.py", line 171, in InitConnection
Response = XmlHttp('','getSingleton')
File "C:\Users\bighlo.BIGHOME\AppData\Roaming\XBMC\addons\plugin.program.Azureus\defau​lt.py", line 137, in XmlHttp
Answer = HttpCmd(URL,XMLString)
File "C:\Users\bighlo.BIGHOME\AppData\Roaming\XBMC\addons\plugin.program.Azureus\defau​lt.py", line 103, in HttpCmd
response = urllib2.urlopen(req)
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 383, in open
protocol = req.get_type()
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 244, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:
01:13:50 T:2252 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.Azureus/?url=&mode=10&name=%5B1%5D+Downloads&label=
01:13:50 T:2252 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.Azureus/?url=&mode=10&name=%5B1%5D+Downloads&label=) failed
01:13:50 T:2744 NOTICE: -->Python Interpreter Initialized<--
01:13:50 T:2744 NOTICE: --get_params--
01:13:50 T:2744 NOTICE: Mode: None
01:13:50 T:2744 NOTICE: URL: None
01:13:50 T:2744 NOTICE: Name: None
01:13:50 T:2744 NOTICE: Label: None
01:13:50 T:2744 NOTICE: --DEFAULT--
01:13:50 T:2744 NOTICE: ****** REFRESH ******
01:13:50 T:2744 NOTICE: 0
01:13:50 T:2744 NOTICE: False
(This post was last modified: 2011-12-29 02:19 by bighlo.)
find quote
krazylegswp Offline
Junior Member
Posts: 3
Joined: Apr 2013
Reputation: 0
Post: #180
how / where do i install the rar file xbmc does not support rar ive also tried the zip file bit is not structured correctly
find quote
Post Reply