MyTorrents (1 Viewer)

fcsobel

Portal Pro
December 4, 2005
127
6
When you are done looking at the Azureus Torrent list be sure to click on the Azurerus button to hide it otherwise timer keeps running and tries to refresh the torent list. I will try to fix this, make it more intuitive.
 

fcsobel

Portal Pro
December 4, 2005
127
6
...And today something strange happened, when selecting my RSS feed it shows for 3-4 seconds then disappears, if I then change the view to big icons they come back for another 3-4 seconds and the same thing all over. Bug?

If you see this happeing click the Azureus button again to tell the timer to stop refreshing the Azureus Toreent List. The button works as a toggle to show and hide the torrent list. I'll fix it but this is the work around for now.
 

fcsobel

Portal Pro
December 4, 2005
127
6
...Also, I cant stop/delete torrentz with the plugin. Am I missing something? I just installed the XML-plugin for azureus. Should I install the webUI aslo?

And today something strange happened, when selecting my RSS feed it shows for 3-4 seconds then disappears, if I then change the view to big icons they come back for another 3-4 seconds and the same thing all over. Bug?

I made some more changes to the AzureusWrapper code to get Start/Stop...etc working again. Latest version of plugin and wrapper is here:

http://projects.c3o.com/MediaPortal/plugins.zip
 

fcsobel

Portal Pro
December 4, 2005
127
6
The problem connecitng thru the uTorrent web interface it that it's all javascipt based. If it were just html I could screen scrape the listing but I need a javascript engine to convert the output from uTorrent to something usable. Anyone have any suggestions? I used XBT and uTorrent for along time so I'm not an Azureus fanatic but I must admit it works very well.
 

HappyTalk

Portal Pro
July 16, 2006
307
8
UK
Yer I'd used Azureus for a few years, it's got great features but recently when I noticed it using 260mb of ram while downloading about 4 torrents together with the fact you pretty much need to dedicate a machine to it as nothing else runs properly at the same time (mp judders) I also jumped ship to utorrent. Looking at the seeds/peers I see that utorrent is the most popular client these days so I'm not alone. I noticed that utorrent seems to contain all the useful features of azureus without the rest of the feature bloat and uses about 2% as much ram with no impact on other running programs. Personally I'd recommend any windows user makes the switch. I certainly notice no download speed difference I've seen some of the highest speeds ever with utorrent.

So I'd welcome utorrent integration.

I just did an experiment. I set up latest utorrent beta, got web interface working (doesn't work with ie6? but ok with opera). I then set MediaPortal Web Browser up and got that working (using recent MP 2.0.1.0), set the homepage to be http://user:pass@10.0.0.10:8080/gui/ (replacing user/pass with real values) and now when I run Web Browser I get a front end showing me whats going on with utorrent. " minor issues one is the text is pretty small on a tv, secondly you get a prompt when running mediaportal "you are about to log into site 10.0.0.10 with the username "user" which is pretty annoying, dunno if that is supplied by the utorrent web server? I have since discovered that by manually editing prefs.js found in ...\application data\Mozilla Control\...
and adding
pref("font.size.variable.x-western", 32);
pref("font.size.fixed.x-western", 26);
It zooms in the text, but is not a proper page zoom as opera does :(

I see in the utorrent forums there seems to be people developing their own alternative front ends so their code probably has all you need to know.
 

idioteque

Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    I looked into that,

    What we need is a xml feed from the AJAX utorrent web based gui

    like this, this could be easily coded



    Dit XML-bestand lijkt geen geassocieerde stijlinformatie te hebben. De documentstructuur is hieronder weergegeven.


    <EXAMPLE>
    <p>First get the plugin interface:</p>

    <REQUEST>
    <METHOD>getSingleton</METHOD>
    <REQUEST_ID> + (req_id++) + </REQUEST_ID>
    </REQUEST>

    <p>
    response contains the _connection_id to use in all future requests and the object id
    </p>
    <p>identifying the PluginInterface</p>

    <RESPONSE>
    <_connection_id>
    -5697636820944696961
    </_connection_id>
    <_object_id>
    -5697636820944696961
    </_object_id>
    </RESPONSE>
    <p>Now get the download manager</p>

    <REQUEST>

    <OBJECT>
    <_object_id> + plugin_if_oid + </_object_id>
    </OBJECT>
    <METHOD>getDownloadManager</METHOD>
    <CONNECTION_ID> + connection_id + </CONNECTION_ID>
    <REQUEST_ID> + (req_id++) + </REQUEST_ID>
    </REQUEST>

    <RESPONSE>
    <_object_id>
    -5697636820944696960
    </_object_id>
    </RESPONSE>
    <p>Now ask it for the downloads</p>

    <REQUEST>

    <OBJECT>
    <_object_id> + dl_man_oid + </_object_id>
    </OBJECT>
    <METHOD>getDownloads</METHOD>
    <CONNECTION_ID> + connection_id + </CONNECTION_ID>
    <REQUEST_ID>" + (req_id++) + "</REQUEST_ID>
    </REQUEST>

    <RESPONSE>

    <ENTRY index="0">

    <torrent>
    <name>
    wibble.rar
    </name>
    <size>
    10583
    </size>
    <_object_id>
    -5697636820944696958
    </_object_id>
    </torrent>

    <stats>
    <downloaded>
    0
    </downloaded>
    <uploaded>
    0
    </uploaded>
    <completed>
    0
    </completed>
    <downloadCompletedLive>
    0
    </downloadCompletedLive>
    <downloadCompletedStored>
    0
    </downloadCompletedStored>
    <status>
    Stopped
    </status>
    <upload_average>
    0
    </upload_average>
    <download_average>
    0
    </download_average>
    <eta>

    </eta>
    <share_ratio>
    -1
    </share_ratio>
    <_object_id>
    -5697636820944696957
    </_object_id>
    </stats>

    <announce_result>
    <seed_count>
    0
    </seed_count>
    <non_seed_count>
    0
    </non_seed_count>
    <_object_id>
    -5697636820944696956
    </_object_id>
    </announce_result>

    <scrape_result>
    <seed_count>
    -1
    </seed_count>
    <non_seed_count>
    -1
    </non_seed_count>
    <_object_id>
    -5697636820944696955
    </_object_id>
    </scrape_result>
    <_object_id>
    -5697636820944696959
    </_object_id>
    </ENTRY>

    <ENTRY index="1">

    <torrent>
    <name>
    blah blah blah.zip
    </name>
    <size>
    54147780
    </size>
    <_object_id>
    -5697636820944696953
    </_object_id>
    </torrent>

    <stats>
    <downloaded>
    55753412
    </downloaded>
    <uploaded>
    383106638
    </uploaded>
    <completed>
    1000
    </completed>
    <downloadCompletedLive>
    1000
    </downloadCompletedLive>
    <downloadCompletedStored>
    1000
    </downloadCompletedStored>
    <status>
    Stopped
    </status>
    <upload_average>
    0
    </upload_average>
    <download_average>
    0
    </download_average>
    <eta>

    </eta>
    <share_ratio>
    6871
    </share_ratio>
    <_object_id>
    -5697636820944696952
    </_object_id>
    </stats>

    <announce_result>
    <seed_count>
    0
    </seed_count>
    <non_seed_count>
    0
    </non_seed_count>
    <_object_id>
    -5697636820944696951
    </_object_id>
    </announce_result>

    <scrape_result>
    <seed_count>
    -1
    </seed_count>
    <non_seed_count>
    -1
    </non_seed_count>
    <_object_id>
    -5697636820944696950
    </_object_id>
    </scrape_result>
    <_object_id>
    -5697636820944696954
    </_object_id>
    </ENTRY>
    </RESPONSE>

    <p>
    For each entry with object id "dl_oid": to START the d/l
    </p>

    <REQUEST>

    <OBJECT>
    <_object_id> + dl_oid + </_object_id>
    </OBJECT>
    <METHOD>restart</METHOD>
    <CONNECTION_ID> + connection_id + </CONNECTION_ID>
    <REQUEST_ID>" + (req_id++) + "</REQUEST_ID>
    </REQUEST>

    <p>
    Note that the start method is "restart" (not "start"!).
    </p>
    <p>To stop use a method "stop"</p>
    </EXAMPLE>
     

    idioteque

    Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    Hi I love the plugin and the Azuerus connection works perfectly

    however, I found a small bug that realy kills me

    I like to view my torrents RSS feeds in list mode, only I cant get My torrents to stay on this view by default.

    No when I select VIEW | LIST is listed OK but when I hit back there all in ICON mode.

    Could you make My torrent remeber the view settings or add a view pref in de config?

    thX!
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    ...I found a small bug that realy kills me

    I like to view my torrents RSS feeds in list mode, only I cant get My torrents to stay on this view by default.

    No when I select VIEW | LIST is listed OK but when I hit back there all in ICON mode.

    Could you make My torrent remeber the view settings or add a view pref in de config?

    thX!
    Will try to get this fixed over the weekend and I'll take a look at the uTorrent plugin again. To be honest I had trouble getting the web interface to work (even using Firefox).
     

    Jake m

    Portal Pro
    September 14, 2006
    52
    1
    Home Country
    United Kingdom United Kingdom
    Firstly your doing a great job with this plugin, but is there any chance you could release the source?
    it would be nice to get a few people developing this plug-in since there seems to be a good amount of interest in it
     

    Users who are viewing this thread

    Top Bottom