Torrent-controller (formally known as "Azureus controller") for Azureus and ABC

  • Previously Called - Azureus Controller 1.0.

    I will be changing the name to Torrent-Controller as it is now no longer just for Azureus as full ABC controlls have also been added. Also just save to disk for those people who use UTorrent. UTorrent support will be added when the software supports network control..

    Below is a list of the features that will be available when released which should be by the end of the week.

    Work Done Since Last Update of Azureus-Controller:

    * Currently supported Bit-Torrent downloaders.

    - Azureus:
    (Options - View,Add,Stop, Start, Delete...)
    - ABC:
    (Options - View,Add,Stop, Start, Delete...)
    - DISK:
    (Just saves torrent files locally)

    * Add Torrent Now opens Menu to choose site to browse the currently supported sites are.

    - EZTV:
    Features:
    Search
    Configurable Sort Types:
    Retrieve 40/100 entries at a time

    - T-SPY:
    Features:
    Full Category Navigation
    Search
    Next Page
    Prev Page,
    Configurable Sort Types:
    Name
    Date
    Size
    Seeds
    Leechs

    - TORRENT-SPY:
    Features:
    Full Category Navigation
    Search
    Next Page
    Prev Page,
    Configurable Sort Types:
    Name
    Date
    Seeders

    * Now has capability to use save/read from config file.

    * Automatically attempts to read config file when started. Otherwise uses defaults.

    * COntroller IP: is now configurable without having to modify the script.

    * Controller port no: is now configurable without having to modify the script.

    * Network Timeout: is now configurable without having to modify the script.

    * Select Controller: is now configurable without having to modify the script.

    * Ability to Re-Read configs from file to overwrite any changes made.

    * Torrents are now loaded directly into azureus/ABC so there is no need to manually copy the files over to your azureus pc.

    * Implemented better Error checking and timeouts.


  • thanks for the info nightspd im currently in the process of re-writing this script so this could be good news..


  • i just changed the url to eztv.it and it worked fine
    make sure it was .it not il


  • When I set it up if you didn't have a username/Password it wouldn't work.


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


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


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


  • Find an opensource torrent application and make it run in a thread in XBMC ;)


  • Search function is either 'the little black key' on GAMEPAD or 'Info' button on remote..


  • Can u add UTF-8 support? I use Cyrillic for filenaming?
    Thanks!


  • 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

  • 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


  • 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:


  • Thanks! Your work is appreciated chunk!


  • same issue has anyone fixed this?


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


  • 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?


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


  • 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


  • 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?


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


  • thanks,
    Tim


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


  • uTorrent guys apparently have a Python library available now:

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


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


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


  • 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!


  • 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)


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


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


  • ok, so here you go, just some help.
    Because I think it's a good script.
    Keep it up.


  • 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... was missing in list control.


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


  • 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!


  • New Site module available from the Auto-Update function....


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


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


  • is this script dead? if not i need help connecting it to my SABNZB


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


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


  • Never heard of it..I will look into it though..


  • chunk: still have the @gmail.com account used at your googlecode ?


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


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


  • 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?


  • 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?)


  • Thanks..Let me know of any problems as I dont use uTorrent so I didn't do alot of testing..


  • 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)


  • 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)


  • 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)


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


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


  • chrisism, latest is 1.10... http://xbmc-torrrent-controller.googlecode.com/files/Tor-X%20%28v1.10%20BETA%29.zip


  • 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?


  • probably would help to say I'm using the Utorrent controller huh?? lol


  • Again!

    FANTASTIC!


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


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


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


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


  • Chunk_1970,
    I know it's


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


  • 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


  • 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


  • 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)


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


  • I think im going MAD!!!!..Dont know which thread im In....!!!


  • Hey guys, I still can't get it to work. Utorrent doesn't receive the messages sent to it by 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 :(

    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.


  • 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


  • 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!


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


  • 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?


  • Thats not a problem I will add it to my list of additions..


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


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


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


  • 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!


  • 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'


  • Fantastic...


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


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


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


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


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


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


  • 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


  • 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?


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


  • 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


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


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


  • 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\

    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


  • 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 :(


  • 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?


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


  • Nice script! So far no problems with the beta, will keep testing :)


  • 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?


  • 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)


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


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


  • SVN my friend... pretty much daily basis. Once i added the 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.


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


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


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


  • 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)


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


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


  • 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


  • If you need I can supply you with a pay login.


  • 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_datatorrentx (or p:script_datatorrent-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.


  • wow, excellent work! tested with uTorrent and it works great! thanks


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


  • 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. :)


  • Well I don't know about others but sabnzbd does it "NZB blackhole"


  • tranceology3
    did u configure www access to ur Azureus client? without this config it doesn`t work


  • 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:


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


  • 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!


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


  • 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 :)


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


  • 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


  • 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?


  • 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!


  • 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


  • 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


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


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


  • 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?


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


  • 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)


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







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Torrent-controller (formally known as "Azureus controller") for Azureus and ABC , Please add it free.

    7 January 2009 | cameltoepants.com | edit