PDA

View Full Version : [RELEASE] Torrent-Controller (Script) for Azureus, Vuze, and ABC


chunk_1970
2006-09-19, 13:28
Torrent-Controller For Azureus Vuze:

http://code.google.com/p/xbmc-torrrent-controller/

This is basically a conversion of the old Torrent-X script and is compatible with the latest version of XBMC (Babylon)

- Enables full control of Azureus for downloads/uploads and files.
- Ability to upload torrent files to Azureus. See my site plugins for compatible plugin.

Instructions:
-------------------
- Must have xmloverhttp installed for Azureus/Vuze with password and username setup.
- Install into the plugin directory.
- Run plugin settings to configure as required.

* This is a first release so there is alot more to do:
- Better error catching.
- Language strings.
- Extended Label info.

Downloadable from my Sig

gzusrawx
2006-09-19, 20:29
I was wondering if you have updated this plugin to use the current version of azhtmlui 7.0. Because when I first downloaded this script I had to try to find an old version of azhtmlui so it would work. Unfortunately the only previous version I could get my hands on was version 6.0 and I've had several problems with it becuase I think you designed the script off of version 6.5 or so. Thanks for making the script really appreciate it.

Tim

chunk_1970
2006-09-19, 20:56
I was wondering if you have updated this plugin to use the current version of azhtmlui 7.0. Because when I first downloaded this script I had to try to find an old version of azhtmlui so it would work. Unfortunately the only previous version I could get my hands on was version 6.0 and I've had several problems with it becuase I think you designed the script off of version 6.5 or so. Thanks for making the script really appreciate it.

Tim

I will look into it I am currently using 0.6.2 of the webhtml gui.. I will upgrade my version tonight and make any required changes for the new release coming this week.

gzusrawx
2006-09-19, 21:25
thanks,
Tim

chunk_1970
2006-09-19, 22:16
Yep I have applied the fix to the new version. I will add in checking for the version numbers so that I can report possible problems to the user. Its was only a slight change in the html code but rest assured the new fix will be in for the next release later this week/weekend..

Just need to do more checking to make sure nothing else has changed..

Thanks anyway..

chunk_1970
2006-09-21, 19:07
Previosuly called "Azureus controller" this has now evolved into a "Torrent-controller" which interacts with Azureus and ABC and also allows SAVE to DISK.

Available for download on my site listed below but should also be available on xbmcscripts.com soon...

A full list of features can be found here:
http://hometown.aol.com/fylands/

Enjoy.

LaTropa64
2006-09-23, 04:02
Cool. I hope uTorrent adds network control soon. It is by far my favorite client and it would be great to use your script to control it!

chunk_1970
2006-09-23, 04:04
Cool. I hope uTorrent adds network control soon. It is by far my favorite client and it would be great to use your script to control it!

Utorrent has network control available at the moment but its only a beta so im going to wait for a month or so until its classed as stable then it will be in..

EvilDude
2006-10-01, 19:34
Utorrent has network control available at the moment but its only a beta so im going to wait for a month or so until its classed as stable then it will be in..

Awesome! Can't wait till uTorrent is supported..

chunk_1970
2006-10-09, 13:14
Torrent Controller: v1.2 Updated (10am 9th October 06)

Updates since last version:

* Re-Skinned for PM3 and MC360. Otherwise a default will be used. THanks to guibuilder&nuka
* Fixed EZTV. Now working again. Hopefully they have finished changing their site.
* Added Status display for Torrents in Azureus

Future releases..
The Next version will have a test version of the Utorrent web gui.

Available on my site or xbmcscripts.com

Tomkun
2007-01-08, 12:44
I can't get this to work with the PM3 skin, although it works fine with MC360. When launching with PM3, it says there is a problem with the PMGUI.xml file.

chunk_1970
2007-01-09, 20:15
Hi,

I haven't really looked at this script for sometime as I've been working on the EmuLauncher (Xbmc-Arcade) project.

I will be re-writing this script and my other controller scripts shortly when I have finished my work on the EmuLauncher..

Thanks for trying it out anyway..

Tomkun
2007-01-10, 10:32
Thanks for trying it out anyway..

You're welcome. Thanks for writing it! It works perfectly in the 360 skin, I just happen to prefer the PM3, that's all.

redsolo
2007-02-22, 18:48
I would love to see this plugin to support SMB shares also. I have a linux server running rtorrent that watches for torrent files in a certain path. But the problem is that the path is only reachable through samba and I dont want to have an FTP running (unsecure, admin hassle, everything else is shared through smb, etc).

How much job would it be to add samba to the settings, ie so it will download the torrent files into a samba path instead of a local? I hope that there are samba libs for python!? (I think I will give it a try tonight)

redsolo
2007-02-23, 09:54
I would love to see this plugin to support SMB shares also. I have a linux server running rtorrent that watches for torrent files in a certain path. But the problem is that the path is only reachable through samba and I dont want to have an FTP running (unsecure, admin hassle, everything else is shared through smb, etc).

Ignore my post as it was the TorrentBrowser I was talking about.

nightspd
2007-03-01, 05:24
uTorrent guys apparently have a Python library available now:

http://forum.utorrent.com/viewtopic.php?id=15825

chunk_1970
2007-03-01, 09:18
thanks for the info nightspd im currently in the process of re-writing this script so this could be good news..

nightspd
2007-03-02, 00:21
I hope it works out for you...it'd be nice to be able to check my downloads status w/o having to get up off my couch..right now I can download torrents from my couch using the torrentbrowser script and uTorrent picks them right up out of the SMB share I FTP them to...and uTorrent w/RSS feeds "broad-catches" all the regular content I receive...this would be the last piece of the puzzle, so to speak.. looking forward to the new script.

-C

nightspd
2007-03-02, 00:22
oh and I'd be HAPPY to help you beta test it...let me know via PM or on here if you need some help.

-c

chunk_1970
2007-03-17, 00:58
uTorrent integration is well on its way. Didnt really need the python api they supply as the webui returns the data in a dictionary format..Just trying to tie it alltogether.

All the other sections have been re-written and will support both Azureus and uTorrent. They will also support username/passwords which was missing on the Azureus version originally. Four major torrent sites will be supported aswell. A new feature is that this will be modular so that additional controllers and sites can be added without the need to mess around with the core code. Hopefully after the initial release I will create an auto-updater so that if a site changes I can get the app to update from a central server..

Heres hoping, but Azureus and the sites are functional at the moment with uTorrent not far away from completion.

It will also be skinned for PM3,xTV,MC360 and Clearity.

chunk_1970
2007-03-19, 20:34
Torrent-X:grin: is a frontend controllter for PC-Torrent applications for XBMC(XBox Media Center)

A frontend to control Bit-Torrent software clients from your Xbox. Current support Azureus and uTorrent.
uTorrent has not been fully tested as its not my prefferred controller of choice.

Download Here (http://xbmc-torrrent-controller.googlecode.com/files/Torrent-X%20v0.99.zip) or on my Sig Below.

REQUIREMENTS:
=============
* uTORRENT: ENSURE THAT THE WEBUI HAS BEEN ENABLED AND THAT A USERNAME AND PASSWORD HAS BEEN SETUP.
------- CONFIGURE uTORRENT WITHIN TORRENT-X WITH THE USER:PASS AND ALSO THE IP/PORT NUMBER USED.

* AZUREUS : ENSURE THAT THE XMLTOHTTP PLUGIN HAS BEEN INSTALLED ALSO SETUP USER:PASS IF REQUIRED.
------- CONFIGURE AZUREUS WITHIN TORRENT-X WITH USER/PASS IF ONE HAS BEEN SETUP ALSO THE IP/PORT BEING USED.


FEATURES: (Initial Version .99)
===============================

* MULTIPLE LANGUAGE SUPPORT (Only English done but other languages can be setup easily.

* MULTIPLE SKIN SUPPORT (Currently MC360,Clearity,BB Classic and PM3 as default) (Thanks to guibuilder from Nuka1195)

* TOTALLY MODULAR SO THAT ADDITIONAL CONTROLLERS/SITES CAN BE ADDED WITHOUT THE NEED TO CHANGE THE CORE CODE.

* EACH MODULE FULLY CONFIGURABLE FOR TIMEOUT SORT OPTIONS AND DISPLAY LABELS.

* SUPPORT FOR AZUREUS AS A CONTROLLER WITH USERNAME/PASSWORD SUPPORT.

* SUPPORT FOR uTORRENT AS A CONTROLLER WITH USERNAME/PASSWORD SUPPORT.

* SUPPORT FOR EZTV TORRENT SITE WITH FULL PAGE NAVIGATION AND SORT OPTIONS.

* SUPPORT FOR ******** TORRENT SITE WITH FULL CATEGORY AND PAGE NAVIGATION AND SORT OPTIONS.

* SUPPORT FOR ********* TORRENT SITE WITH FULL CATEGORY AND PAGE NAVIGATION AND SORT OPTIONS.

* SUPPORT FOR ********** TORRENT SITE WITH FULL CATEGORY AND PAGE NAVIGATION.



NOT CURRENTLY SUPPORTED:
=========================

* NO SEARCH FUNCTIONS HAVE BEEN SETUP FOR ANY OF THE SITES BUT THAT WILL BE IN THE NEXT RELEASE.

* NO COOKIE SUPPORT ADDED YET. THIS IS ONLY REQUIRED FOR MODIFY TORRENT-SPY SORT/RESULT OPTIONS
BUT THIS WILL BE IN THE NEXT RELEASE.


FUTURE IMPROVEMENTS:
====================

* SETUP SCRIPT TO ENABLE AUTO-UPDATE OF MAIN CODE AND TORRENT-SITES IF THEY HAVE CHANGED.

* PROBABLY MORE TORRENT-SITES AND MORE CONTROLLERS.


Download Here (http://xbmc-torrrent-controller.googlecode.com/files/Torrent-X%20v0.99.zip) or on my Sig Below.
Enjoy..

ultrabrutal
2007-03-19, 21:28
wow, excellent work! tested with uTorrent and it works great! thanks

chunk_1970
2007-03-19, 21:32
Thanks..Let me know of any problems as I dont use uTorrent so I didn't do alot of testing..

ultrabrutal
2007-03-20, 00:44
A request though. When having scrolled through alist there is a long way to the top. Please make it possible to go left/right to quickly go to menu

chunk_1970
2007-03-20, 12:49
Thats not a problem I will add it to my list of additions..

gzusrawx
2007-03-20, 15:12
Can you also add more support for remotes most of those buttons like page down and previus menu are designed for controller only.
Like the next page could be the skip+ button and the previous menu could be the back button.

chunk_1970
2007-03-20, 17:04
Can you also add more support for remotes most of those buttons like page down and previus menu are designed for controller only.
Like the next page could be the skip+ button and the previous menu could be the back button.

Thats a good idea and never actually thought of that. I do use a remote for one of my xbox's primarily as it just used for watching movies.

Thanks, I will add it to my TODO list..

C-Quel
2007-03-20, 22:58
My main problem is all the list controls have black text very hard to read.

A quick addition to the DF skin.xml for PM3 sorts it out... <textcolor> was missing in list control.

chunk_1970
2007-03-21, 01:55
C-Quel what version of xbmc are you using because on my version the text was white.

Can you post the xml here so I can test and replace my original..

Cheers..

chunk_1970
2007-03-21, 23:22
For those of you that want to find all the bugs. Follow the link for the BETA version of 1.01 with the following updates.

- Remote friendly. Skip+ and Skip- will do page navigation if available. This just mimics the Y and B buttons. When viewing your controller it will perform moveup/movedown if using Azureus.

- Remote friendly. Title button will perform any action available on the X button.

- Search functions added onto all Sites. To call up the search function just press the Black button(controller) or Info(remote). type in your search and wait. Search results have page navigation if multiple pages exist. The X(controller) or Title(remote) will return you to the page you were viewing prior to starting the search.

- Cookie support has been added. This only really helps one of the sites as it stores your sort/pagesize information.


Download v1.01 BETA Here (http://xbmc-torrrent-controller.googlecode.com/files/Torrent-X%20%28v1.0%20Beta%29.zip)

C-Quel
2007-03-22, 00:03
SVN my friend... pretty much daily basis. Once i added the <textcolor> tag to the DFXML it worked great. IIRC i seems its the only one that has no textcolor in listcontrol. You seem to have set them for the rest.

OH! And latest beta seems to have the same color problem and also now seems to have problems quitting script using menu on remote i think.

chunk_1970
2007-03-22, 12:57
Yeah I had not even looked at the colour issue..on PM3.

I found the mistake in using the remote when I when to bed last night and couldn't exit the app. Dooh!

I will fix those issues today..

chunk_1970
2007-03-22, 13:45
Fixed:

- PMIII textcolor has been fixed.
- Skip+ / SKip- have been set corrently for page Next/Prev.
- Remote Menu button now perform the exit script.
- MC360 textcolor for button labels has been set to black as the white was not very readable..

Hopefully all problems are now fixed..

Download v1.02 Here (http://xbmc-torrrent-controller.googlecode.com/files/Torrent-X%20%28v1.02%20BETA%29.zip)

C-Quel
2007-03-22, 16:01
Kudos on the fixes my friend! And a fantastic script for thy ole couch potatoe!

I've been messing with the WebGUI of uTorrent and noticed you can set priority on files etc low,medium,high would be a great addition to the script if we could grab the sample from videos and pausing the rest or setting prioritys.

PS. Great work!

chunk_1970
2007-03-22, 20:58
Yeah im not really touching the full potential of what can be controlled at the moment with azureus or utorrent. utorrent is so much easier to control as it returns python dictionary objects which just makes life almost effortless.

nightspd
2007-03-23, 01:46
i noticed that when using the new Torrent-X (THANKS BTW, LOVE IT)..i can browse torrent sites and "apparently" ADD torrents to my Queue, but I noticed that this feature is somewhat "hit-or-miss"..as in sometimes I have to click on it MULTIPLE times before it adds it to my dl queue..is this normal? Hell, is it normal to be able to ADD torrents via this tool..?? hehe Thanks, keep up the AWESOME work.

-C

nightspd
2007-03-23, 01:49
probably would help to say I'm using the Utorrent controller huh?? lol

chunk_1970
2007-03-23, 02:27
I noticed that both uTorrent and Azureus do not report back the status all they report is the fact that the command was sent successfully. The software is then responsible for queueing it up although sometimes I have noticed a considerable delay of approx a couple of minutes,utorrent does seem slower than azureus at retrieving the actual file. I could understand it being a pain if you have to go back to the controller screen to check its been added or not.

I will certainly look into this though probably by doing a check in the background for the file waiting for approx 2 minutes otherwise doing a resend. Or maybe having a feature to queue all selections in a temp file and then actioning them all at once via the controller screen. Maybe a selection menu similar to playlists to add/remove entries from the queue.

ultrabrutal
2007-03-23, 10:17
Another request: When I added torrents on my FTP the list of files within are shown and I can deselect any content I do not care about like; stuff I might already, samples, commerical files etc.
Would it be possible to do something similar in your script?

Tnx

chunk_1970
2007-03-23, 13:23
Of course. This was just the initial release which was a total re-write of my torrent-controller script. It needed a good re-write as my last effort although worked was a total mess, codewise.

Eagle7894
2007-03-26, 00:19
I cant even get past the upload or download tab, because I dont know what to input in the configure tab. I keep on getting a check logfile error what do I do..?

Ph03n1x
2007-03-26, 01:59
I cant even get past the upload or download tab, because I dont know what to input in the configure tab. I keep on getting a check logfile error what do I do..?

Set your default controller uTorrent/Azuereus, then configure that controller with the web gui settings (IP address, port, user/pass) these can be found from within your chosen torrent client preferences/settings screens. Read more here (http://code.google.com/p/xbmc-torrrent-controller/wiki/TorrentX).

Btw, is it possible to set the download location for files when you add a torrent? My files are being saved to the root of the drive :(

chunk_1970
2007-03-26, 02:28
Btw, is it possible to set the download location for files when you add a torrent? My files are being saved to the root of the drive :(

What controller are you using. I dont know much about utorrent if thats your controller although Im sure several people here will know what you need to do.

LycoLoco
2007-03-26, 22:13
I don't have any experience with python scripting, but I would like to add my own sites to this script, a few of which are private and would require cookies. If anyone could give me and others wanting to do this a generic rundown of how to edit the .py files to add our own sites, that would be excellent. Thanks!

chunk_1970
2007-03-26, 23:10
If people PM me with sites/controllers that they would like added I will look into it. The current Beta does support cookies so thats not a problem as my sabcontroller uses logins alot for sites.

You do need to know python and how to scrape web sites to create one for yourself. A new release coming soon also has an Auto/Manual update feature for controller/site modules so I can easily post updates without having to muck about posting new releases onto websites..

chunk_1970
2007-03-27, 21:53
Heres another new version.

If installing over a previous version it will not there is no config.xml so it wont overwrite any of your previous settings.

FEATURES Added: (Version 1.05 BETA)
===================================

* AUTO-UPDATE CONFIG OPTION ADDED - DEFAULT IS ON - CHECKS FOR UPDATES WHEN SCRIPT STARTS, HOPEFULLY THE MAIN CORE IS PRETTY STABLE NOW SO ONLY MODULES WILL NEED UPDATING WHICH CAN NOW BE DONE EASILY.

* UPDATE MODULES CONFIG OPTION ADDED - PERFORMS THE UPDATE CHECK.

* CONFIG.XML REMOVED FROM BASE INSTALL SO THAT IF IT DOESNT EXIST IT WILL GET CREATED.

* MODIFIED SITE LABELS SO THEY ARE ONLY SET WHEN BUTTON PRESSED. ONLY COSMETIC ISSUE.

* ADDED ICONS FOR HEALTH/STATUS IN AZUREUS - SHOULD MATCH AZUREUS ICONS.

* ADDED ICONS FOR HEALTH/STATUS IN uTORRENT WITH THE FOLLOWING STATES:
- RED = ERRORS
- YELLOW = PAUSED
- BLUE = FORCED
- GREEN = RUNNING / NORMAL
- GREY = UNKNOWN / NOTRUNNING


* ADDED ICONS FOR TORRENT HEALTH FOR ALL SITES WITH THE FOLLOWING STATUS:
- RED = 0 SEEDS
- YELLOW = 1-10 SEEDS
- BLUE = 11-50 SEEDS
- GREEN = >50 SEEDS
- GREY = UNKNOWN SEEDS

Get it Below .......

Download Beta 1.05 (http://xbmc-torrrent-controller.googlecode.com/files/Torrent-X%20%28v1.05%20BETA%29.zip)

C-Quel
2007-03-27, 23:12
Fantastic...

chunk_1970
2007-03-30, 17:46
New Site module available from the Auto-Update function....

LycoLoco
2007-03-30, 23:21
Thanks! Your work is appreciated chunk!

chunk_1970
2007-03-31, 22:06
uTorrent Controller Module update to Version 1.04:

Added
- When displaying your downloads/uploads the X will have the option to display the files for the torrent.

- Torrent Icon for files are as follows:
= Red - Do Not Download
= Yellow - Priority Low
= Green - Priority Normal
= Blue - Priority High

- When viewing files you will now have some extra options.
= Y - Set All files to Do not Download
= B - Set All files to Normal Download
= A will display a menu to set a specific option for the item selected.
= X - Return to Display of downloads/Uploads..

I tested this and it seems to work without any problems...

Now to code the same thing for Azureus....Hmmm!

C-Quel
2007-03-31, 22:32
Again!

FANTASTIC!

chunk_1970
2007-03-31, 22:38
Thanks..Hopefully in time I should be able to get all the functionality of the software into the modules...

May take some time..But I think its going in the right direction.

What would be good is if people could prioritise what features would be of most benefit to be added so I can do them in that order..

Things Like..

- setting upload/download speeds..
- displaying detail info from sites/controller.
- etc..

ultrabrutal
2007-04-01, 00:35
Search function I have not found if it's in there... For example I would like to search for "CHD xvid" or "CHD divx" and also new TV episodes ;)

Keep up the good work. This script rocks!

chunk_1970
2007-04-01, 04:20
Search function is either 'the little black key' on GAMEPAD or 'Info' button on remote..

jj5768(2)
2007-04-01, 19:49
Just a minor request: is it possible to include a skin for the xMC skin ? - it may have not been updated revcently, but it is a great skin..

Thanks !:laugh:

chunk_1970
2007-04-01, 21:44
Never heard of it..I will look into it though..

C-Quel
2007-04-02, 23:05
Just saw your post regards Azureus causing issues... if you use utorrent and click downloads then click it again to act as a refresh doing this a few times in a short space can also crash the script.

And the update feature... :)

Could you change it so that if not update is available the user does not need to interact by clicking ok its a tad annoying.

Other than that :) kudos yet again!

chunk_1970
2007-04-03, 00:00
Hi C-Quel can you post the log of the problem if possible It may just need an xbmcgui.lock() and unlock setup in a few places or perhaps a variable being toggled to ignore keypresses while its busy doing other stuff....

Update feature...Thats not a problem...

I wanted to leave the main update for a bit as there are probably some other features that I would like to add in...
Like - Ability to display text to inform users what has changed in the updated modules.

Things to Come:
-----------------
Azureus - is getting on my nerves. This problem with setting all files to certain states is causing failures so I'll release a new version when/if I get it working. Although I do have the following working already. 'Delete Torrent/Delete Torrent + data options added and also the ability to change all configuration options downspeed/upspeed/max active/ etc. But this release depends on me solving the Multiple file change problem.

uTorrent:
========
Next release should have all of the additional global configuration options like downspeed/upspeed etc..

chunk_1970
2007-04-04, 21:55
FEATURES Added: (Version 1.10 BETA)
===================================

* REMOVED THE NO UPDATES MESSAGE (REQUEST C-QUEL).

* ADDED A VARIABLE TO IGNORE KEYPRESSES WHEN OTHER ACTIONS ARE IN PROGRESS (REQUEST C-QUEL).

* MODIFIED CORE MODULE TO TRAP FOR 'NO BUFFER MESSAGES'

* NEW SITE MYBITTORENT ADDED.

* UTORRENT NOW HAS THE ABILITY TO VIEW AND ALTER PRIORITIES OF FILES.

* AZUREUS NOW HAS THE ABILITY TO VIEW AND ALTER PRIORITIES OF FILES.

* AZUREUS HAS EXTENDED CONFIGURATION OPTIONS LABELED "GLOBAL OPTIONS"

* AZUREUS NOW HAVE "REMOVE TORRENT AND DELETE" AND "REMOVE TORRENT AND DATA" OPTIONS.

* ALL SITES NOW LOG DOWNLOAD NAMES/URLS TO AN ARRAY SO IF FOR SOME REASON A DOWNLOAD HAS NOT APPEARED IT CAN BE ADDED AGAIN BUT PRESSING THE BLACK(CONTROLLER) OR INFO(REMOTE) WHEN VIEWING YOUR CONTROLLER. ALSO THE OPTION ALL TO RETRY ALL SELECTED DOWNLOADS. THE LIST IS ONLY RESET WHEN THE SCRIPT IS STARTED SO ALL DOWNLOAD CLICKS FOR THE SESSION WILL BE AVAILABLE.



FEATURES Added: (Version 1.05)
===================================

* AUTO-UPDATE CONFIG OPTION ADDED - DEFAULT IS ON - CHECKS FOR UPDATES WHEN SCRIPT STARTS.

* UPDATE MODULES CONFIG OPTION ADDED - PERFORMS THE UPDATE CHECK.

* CONFIG.XML REMOVED FROM BASE INSTALL SO THAT IF IT DOESNT EXIST IT WILL GET CREATED.

* MODIFIED SITE LABELS SO THEY ARE ONLY SET WHEN BUTTON PRESSED. ONLY COSMETIC ISSUE.

* ADDED ICONS FOR HEALTH/STATUS IN AZUREUS - SHOULD MATCH AZUREUS ICONS.

* ADDED ICONS FOR HEALTH/STATUS IN uTORRENT WITH THE FOLLOWING STATES:
- RED = ERRORS
- YELLOW = PAUSED
- BLUE = FORCED
- GREEN = RUNNING / NORMAL
- GREY = UNKNOWN / NOTRUNNING


* ADDED ICONS FOR TORRENT HEALTH FOR ALL SITES WITH THE FOLLOWING STATUS:
- RED = 0 SEEDS
- YELLOW = 1-10 SEEDS
- BLUE = 11-50 SEEDS
- GREEN = >50 SEEDS
- GREY = UNKNOWN SEEDS


FEATURES Added: (Version 1.02)
===================================

* MODIFIED SKINS TO ENABLE MOVING LEFT WILL SEND YOU TO THE DOWNLOADS BUTTON.

* SETUP REMOTE(SKIP+) AND REMOTE(SKIP-) FOR PAGE NAVIGATION WHEN VIEWING SITE.

* SETUP REMOTE(SKIP+) AND REMOTE(SKIP-) FOR MOVING TORRENTS UP/DOWN WHEN VIEWING CONTROLLERS TORRENTS.

* SETUP REMOTE(TITLE) BUTTON TO EMULATE (X BUTTON) BEING PRESSED.

* ADD SEARCH FUNCTIONS TO ALL SITES (BLACK BUTTON) ON CONTROLLER OR (INFO BUTTON) ON REMOTE.

* ADD COOKIE SUPPORT AND ABILITY TO CHANGE SORT FOR TORRENT-SPY.

* ADD MENU(REMOTE) TO PERFORM EXIT FROM SCRIPT.



FEATURES: (Initial Version .99)
===============================

* MULTIPLE LANGUAGE SUPPORT (Only English done but other languages can be setup easily.

* MULTIPLE SKIN SUPPORT (Currently MC360,Clearity,BB Classic and PM3 as default) (Thanks to guibuilder from Nuka1195)

* TOTALLY MODULAR SO THAT ADDITIONAL CONTROLLERS/SITES CAN BE ADDED WITHOUT THE NEED TO CHANGE THE CORE CODE.

* EACH MODULE FULLY CONFIGURABLE FOR TIMEOUT SORT OPTIONS AND DISPLAY LABELS.

* SUPPORT FOR AZUREUS AS A CONTROLLER WITH USERNAME/PASSWORD SUPPORT.

* SUPPORT FOR uTORRENT AS A CONTROLLER WITH USERNAME/PASSWORD SUPPORT.

* SUPPORT FOR EZTV TORRENT SITE WITH FULL PAGE NAVIGATION AND SORT OPTIONS.

* SUPPORT FOR ******** TORRENT SITE WITH FULL CATEGORY AND PAGE NAVIGATION AND SORT OPTIONS.

* SUPPORT FOR ********* TORRENT SITE WITH FULL CATEGORY AND PAGE NAVIGATION AND SORT OPTIONS.

* SUPPORT FOR ********** TORRENT SITE WITH FULL CATEGORY AND PAGE NAVIGATION.


Torrent-X v1.10 Beta (http://xbmc-torrrent-controller.googlecode.com/files/Tor-X%20%28v1.10%20BETA%29.zip)

chrisism
2007-04-11, 13:38
Ejj..
great script, but it's not working here.
I got the latest version from xbmcscripts (1.05) and it says there is a failure with an update.
If I go on the sites and settings work fine, but when I go the downloads to view my azureus actions, it says there is an error and have to look in the error log.
The webui of my azureus is working fine, I get it on another computer just fine. Is there something more needed next to the webui plugin?
In the readme it says you need the XMLTOHTTP plugin, is that something different than the webui plugin?

chunk_1970
2007-04-11, 13:57
Yes you need the xmltohttp plugin. I dont use the webui anymore as if your using a different theme it doesnt work so xmloverhttp works despite any other webui you have installed.

The update failure is not important as it will try again on the next run of the script..

ultrabrutal
2007-04-11, 14:17
chrisism, latest is 1.10... http://xbmc-torrrent-controller.googlecode.com/files/Tor-X%20%28v1.10%20BETA%29.zip

chrisism
2007-04-11, 14:25
Yeah, already tried it with the 1.10 beta version also.
But as you say, it's probably the fact that I dont have the xmltohttp plugin installed.

Where can I get it, because I googled for it and found the webui, thinking that that was the one you specified. Perhaps an idea to add the link in the readme.

When I get it working I'll look if I can create some new site modules to add to the collection ( I use some other closed torrent sites myself ). If I get it working I'll send it to you.

chunk_1970
2007-04-11, 14:31
azureus.sourceforge.net and select plugins on the left had side..

Alternately in azureus select -Plugins->installation wizard->select files by list from sourceforge-> then look for xmloverhttp/xmltohttp cant remember its correct name and install it. Once installed configure it to your needs...

chrisism
2007-04-12, 16:01
well, I installed the xmlhttp plugin, but still get the same errors.
If you go to the URL (and port) of the azureus xml, should you get some output? Because I don't get any output.
I'll check if that is working ok.

chrisism
2007-04-12, 16:05
Some details (when using 1.10 version)
If I look in the script output it has errors on:
core.py - line 57 - data = html.read() -> unboundlocal error
controller.py - line 615 - len(self.WEBDATA) -> something about the len.
controller.py - line 239 - _data = reFindall(Filter,Response)

gzusrawx
2007-04-12, 16:33
When I set it up if you didn't have a username/Password it wouldn't work.

chunk_1970
2007-04-12, 19:30
When I set it up if you didn't have a username/Password it wouldn't work.

I'll have to check that out as Im sure Ive used it without a password...Maybe Im wrong...

chunk_1970
2007-04-12, 19:33
well, I installed the xmlhttp plugin, but still get the same errors.
If you go to the URL (and port) of the azureus xml, should you get some output? Because I don't get any output.
I'll check if that is working ok.

Hi, No you wont get any data reported back to you unless you post and correctly formatted XML file.

Also,
When you change certain parameters in the xmltohttp plugin you will have to re-start azureus for them to be accepted. Also make sure the IP address for the xbox is listed in the list of IP's that xmltohttp is allowing to connect..

chrisism
2007-04-12, 23:16
Yeah, restart did wonders. :p
Now I see him connecting. I editted some code for testing before I knew the restart and in the next version you should also catch a 404 exception when reading the html (core.py line 50).
Because that way I knew that I needed to restart.

Thanks for the help untill now. I am playing with the script connecting my mediaserver with azureus.
It still doesn't connect when I am testing it on my pc with the windows debug xbmc. But at least I have output now in the log of azureus. Need to test it on the xbox next. Hopefully it will work, keep you posted.

chunk_1970
2007-04-12, 23:23
Ive never tested it on the XBMC-PC so I wouldnt know..My error checking is fairly basic but not many problems have been reported to me..

chrisism
2007-04-12, 23:33
ok, so here you go, just some help.
Because I think it's a good script.
Keep it up.

gzusrawx
2007-04-13, 15:11
Chunk_1970,
I know it's

gzusrawx
2007-04-13, 15:14
Chunk_1970,
I know it's in the testing faze but when you feel that you can would you be willing to add support for the nova template for sabnzbd. When I first tried to use the sabnzbd plugin it wouldn't work just gave me errors then I realized I had to change the template back to the original. BTW I also realized I couldn't get it to actually pass the nzb onto sabnzbd and I was also wondering where I enter my newzbin login because I cant normally download nzb's without it.

chunk_1970
2007-04-13, 15:46
The passing of nzbs to download hasn't been coded in yet. As I mentioned I dont have access to actually get to the newzbin download screen. What I will do is just get it to pass the POSTID onto sab so as long as it configured there it will work. Thats the way my old version did it anyways..

As far as adding other templates Im not really sure about that as sometimes they are so different it requires multiple checks and actions for each different template..

gzusrawx
2007-04-13, 16:01
If you need I can supply you with a pay login.

chunk_1970
2007-04-13, 16:39
If you need I can supply you with a pay login.

Thanks for the offer..What I would ideally like to do is download all nzbs to the xbox so I would need good access. Im not in a position to do it at the moment but hopefully on Tuesday Ill be in a position to get things sorted. The reason I want to download them Is that when optips code goes into XBMC I can have it pass the file directly to his for direct streaming...It also allows the ability to add a smb module to people can pass the files to other newsgroup readers that wait for files in a directory (Dont know what ones do that though?)

gzusrawx
2007-04-13, 17:11
Well I don't know about others but sabnzbd does it "NZB blackhole"

officechris
2007-04-30, 20:11
How's the progress on NZB Passing for TorrentX? Really looking forward to it! Is there a search functionality built in for Newzbin currently? I just saw category browsing.

Tomkun
2007-05-03, 10:08
I love this script, but I can't use 'The Pirate Bay'. As I live in Japan, I am assuming that the script is using the Japanese language version of the site, unfortunately all I am getting on the screen is nonsense characters. Is it possible to either force it to use the English language version of the site, or fix the Japanese characters?

Ingsy
2007-05-03, 14:54
I gather it's not possible to have something like uTorrent actually running on the Xbox then? That way you could download stuff direct to the Xbox instead of having to have the PC on all the time.

I'm new to all this, so have no idea of whether it's possible. I gather it's not otherwise it would have been done by now?

ultrabrutal
2007-05-03, 21:29
Find an opensource torrent application and make it run in a thread in XBMC ;)

mikejones
2007-06-20, 05:51
Torrent-X doesn't work with the xTV skin because the XTGUI.xml file is missing. Does anyone know how to create one or modify one of the other GUI.xml files located in the 'skins' folder of the Torrent-X script folder.

Thanks for the great script. I'm using it with uTorrent on a old PC setup as a server. Anyone who haven't read the readme file and is not using all the features of Torrent-X...read it and enjoy your new found freedom...

kortina
2007-06-24, 15:28
How do I get the Torrent-Controller to work without using the defualt download directory?

Can the torrent-controller specify the diretory to download the content to?

This would be really handy, because I download different content, and it is all stored in different directories!

If I put in a default location, then all of the stuff arrives in a place that XB<C wont be able to see.

C-Quel
2007-07-22, 15:41
Great script... seems to lockup fairly easy though... ill grab a log for you asap. Nip in and out of config a couple of times or check Downloads and thats it.

yzeyze
2007-07-23, 15:43
Looks fantastic....
Would it be possible to add a private site to the list that requires a username/password at all, or is that a bit difficult due to them all using different formats etc?

chunk_1970
2007-07-23, 16:05
This version has been obsolote for some time. Torrent-X is the re-incarnation of this. I am also in the process of re-writing it to tidy things up and fix some problems and also add a few more options.

Heres whats happenning:
- Move chosen controller configuration options onto the main Upload/Download buttons rather than tagging them onto the torrent options..
- Remove the Second Label config options from config menus. Instead these will now be changed by pressing 'right' on the DPAD and the config is automatically updated. Makes it alot easier and quicker to view extra info.
- Have backups of last view so rather than the list being reset when a failure occurs it will revert to the previous good list..

+ More but im just trying to get it all functional with the re-write. I also want to get the SABnzbd fully functional and working..

chunk_1970
2007-07-23, 16:06
Looks fantastic....
Would it be possible to add a private site to the list that requires a username/password at all, or is that a bit difficult due to them all using different formats etc?

Private sites are possible but that all depends on the site and how many people would like to see it added..

chunk_1970
2007-07-23, 16:10
I think im going MAD!!!!..Dont know which thread im In....!!!

cearum
2007-07-31, 04:53
I keep getting the same error messages when I use this. I'll post the error message and see if anyone can help me with this. It looks like a nice program too.

REQUEST START: 192.168.1.12, time: 9:49:01 PM, User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
[21:49:01] About to deserialise the RPRequest
[21:49:01] Beginning deserialisation of RPRequest instance.
[21:49:01] Deserialising field ("method", type: String)
[21:49:01] Attempting to deserialise simple value of type "String"
[21:49:01] Deserialisation of simple value successful.
[21:49:01] Field "method" deserialised and set.
[21:49:01] Deserialising field ("connection_id", type: long)
[21:49:01] Attempting to deserialise simple value of type "long"
[21:49:01] Serialising object of type "NumberFormatException"
[21:49:01] Need to use XMLSerialisationUtils to serialise NumberFormatException@1bca1c3
[21:49:01] Going to process 0 attributes on NumberFormatException@1bca1c3
[21:49:01] Finished serialising NumberFormatException@1bca1c3
REQUEST END

cearum
2007-07-31, 04:57
Odd I just tried it again but this time I set a user/pass and now it seems to work just fine. I'll be putting this too good use tonight me thinks. :)

chunk_1970
2007-07-31, 11:14
I am currently working on creating an updated version that will be more stable and resistant to comms failures..Dont know exactly when it will be released though..

chunk_1970
2007-08-13, 16:24
New Version 1.50 BETA release.
- Virtually a complete rewite.
- Config options for sites/controllers have been moved into the modules for ease.
- all torrent/nzb files downloaded to xbox now. For future feature like sorting/stream ready for nzbs,
- Search features probably wont work at the moment as I have checked looked at them yet.
- pressing left on list in sites/controllers will change through the available additional labels.
- when focused an additional label with all info is displayed as part of the item.
- Sabnzbd users must be using 0.2.5 and using the default theme.
- Azureus users must have xmltohttp installed and configured.
- uTorrent users must have webserver enabled due to an unresolved problem sending files that i havent been able to fix yet.
- XBMC must be the bleeding edge version to be able to display the additional label info when focussed.
- Nnzbmatrix site requires an account to be created.
- Nzbsrus site requires an account to be created.
- Newzbin site is only for viewing at the moment as i dont have a access to download nzbs (Anybody willing to donate access to complete this please Pm me)

- Probably alot more but i hate trying to document all the changes..

--- Get It Below --

You will need to blow away your old version before installing this one.
Any problems please post them here..
http://xbmc-torrrent-controller.googlecode.com/files/Torrent-X%20%28v1.50%29%20WindowXml%20MC360%20and%20PM3.ra r

Typhoid Mary
2007-08-16, 06:53
Nice script! So far no problems with the beta, will keep testing :)

Typhoid Mary
2007-08-19, 05:30
Bugs:

Using AZ

DL/UL speed toward bottom of DL screen lays on top of torrent listing when more then 8(?) torrents are listed. Just a visual thing.

In downloads/action Forcestart is listed but not Queue. Just wondering why Queue is not listed as I would prefer to Q items. I dont know if this is xmltohttp limitation or not as I have never used it before now.

In downloads when a torrent is highlighted could you add ETA to the scrolling list? Or better yet a user defined scrolling list?

Why does the torrent remain to be upload to AZ? I thought this was not needed now. Of course I could just clear it.

In uploads the ratio listed is off by a full decimal place. I had a torrent that was only at .098 but it shows as .98 in Torrent-X.

Thats it for now. Keep up the good work :)

chunk_1970
2007-08-19, 11:39
DL/UL speed toward bottom of DL screen lays on top of torrent listing when more then 8(?) torrents are listed. Just a visual thing.

Ok, which skin is that in.


In downloads/action Forcestart is listed but not Queue. Just wondering why Queue is not listed as I would prefer to Q items. I dont know if this is xmltohttp limitation or not as I have never used it before now.

Start will Queue if you have queues set as that is how Az does it.


In downloads when a torrent is highlighted could you add ETA to the scrolling list? Or better yet a user defined scrolling list?

Yes, Ill look into that as Im sure that does get reported. There is an option if you press right on the torrent that it will switch through available labels so you can have a default display. Doing a user defined list would probably not be worth it. I'll look into how many other items are reported for a torrent I can add.


Why does the torrent remain to be upload to AZ? I thought this was not needed now. Of course I could just clear it.

Can you explain I dont understand what your saying. Are you talking about why there on disk.


In uploads the ratio listed is off by a full decimal place. I had a torrent that was only at .098 but it shows as .98 in Torrent-X.

Cheers I keep missing that one.


Thanks for your input. I will get an update out soon that can be grabbed via auto-update.

chunk_1970
2007-08-19, 14:36
Torrent-X v1.51 now released:

Just a few minor changes:
- AutoUpdate wasnt working due to slight change in googlecode site
- Config.xml will now be moved into q:/userdata/scripts directory as TorrentX.xml

To Update:
- Move the config.xml to another directory.
- Delete the old Torrent-X directory
- Install the new version
- Copy the config.xml back into the Torrent-X directory (The script will automatically move it to where it needs to be)
** Done **

If you do an 'Check Updates' then or have it on by default you will receive updates for Sabnzbd and Azurues to fix some small issues..

The new download is available from my Signature below..

chunk_1970
2007-08-20, 01:31
Another Version: v1.52
=================

This version is now fully auto-updateable. The skins/language/core/and default can all be updated easily now. So this should be the last posted update as everything now will come through the auto update system (Heres Hoping anyway)..

Enjoy..Any problems let me know as is going to be so much easier to create updates and less hassle for you guys aswell.

Typhoid Mary
2007-08-20, 03:11
Ok, which skin is that in.

Mayhem III (default skin)





Can you explain I dont understand what your saying. Are you talking about why there on disk.

From what I've read about the older version the .torrent files were stored on the x-box and then manually uploaded to the machine running AZ. Now thats no longer needed but the .torrent files are still on the xbox (when I hit some button I could upload them if I wanted)...Sorry I am using a universal remote and forget which button is A or B and such, so I sort of smashed the buttons when first trying Torrent-X :)
Perhaps its a non-issue and the .torrent files are cleared on exit?

chunk_1970
2007-08-20, 04:47
Mayhem III (default skin)
Ok, Ill look into that as ive been developing using XBMC_PC i havent seen the overlap.

From what I've read about the older version the .torrent files were stored on the x-box and then manually uploaded to the machine running AZ. Now thats no longer needed but the .torrent files are still on the xbox (when I hit some button I could upload them if I wanted)...Sorry I am using a universal remote and forget which button is A or B and such, so I sort of smashed the buttons when first trying Torrent-X :)
Perhaps its a non-issue and the .torrent files are cleared on exit?
The reason there back on there is going to be for people using unsupported controllers to pass files to SMB shares. The files can be cleaned out at any point using the "Config->Clear All" or "Config->Clear Torrents" options.

chunk_1970
2007-08-20, 15:15
Another small update to v1.56 of the main core.
1.56 - Put in a check to create the UserData/Scripts directory if it doesnt exist.

Available via the AutoUpdate.

BAG_Ass
2007-09-12, 20:58
Can u add UTF-8 support? I use Cyrillic for filenaming?
Thanks!

tranceology3
2007-09-13, 12:04
Does Torrent-X actually let you download the torrents, and load them in Azureus all from the xbox. I have configured everything to where i can view Azureus from my xbox (files dl and ul) but when i browse torrent sites and click "A" on the torrent it gives me an error everytime. Is there something im doing wrong?

BAG_Ass
2007-09-13, 13:32
tranceology3
did u configure www access to ur Azureus client? without this config it doesn`t work

tranceology3
2007-09-14, 02:39
Im not sure what you mean by configuring www access to my azureus client?

Do i have to configure anything else from within the xbox using torrent-x?

BAG_Ass
2007-09-14, 12:41
tranceology3
i use uTotrrent and if i want to see some from up or download i should download web-interface.zip file from developer site, put it to folder on my hdd and configure access to it. I think u should do same in azureus

Igot1crab
2007-09-28, 20:19
BAG Ass

Could you explain.
Where do you get the web-interface.zip?
And does it go on the PC HDD or the XBOX HDD?

Thanks.

moeburn
2007-10-04, 03:36
Hey,
first let me say Torrent-X is an excellent piece of software. How awesome it is to be able to download, on demand, any TV show or movie or game I want, for free.

Unfortunately, I can't. I'm running uTorrent and Torrent-x can see my upload/download queue, and i can surf the torrent sites for torrents, but when I click on them, a small dialog box comes up that says "Starting request..." then disappears. It doesn't add the torrent to uTorrent at all. uTorrent's actual webserver is running just fine, so can anyone explain why this doesn't worl?

Chronusdark
2007-10-05, 03:33
im using the latest torrent-x and im getting an error when downloading a torrent with utorrent the error message says IOError: [errno 2] No suck file or directory
then it shows the path name with like this
Q:\\scripts\\torrent-x\\files\\torrent\\<torrent name here>

the error is in ******** torrentsite.py line 446 in GetTorrent

i think the error might have something to do with the double slashes but i cant be certain if you need more info just let me know

blittan
2007-10-05, 20:44
the double slashes are a \ escaped in python (so that is correct).. BUT the script do not create the necessary directories, so you need to make them manually.. follow the path and create the ones needed.

Chronusdark
2007-10-05, 23:01
the double slashes are a \ escaped in python (so that is correct).. BUT the script do not create the necessary directories, so you need to make them manually.. follow the path and create the ones needed.

Worked great Thanks

Chronusdark
2007-10-06, 01:15
i have a feature request can you make it to set a default controller when you start the script, it would make things a little easier for people like my wife (im trying to dumb down the whole torrent process for her)

blittan
2007-10-06, 01:28
chunk_1970: a few things to change in your script!

1: Make the script check if the paths it uses exists, otherwise use makedirs('path')
This is necessary to avoid simple errors that most users dont understand and just trashes the script.

2: change the save location to p:\script_data\torrentx\ (or p:\script_data\torrent-x\)
this is the default save location for scripts (p:\script_data) points to current profiles userdata directory where we create a script_data and then a subdirectory with the scripts name

3: change all filenames and paths to use lowercase names (hat way there wont be any misshaps if the script is run on linux or whatever platform used!
As you might be aware of xbmc is under porting to several platforms, and I just realised it when using XBMCScripts installer under linux.

chunk_1970
2007-10-06, 01:41
Thanks guys. I will look into those problems. Ive lost the password to my old chunk_1970 account and my e-mail account that it was setup with doesnt exist anymore so this will be my new logon unless i can get the admin guys to fix it..

Also moved and started a new job but I will soon start some bug fixing. As i am aware of a few other minor glitches...

blittan
2007-10-06, 11:54
chunk: still have the @gmail.com account used at your googlecode ?

moeburn
2007-10-26, 04:11
Hey guys, I still can't get it to work. Utorrent doesn't receive the messages sent to it by TorrentX.

moeburn
2007-10-26, 04:24
Is it supposed to be able to download torrents to uTorrent, or is that a feature yet to be implemented? Because all I get is a "Starting request..." dialogue, then back to the list of torrents available for download.

blittan
2007-10-26, 10:37
moeburn: can you connect to uTorrent using a browser? You need the webgui, which isn't included in the install of uTorrent (its a seperate file that you need to install manually)

moeburn
2007-10-27, 04:53
moeburn: can you connect to uTorrent using a browser? You need the webgui, which isn't included in the install of uTorrent (its a seperate file that you need to install manually)

??

Sorry, I don't think you understand my problem. I do have the webgui installed, that is how TorrentX can see what my downloads and uploads are. However, when I browse for torrents on the websites provided in TorrentX, then I select them, I get a brief dialog that says "starting request..." and then disappears. I go back to the downloads tab, and the torrent has not been added.

The web gui works flawlessly, and I can add torrents without any problems. Is there a way to just download the torrents to the harddrive with Torrent-X? The Torrentbrowser script doesn't work anymore.

blittan
2007-10-27, 13:50
have you made the correct folders (since torrentx dont create them)?

if not see my post a bit up.

Also there might have been changes to the sites so that torrentx dont get the correct links.

moeburn
2007-10-27, 22:58
have you made the correct folders (since torrentx dont create them)?

if not see my post a bit up.

Also there might have been changes to the sites so that torrentx dont get the correct links.

I don't know what folders you are talking about. If you mean the folder Q/scripts/Torrent-X/files/torrent/, yes, I have that folder. There are torrents in it that I tried to download using Torrent-X, but they did not make it to uTorrent.

When I select a torrent to download, I don't get an error. I get "Starting request..." for 2 seconds, and then nothing.

replayed
2007-11-01, 00:52
I can't get Torrent-X to remember my uTorrent settings (IP, port, user, pass) between invocations, so that I have to input that information again every time I launch Torrent-X from XBMC.

Is this the way it's supposed to work, or is there a way to store those settings permanently?

I've searched around but can't seem to find an answer to this.

Thanks in advance for any replies.

Gamester17
2007-11-01, 12:05
I like to suggest/request that TorrentFlux (http://en.wikipedia.org/wiki/TorrentFlux) supports get added to this Torrent-controller script.

I would love to be able to control TorrentFlux (or more specificly TorrentFlux-b4rt) from XBMC.

PS! TorrentFlux GUI is PHP web-site based and always accessable via a webbrowser over the internet.

chunk_1970
2007-11-05, 22:00
Never used TorrentFlux but will have a look into it for you Gamester17. Anything to help you guys out for all the time and effort u guys put into XBMC...

Gamester17
2007-11-06, 11:58
TorrentFlux is THE BEST front-end (user-interface) IMHO!
...it does support several different BitTorrent back-ends.

You (and anyone using torrents) should really checkout TorrentFlux-b4rt (http://tf-b4rt.berlios.de)

:cool:

tiburonguy
2007-11-08, 02:56
Does anyone know how to get Newzbin to load up. I got it to load in the sites section and I click TV-All and after that it goes to an error.

Did I set up something wrong?

I put my login and password in Sabnzb.

ruffinius
2007-12-04, 07:03
I found the default IP in the Controller folder and sub folder of whatever controller you're using. I then edited the controller.py with wordpad. An example below.

## Azureus Network Info
self.TIMEOUT = int(10.0)
self.FILEHASH = ''
self.IP = '192.168.0.100'
self.PORT = '66666'
self.USER = 'luckyguy
self.PASS = 'password'
self.URL = 'http://%s/gui/'
self.LoginType = 'BASIC'

gzusrawx
2007-12-04, 23:55
I was wondering if you could implement the ability to browse/search v3.newzbin.com and donwload the nzb's to a directory for use with any nzb downloading software? Also it would be neat to add the ability to use rss feed's as to browse an rss feed and download from it.

tranceology3
2007-12-18, 04:38
So i finally got Torrent-X to work with azureus. I had to set my file path to XBMC/scripts/torrent-X/files/torrent/

It works like a charm, adds the torrent and starts downloading.

But the only torrent site that works right now is *********. Is there something else i need to configure to get others to work?

Terron
2008-01-25, 19:49
EZTV switched from eztvefnet.org to eztv.il and now the controller no longer works for that site. I tried changing the URL in the python script to the new address but it still doesn't work. Anybody have a working controller?

Chronusdark
2008-01-25, 20:04
i just changed the url to eztv.it and it worked fine
make sure it was .it not il

Terron
2008-02-12, 09:08
i just changed the url to eztv.it and it worked fine
make sure it was .it not il
Ah, seems I just made a typo.

On another note, I'm having problems getting uTorrent to download torrents I select from within torrentx. It shows an add-url action for "http://192.168.1.104/TmpTor.Torrent&list=1" in the uTorrent logger but nothing downloads and when I do that URL manually I get

Access Error: Site or Page Not Found

Cannot open URL from my browser.

Chronusdark
2008-02-26, 22:04
same issue has anyone fixed this?

Chronusdark
2008-03-27, 21:31
is this script dead? if not i need help connecting it to my SABNZB

kareem613
2008-12-27, 23:54
I know this thread seemed to die a little while a go, but I'm not sure when compared to the release of Atlantis.

Did this script ever work in Atlantis? It tries to load, then does nothing for me.

I'm playing with it now trying to fix the paths. I see some of them aren't set right.

The error I keep getting now is

XML file for window is missing on line 1121
MyDisplay = GUIS("skin.xml", ResPath, "Default")

The only skin.xml file I see in ResPath is in a "PAL" folder. I'm set to 720p.
Could that be a problem?

kareem613
2008-12-28, 16:25
Alright. I got past yesterday's issue.

I have it loading up and displaying the torrent list from uTorrent.

There are a few things left to do.

1. Make it create the config properly. The functionality is there, but it isn't creating the settings xml file if it doesn't already exist. If its already there, it works fine.

2. Its built for use with the XBox controller only. I'd like to make it so you can use up/down keys on a remote or keyboard and use the info button etc..

3. Making a 720p skin

I'm a developer but have zero python experience. Does anybody want to help me out with this one?

R111
2009-01-01, 10:55
how did you got it to load?

Arias
2009-01-04, 21:11
can someone write a step-to-step guide to get it to work with uTorrent ? I think Im kind of confused...

calvin8714
2009-01-10, 10:31
kareem613:
how did you fix the paths??

up/down/left/right should work using the keyboard, and the info. button on keyboard could be the 'i' key. 'A' should be the 'enter' key.

arias:
for others, maybe you as well, you need to have a webui.zip file in the application folder. this file is available here in the first post: http://forum.utorrent.com/viewtopic.php?id=14565

rename it to webui.zip

for xp, click start, run, then type "%appdata/utorrent/"
for vista, click start, type "%appdata/utorrent/" in the search bar
now place the webui.zip file into the folder, but don't extract it.

when in utorrent, press "Control" and "P" to bring up the Preferences menu.

on the left, there should be a "Web UI" option, click it, then make sure the "Enable Web UI" checkbox is checked.

set your username and password to your liking

changing the port is optional, which i believe can be changed in torrent-x thru its configuration as well.

go to the control panel, open "Network Connections" then find the IP address of the computer. if you're behind a router, at this point, you'd only be able to access this within the network, not from a remote location. you'd have to look into how to set that up, since there's so many variations on how this is done between both companies and products.

to check that it's running, with your IP address from above, port number (8080, unless you changed it), your username and password, open the webpage thru a web browser:http://youripaddress:port/gui/
and enter the username and password in the appropriate boxes.

now, in torrent-x, find the configuration settings for the script, and input this information into the appropriate fields.

mgirotra
2009-01-13, 15:40
Alright. I got past yesterday's issue.

I have it loading up and displaying the torrent list from uTorrent.

There are a few things left to do.

1. Make it create the config properly. The functionality is there, but it isn't creating the settings xml file if it doesn't already exist. If its already there, it works fine.

2. Its built for use with the XBox controller only. I'd like to make it so you can use up/down keys on a remote or keyboard and use the info button etc..

3. Making a 720p skin

I'm a developer but have zero python experience. Does anybody want to help me out with this one?

kareem.. How did you do that?? I mean getting past the issues. I am getting the exact same problem

kareem613
2009-01-16, 02:20
I have nowhere to put the files to share and I'm leaving town for 2 weeks. When I get back I'll share them somehow.

All I did was change the paths it was point to, to the appropriate locations. It was assuming path structures based on an older XBMC I suppose.

I only messed with the top section of the file where it declares the locations of everything.

calvin8714
2009-01-22, 03:23
I tried fooling around with Torrent-X to get it working, and it does seems to work for me. Can some of you try it out as well, and post your results here? I also fixed some location references that probably would have prevented this from running across the different XBMC platforms, or at least prevent images from being displayed. I don't know enough to add the ability to get the keyboard to work... sorry.

http://www.leknifragonline.net/RunXM/Torrent-X.zip

kareem, didn't mean to step on your feet here. I didn't see your response until after I tinkered around with the script on my own.

mikency
2009-01-23, 14:11
I will try it today and I will let you know

Meez
2009-02-27, 23:41
i downloaded and installed the file above and it works with XBMC build 01-25-2009. i use windows XP, Azureus 2.5.0.4., XML over HTTP v1.1, and MC360.

question... i can view my downloads/uploads, but am i supposed to be able to select individual torrents in the download window and start/stop/pause them? i can only select the tabs at the top of the page. i push down on the d-pad, but i can't select the torrents.

thanks!

calvin8714
2009-03-02, 00:47
d-pad on your keyboard, i'm assuming?

it's my understanding that this script was built for the xbox and it's controls. unfortunately, i'm not familiar enough with the coding to manipulate it to allow the control of the script with either an xbox controller or a computer keyboard in a way that will not break the script.

Meez
2009-03-02, 05:44
yes, i only use a controller.

also, i just notices that the stop/start/pause/resume all torrents doesn't work either. i get an error,

Traceback (most recent call last):
File "Q:\scripts\Torrent-X\controllers\Azureus\controller.py", line 741, in ConfigMenu
Response = self.XmlHttp(Object,Options[Answer][1],Options[Answer][2])
UnboundLocalError: local variable 'Object' referenced before assignment


maybe you can look into it.?

XBLgamertag
2009-05-14, 19:08
Hi,
I downloaded and tried Calvin's files, at least I can launch the script now, but it doesn't work like it used to...

I'd be happy to help with testing (on my new version of XBMC) and take some screenshots etc of it running on my old version of XBMC. Wish I knew a bit more about python, but I don't :S

chunk_1970
2009-05-27, 21:25
Hi All,

Im the original developer although I have left this for some time due to work commitments. I am currently looking into converting them into auto updateable plugins (Hopefully!) once I've learnt how to do it properly.

After so long I cant even understand my own code, so a re-write is probably a good thing. I think Torrent-X was far too complex trying to be so many things for so many people so breaking it down may be better.

Meez
2009-05-27, 23:25
great to hear about an update! i look forward to the new release.

chunk_1970
2009-06-03, 21:04
Hopefully I will have a release in the next couple of days. Im trying to get all the functionality that the old version had.

Currently all navigation and control is working. Just got to add the ability to view and modify individual files within the torrents, then I will be happy with it for a first release.

Im currently testing on Babylon (I think!) version of XBMC.

Pre-requisits:
xmloverhttp (Same as before)
username and password for xmloverhttp plugin has to be setup.

Watch this space...

Meez
2009-06-03, 23:35
thats great news! i'll be looking forward to testing this out!

chunk_1970
2009-06-04, 02:30
Hi All,

The Azureus plugin is now available to download from my Sig below.

As Stated:
1, You must have XMLoverHTTP installed in Azureus/Vuze.
2, The XmloverHTTP must have a Username/Password setup. Configuration menu will pop up when you first run the plugin.

Hopefully one of the many Python devs will give me access to the SVN-PLUGINS so that these can be easily maintained.

:shocked:Enjoy. There is not much in the way of error checking/debuging in this version.

Meez
2009-06-04, 05:46
i get this error. i am using azureus 2.5.0.4, java 6.0.14.

22:44:18 M: 31375360 NOTICE: -->Python Initialized<--
22:44:18 M: 31375360 NOTICE:
22:44:20 M: 27684864 NOTICE: --UpdateSettings--
22:44:20 M: 27684864 NOTICE:
22:44:20 M: 27684864 NOTICE: --get_params--
22:44:20 M: 27684864 NOTICE:
22:44:20 M: 27684864 NOTICE: Traceback (most recent call last):
22:44:20 M: 27684864 NOTICE: File "Q:\scripts\Azureus\default.py", line 705, in ?
22:44:20 M: 27684864 NOTICE:
22:44:20 M: 27684864 NOTICE: params=get_params()
22:44:20 M: 27684864 NOTICE: File "Q:\scripts\Azureus\default.py", line 665, in get_params
22:44:20 M: 27684864 NOTICE:
22:44:20 M: 27684864 NOTICE: paramstring=sys.argv[2]
22:44:20 M: 27684864 NOTICE: IndexError
22:44:20 M: 27684864 NOTICE: :
22:44:20 M: 27684864 NOTICE: list index out of range
22:44:20 M: 27684864 NOTICE:
22:44:20 M: 27684864 ERROR: Scriptresult: Error
22:44:24 M: 28209152 NOTICE:
22:44:24 M: 28209152 NOTICE:

chunk_1970
2009-06-04, 09:26
As this is a plugin. You need to install it under the scripts\plugins\ area.

Meez
2009-06-04, 17:02
i put it in, /XBMC/plugins/programs. thats what you meant, right? well, it works great so far! i just get an error when i try to pause all torrents,


09:56:11 M: 33112064 NOTICE: -->Python Initialized<--
09:56:11 M: 33112064 NOTICE:
09:56:13 M: 28024832 NOTICE: --UpdateSettings--
09:56:13 M: 28024832 NOTICE:
09:56:13 M: 28024832 NOTICE: --get_params--
09:56:13 M: 28024832 NOTICE:
09:56:13 M: 28024832 NOTICE: Mode: 1000
09:56:13 M: 28024832 NOTICE:
09:56:13 M: 28024832 NOTICE: URL: Download-Options
09:56:13 M: 28024832 NOTICE:
09:56:13 M: 28024832 NOTICE: Name: >> Downloads: 0.2 kB/s - Max: [0K] << >> Uploads: 2.0 kB/s - Max: [3K] <<
09:56:13 M: 28024832 NOTICE:
09:56:13 M: 28024832 NOTICE: Download - Extras
09:56:13 M: 28024832 NOTICE:
09:56:15 M: 28028928 NOTICE: --DownloadMgr--
09:56:15 M: 28028928 NOTICE:
09:56:15 M: 28028928 NOTICE: --CheckComms--
09:56:15 M: 28028928 NOTICE:
09:56:15 M: 28028928 NOTICE: --InitConnection--
09:56:15 M: 28028928 NOTICE:
09:56:15 M: 28028928 NOTICE: --XmlHttp--
09:56:15 M: 28028928 NOTICE:
09:56:15 M: 28028928 NOTICE:

<REQUEST>

<METHOD>getSingleton</METHOD>

<REQUEST_ID>1244127375</REQUEST_ID>

</REQUEST>
09:56:15 M: 28028928 NOTICE:
09:56:15 M: 28028928 NOTICE: --HttpCmd--
09:56:15 M: 28028928 NOTICE:
09:56:16 M: 28028928 NOTICE: -Response-Init Connection
09:56:16 M: 28028928 NOTICE:
09:56:16 M: 28028928 NOTICE: <?xml version="1.0" encoding="UTF-8"?>

<RESPONSE>

<_connection_id>9110525543824761323</_connection_id>

<_object_id>2687692529749350919</_object_id>

<azureus_name>Azureus</azureus_name>

<azureus_version>2.5.0.4</azureus_version>

<plugin_id>xml_http_if</plugin_id>

<plugin_name>XML over HTTP</plugin_name>

</RESPONSE>
09:56:16 M: 28028928 NOTICE:
09:56:16 M: 28028928 NOTICE: ELements:_object_id
09:56:16 M: 28028928 NOTICE:
09:56:16 M: 27881472 NOTICE: ELements:_connection_id
09:56:16 M: 27881472 NOTICE:
09:56:16 M: 27881472 NOTICE: --XmlHttp--
09:56:16 M: 27881472 NOTICE:
09:56:16 M: 27881472 NOTICE:

<REQUEST>

<OBJECT>

<_object_id>2687692529749350919</_object_id>

</OBJECT>

<METHOD>getDownloadManager</METHOD>

<CONNECTION_ID>9110525543824761323</CONNECTION_ID>

<REQUEST_ID>1244127376</REQUEST_ID>

</REQUEST>
09:56:16 M: 27881472 NOTICE:
09:56:16 M: 27881472 NOTICE: --HttpCmd--
09:56:16 M: 27881472 NOTICE:
09:56:16 M: 27877376 NOTICE: -Response-DownloadMgr
09:56:16 M: 27877376 NOTICE:
09:56:16 M: 27877376 NOTICE: ELements:_object_id
09:56:16 M: 27877376 NOTICE:
09:56:16 M: 27877376 NOTICE: Traceback (most recent call last):
09:56:16 M: 27877376 NOTICE: File "Q:\plugins\programs\Azureus\default.py", line 817, in ?
09:56:16 M: 27877376 NOTICE:
09:56:16 M: 27877376 NOTICE: Extras()
09:56:16 M: 27877376 NOTICE: File "Q:\plugins\programs\Azureus\default.py", line 324, in Extras
09:56:16 M: 27877376 NOTICE:
09:56:16 M: 27877376 NOTICE: Response = XmlHttp(Object,Options[Answer][1],Options[Answer][2])
09:56:16 M: 27877376 NOTICE: UnboundLocalError
09:56:16 M: 27877376 NOTICE: :
09:56:16 M: 27877376 NOTICE: local variable 'Object' referenced before assignment
09:56:16 M: 27877376 NOTICE:
09:56:16 M: 27877376 ERROR: Scriptresult: Error
09:56:22 M: 28401664 NOTICE:
09:56:22 M: 28401664 NOTICE:
09:56:22 M: 34021376 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://programs/Azureus/?url=Download-Options&mode=1000&name=%3E%3E+Downloads%3A+0.2+kB%2Fs+-+Max%3A+%5B0K%5D+%3C%3C++++%3E%3E+Uploads%3A+2.0+k B%2Fs+-+Max%3A+%5B3K%5D+%3C%3C
09:56:22 M: 34021376 ERROR: CGUIMediaWindow::GetDirectory(plugin://programs/Azureus/?url=Download-Options&mode=1000&name=%3E%3E+Downloads%3A+0.2+kB%2Fs+-+Max%3A+%5B0K%5D+%3C%3C++++%3E%3E+Uploads%3A+2.0+k B%2Fs+-+Max%3A+%5B3K%5D+%3C%3C) failed


maybe you can fix it? thanks!

chunk_1970
2009-06-04, 18:15
Cheers,

I will look into it as I had not tested all the functionality as the majority of the code was from my old script.

chunk_1970
2009-06-04, 18:49
Ok, I got to admit that thats the one section that I didn't do any checking on. Cheers Meez

All the options within that section should now work..Updated download file from signature link.

Meez
2009-06-04, 23:39
works great!! i'll do some more testing and if i find a bug, i'll let you know! :)

chunk_1970
2009-06-09, 21:21
Updated Azureus and Associated plugins all available from my Sig...
Todo:
- String localization for multiple languages.
- Search facility for site plugins.
- Ability to read site comments and get more detailed info.
+ Anything else people think may be of use.


Looking for people willing to develop plugins for various sites of their choosing.

kricker
2009-06-26, 23:54
Is there anyway to use the additional torrent website plugins with the new uTorrentWebUIController plugin? I'm really wanting to use the EZTV plugin, but running it by itself does not work. I get an error:
Error
Python Script Failed:
Special://Home/Plugins/Programs/EZTV/Default.py

I can get you a log if you need it.

Gamester17
2009-06-27, 14:55
@chunk_1970, please update your initial post in this topic thread, it is really in desperate need of updating :;):

...people who stumble upon this thread should just need to read the initial post to know the latest news :nod:

chunk_1970
2009-06-27, 17:35
Is there anyway to use the additional torrent website plugins with the new uTorrentWebUIController plugin? I'm really wanting to use the EZTV plugin, but running it by itself does not work. I get an error:
Error
Python Script Failed:
Special://Home/Plugins/Programs/EZTV/Default.py

I can get you a log if you need it.

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..

Gamester17
2009-06-27, 20:48
@chunk_1970, please update your initial post in this topic thread, it is really in desperate need of updating :;):

...people who stumble upon this thread should just need to read the initial post to know the latest news :nod:Maybe the topic summery needs to be updated as well? ???

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

Is this still valid or should it be changed or more added? ???

f3ar007
2009-06-27, 23:27
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..

The uTorrent Plugin (http://xbmc.org/forum/showthread.php?t=53367) I wrote loads torrents from special://profile/torrents/. This should be the same as the Torrent-Controller for Azureus and ABC. :cool:

chunk_1970
2009-06-27, 23:34
Maybe the topic summery needs to be updated as well? ???

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

Is this still valid or should it be changed or more added? ???

Thanks for the heads up - updated now.

chunk_1970
2009-06-28, 01:05
Just a quick ask if any other bit-torrent software people would like to see a xbmc plugin for:

Does anyone still use ABC?

kricker
2009-06-28, 03:31
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..
The uTorrent Plugin (http://xbmc.org/forum/showthread.php?t=53367) 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.

f3ar007
2009-06-28, 03:50
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 (http://xbmc.org/forum/showthread.php?t=53367) 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 (http://xbmc.org/forum/showthread.php?t=53367).

kricker
2009-06-28, 03:54
I haven't used the search plugins, I think they are stand alone. However, the uTorrent Plugin (http://xbmc.org/forum/showthread.php?t=53367) 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 (http://xbmc.org/forum/showthread.php?t=53367).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.

medicineuk
2009-07-06, 15:44
I can't seem to find XMLoverHTTP in my plugins list I'm using Linux

Is it the same thing as Sway UI?

chunk_1970
2009-07-06, 23:38
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.

gui
2009-07-09, 02:48
anyone willing to write a step by step tutorial to how to install and make this plugin work?

kricker
2009-07-09, 04:54
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.

r0ck3t
2009-08-30, 20:01
I tried with Azureus in Ubuntu 9.04.

It just tells me that there is an error... the debug log shows:

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.

chunk_1970
2009-09-01, 12:22
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.

r0ck3t
2009-09-02, 15:30
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?