MyTorrents 0.70 Stable [Updated 13-10-2012] (1 Viewer)

Dillusion

Portal Member
December 30, 2006
13
0
Im using .60. I dont have a torrent link, none work, ive tried several. i have bittorrent installed, do I need to have utorrent or azureus installed for the plugin to work?
 

famewolf

Portal Pro
June 7, 2009
145
11
Home Country
United States of America United States of America
Im using .60. I dont have a torrent link, none work, ive tried several. i have bittorrent installed, do I need to have utorrent or azureus installed for the plugin to work?

From the very first post "Features
* Control uTorrent from MediaPortal"


How do you intend to control utorrent if you are not running it?
 

TheGlassjaw

Portal Member
May 8, 2009
49
3
Home Country
United States of America United States of America
Hey guys, I'm having a few issues with the RSS feeds features:
1) When I go to the rss page and click on a particular torrent to download, I get the "Failed - Unable to download" error (similar to the way it is when you dont have the uTorrent authentication credentials entered properly). However, I can download and manage torrents from the search results page without issue.
2) I have set up several items in the watchlist, but even if the search terms appear in the RSS feed results, it does not download the torrent or even notify that they are there. I'm not sure if I have this feature set up properly so any help would be great.
 

CaNe|

Portal Member
December 15, 2007
29
15
Home Country
Germany Germany
Hey Glassjaw,

Which version are you using, 0.60 or 0.69? And could you please provide your MyTorrents.xml?

Greets CaNe
 

TheGlassjaw

Portal Member
May 8, 2009
49
3
Home Country
United States of America United States of America
There is a 0.69 release? I only see 0.60 on the google code page and don't see any newer builds in svn, so that is what I'm running. Attached is my xml config file. The only thing i changed was my demonoid password, otherwise it's identical to the file I'm running w/ MediaPortal.
 

Attachments

  • MyTorrents.xml
    30.6 KB

CaNe|

Portal Member
December 15, 2007
29
15
Home Country
Germany Germany
Hi Glassjaw,

i had a look into it, and the problem was, that the rss link points at least in the demonoid and the mininova feed to the details page of the torrent and not to the torrent itself. Due to this MyTorrents downloads the content of the details page and assumes it just got handed a torrent file.

So I modified the rss parser to support a transformation of the rss item links. In the MyTorrents.xml file it looks somewhat like this:

Code:
<rss>
            <feed>
		<title>MiniNova</title>
		<description>MiniNova</description>
		<url>http://www.mininova.org/rss.xml</url>
		<expires>400</expires>
		<transform>
			<origin>http://www.mininova.org/tor/(?&lt;TID&gt;\d*)</origin>
			<basedownload>http://www.mininova.org/get/</basedownload>
		</transform>
	</feed>
</rss>
the important thing happens in the transform part. Mininova rss feed links look like http://www.mininova.org/tor/TORRENTID and the download links http://www.mininova.org/get/TORRENTID. So you just have to get the TorrentID via a Regular Expression and then provide a base download link. In the example with Mininova this would be "http://www.mininova.org/get". Be careful in the regular expression, cause you have to replace the "<" with "&lt;" and ">" with "gt;", so the xml is still parseable. Also the regular expression, has to contain the place holder TID, which identifies the TorrentID in the Link.


Greets CaNe

P.S.: This is based on the on the 0.69-NOT-QUITE-SO-OFFICIAL-RELEASE-COZ-IT-STILL-NEEDS-TESTING release. So don't be surprised if there are some minor changes in the setup ;)
 

TheGlassjaw

Portal Member
May 8, 2009
49
3
Home Country
United States of America United States of America
Thanks a lot for the assistance with this! Is the source for this build hosted anywhere? I was modifying some stuff on the 0.60 release to prepend video resolution info to the search results page (as opposed to just codec info) and would like to be working with the latest revisions. If not, no biggie though :)
 

Users who are viewing this thread

Top Bottom