home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MyTorrents
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="idioteque" data-source="post: 87105" data-attributes="member: 37301"><p>I looked into that,</p><p></p><p>What we need is a xml feed from the AJAX utorrent web based gui</p><p></p><p>like this, this could be easily coded</p><p></p><p></p><p></p><p> Dit XML-bestand lijkt geen geassocieerde stijlinformatie te hebben. De documentstructuur is hieronder weergegeven.</p><p> </p><p>−</p><p> <EXAMPLE></p><p><p>First get the plugin interface:</p></p><p>−</p><p> <REQUEST></p><p><METHOD>getSingleton</METHOD></p><p><REQUEST_ID> + (req_id++) + </REQUEST_ID></p><p></REQUEST></p><p>−</p><p> <p></p><p>response contains the _connection_id to use in all future requests and the object id</p><p></p></p><p><p>identifying the PluginInterface</p></p><p>−</p><p> <RESPONSE></p><p><_connection_id></p><p> -5697636820944696961</p><p> </_connection_id></p><p><_object_id></p><p> -5697636820944696961</p><p> </_object_id></p><p></RESPONSE></p><p><p>Now get the download manager</p></p><p>−</p><p> <REQUEST></p><p>−</p><p> <OBJECT></p><p><_object_id> + plugin_if_oid + </_object_id></p><p></OBJECT></p><p><METHOD>getDownloadManager</METHOD></p><p><CONNECTION_ID> + connection_id + </CONNECTION_ID></p><p><REQUEST_ID> + (req_id++) + </REQUEST_ID></p><p></REQUEST></p><p>−</p><p> <RESPONSE></p><p><_object_id></p><p> -5697636820944696960</p><p> </_object_id></p><p></RESPONSE></p><p><p>Now ask it for the downloads</p></p><p>−</p><p> <REQUEST></p><p>−</p><p> <OBJECT></p><p><_object_id> + dl_man_oid + </_object_id></p><p></OBJECT></p><p><METHOD>getDownloads</METHOD></p><p><CONNECTION_ID> + connection_id + </CONNECTION_ID></p><p><REQUEST_ID>" + (req_id++) + "</REQUEST_ID></p><p></REQUEST></p><p>−</p><p> <RESPONSE></p><p>−</p><p> <ENTRY index="0"></p><p>−</p><p> <torrent></p><p><name></p><p> wibble.rar</p><p> </name></p><p><size></p><p> 10583</p><p> </size></p><p><_object_id></p><p> -5697636820944696958</p><p> </_object_id></p><p></torrent></p><p>−</p><p> <stats></p><p><downloaded></p><p> 0</p><p> </downloaded></p><p><uploaded></p><p> 0</p><p> </uploaded></p><p><completed></p><p> 0</p><p> </completed></p><p><downloadCompletedLive></p><p> 0</p><p> </downloadCompletedLive></p><p><downloadCompletedStored></p><p> 0</p><p> </downloadCompletedStored></p><p><status></p><p> Stopped</p><p> </status></p><p><upload_average></p><p> 0</p><p> </upload_average></p><p><download_average></p><p> 0</p><p> </download_average></p><p><eta></p><p></p><p> </eta></p><p><share_ratio></p><p> -1</p><p> </share_ratio></p><p><_object_id></p><p> -5697636820944696957</p><p> </_object_id></p><p></stats></p><p>−</p><p> <announce_result></p><p><seed_count></p><p> 0</p><p> </seed_count></p><p><non_seed_count></p><p> 0</p><p> </non_seed_count></p><p><_object_id></p><p> -5697636820944696956</p><p> </_object_id></p><p></announce_result></p><p>−</p><p> <scrape_result></p><p><seed_count></p><p> -1</p><p> </seed_count></p><p><non_seed_count></p><p> -1</p><p> </non_seed_count></p><p><_object_id></p><p> -5697636820944696955</p><p> </_object_id></p><p></scrape_result></p><p><_object_id></p><p> -5697636820944696959</p><p> </_object_id></p><p></ENTRY></p><p>−</p><p> <ENTRY index="1"></p><p>−</p><p> <torrent></p><p><name></p><p> blah blah blah.zip</p><p> </name></p><p><size></p><p> 54147780</p><p> </size></p><p><_object_id></p><p> -5697636820944696953</p><p> </_object_id></p><p></torrent></p><p>−</p><p> <stats></p><p><downloaded></p><p> 55753412</p><p> </downloaded></p><p><uploaded></p><p> 383106638</p><p> </uploaded></p><p><completed></p><p> 1000</p><p> </completed></p><p><downloadCompletedLive></p><p> 1000</p><p> </downloadCompletedLive></p><p><downloadCompletedStored></p><p> 1000</p><p> </downloadCompletedStored></p><p><status></p><p> Stopped</p><p> </status></p><p><upload_average></p><p> 0</p><p> </upload_average></p><p><download_average></p><p> 0</p><p> </download_average></p><p><eta></p><p></p><p> </eta></p><p><share_ratio></p><p> 6871</p><p> </share_ratio></p><p><_object_id></p><p> -5697636820944696952</p><p> </_object_id></p><p></stats></p><p>−</p><p> <announce_result></p><p><seed_count></p><p> 0</p><p> </seed_count></p><p><non_seed_count></p><p> 0</p><p> </non_seed_count></p><p><_object_id></p><p> -5697636820944696951</p><p> </_object_id></p><p></announce_result></p><p>−</p><p> <scrape_result></p><p><seed_count></p><p> -1</p><p> </seed_count></p><p><non_seed_count></p><p> -1</p><p> </non_seed_count></p><p><_object_id></p><p> -5697636820944696950</p><p> </_object_id></p><p></scrape_result></p><p><_object_id></p><p> -5697636820944696954</p><p> </_object_id></p><p></ENTRY></p><p></RESPONSE></p><p>−</p><p> <p></p><p>For each entry with object id "dl_oid": to START the d/l</p><p></p></p><p>−</p><p> <REQUEST></p><p>−</p><p> <OBJECT></p><p><_object_id> + dl_oid + </_object_id></p><p></OBJECT></p><p><METHOD>restart</METHOD></p><p><CONNECTION_ID> + connection_id + </CONNECTION_ID></p><p><REQUEST_ID>" + (req_id++) + "</REQUEST_ID></p><p></REQUEST></p><p>−</p><p> <p></p><p>Note that the start method is "restart" (not "start"!).</p><p></p></p><p><p>To stop use a method "stop"</p></p><p></EXAMPLE></p></blockquote><p></p>
[QUOTE="idioteque, post: 87105, member: 37301"] 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> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MyTorrents
Contact us
RSS
Top
Bottom