MyTorrents (3 Viewers)

fcsobel

Portal Pro
December 4, 2005
127
6
I updated the beta to try and pass the cookies from the rss request into the download request. I don't know of any good sites to test this on so I don't know if it works or not. If anyone knows of sites like this please let me know so I can test.

Give it a try at:

http://projects.c3o.com/mediaportal/plugins.beta.zip

this beta has the same trunc problems:

URL: http://btjunkie.org/torrent/Linkin-.../3774113425072257e5adfb5fe7ffcaa8b90fbd360566

inside the zip are the wrong temp11.torrent created by MP and the correct torrent by firefox

Your rss feed points at an html page instead of the actual torrent. See this post from mike.italy where he gives a great example:

https://forum.team-mediaportal.com/showpost.php?p=148096&postcount=160

We were able to fix this by uinsg a regular expression search and replace. See details in this post:

https://forum.team-mediaportal.com/showpost.php?p=148263&postcount=166

Your rss feed has links like this:

http://btjunkie.org/torrent/Family-.../3172de299402d55c42249f0db83d85335ffcc7d4f624

But you need this to get the torrent:

http://btjunkie.org/torrent/Family-...42249f0db83d85335ffcc7d4f624/download.torrent

Looks like all you have to do is append "/download.torrent" to the end of the link. Should be easy. I think this should do it:

pattern = <link>(?<url>.*)</link>
replacement = <link>${url}/download.torrent</link>
 

idioteque

Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    thank you for the advice, I started a new tread to exchange RSS regx
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Search and Replace

    I rolled the search and replace support into the svn and 0.2.2 download. This allows you to modify RSS feeds so that the links point right at the torrent files.

    regex.jpg


    Below are some exmaples to get you started:

    http://www.mininova.org/rss.xml
    search= /tor/
    replace= /get/

    http://btjunkie.org/rss.xml
    search= </link>
    replace= /download.torrent</link>

    http://www.torrentspy.com/rss.asp
    search= <link>.*www\.torrentspy\.com/torrent/(?<id>.*)/.*</link>
    replace= <link>http://cache.torrentspy.com/download.asp?id=${id}</link>

    idioteque create a thread to share new rss feeds and search/replace strings
    https://forum.team-mediaportal.com/my_torrents_rss_regx_exchange-t23037.html
     

    mike.italy

    New Member
    May 5, 2007
    4
    0
    44
    I rolled the search and replace support into the svn and 0.2.2 download. This allows you to modify RSS feeds so that the links point right at the torrent files.

    regex.jpg


    Below are some exmaples to get you started:

    http://www.mininova.org/rss.xml
    search= /tor/
    replace= /get/

    http://btjunkie.org/rss.xml
    search= </link>
    replace= /download.torrent</link>

    http://www.torrentspy.com/rss.asp
    search= <link>.*www\.torrentspy\.com/torrent/(?<id>.*)/.*</link>
    replace= <link>http://cache.torrentspy.com/download.asp?id=${id}</link>

    idioteque create a thread to share new rss feeds and search/replace strings
    https://forum.team-mediaportal.com/my_torrents_rss_regx_exchange-t23037.html

    i'm speechless :eek:

    i'm glad you liked my suggestion and made so much more from it..
    :D :D :D :D

    keep up the GREAT work,

    Mike

    ps: do you think a search and replace html parsing to find link related media (ex. covers, by automatically searching for them via any chosen search engine and then detecting the jpg, by searching and replacing a string in the html source of the search results page maybe) may be a good idea too, or my imagination is starting to go a little over the edge?.. :) :)
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Hey Mike, Thanks! I'm very happy that you suggested it and I appreciate the feedback (good and bad).

    Your imagination may be getting over the edge....but if you have a practical example I'll take a look.

    P.S. The search and replace should also work in My Podcasts since it inherits from the same base classes.
     

    ringsting

    Portal Member
    July 9, 2007
    47
    0
    40
    Xi'an, China
    Home Country
    Hi There

    This looks like a great plugin, however I am having a little bit of trouble getting it up and running how I want it to work.

    I have a computer on the lan running u-torrent which is seperate to my mp computer. I can connect to it and view the torrents that are currently downloading using the plugin. However when I select an item in a feed all I get is a little green light next to the torrent(using PMIII skin). Nothing seems to get loaded into the torrent client. Is it possible to use utorrent in this way, if not I have u-torrent monitoring a folder for new torrents, is there anyway I can ask the plugin to save torrent files to a specific folder instead of trying to open them?

    --edit--
    I've just noticed the Torrents folder in the mp folder and so pointed utorrent at that and it works a treat.
    I'm still stuck with the searching though
    --edit--

    My second query is, is there a way to filter xml feeds? I'm guesing it has something to do with the search box in the config but can't figure it out.

    Thanks for the work you've put into this :)
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Hi There

    This looks like a great plugin, however I am having a little bit of trouble getting it up and running how I want it to work.

    I have a computer on the lan running u-torrent which is seperate to my mp computer. I can connect to it and view the torrents that are currently downloading using the plugin. However when I select an item in a feed all I get is a little green light next to the torrent(using PMIII skin). Nothing seems to get loaded into the torrent client. Is it possible to use utorrent in this way, if not I have u-torrent monitoring a folder for new torrents, is there anyway I can ask the plugin to save torrent files to a specific folder instead of trying to open them?

    --edit--
    I've just noticed the Torrents folder in the mp folder and so pointed utorrent at that and it works a treat.
    I'm still stuck with the searching though
    --edit--

    My second query is, is there a way to filter xml feeds? I'm guesing it has something to do with the search box in the config but can't figure it out.

    Thanks for the work you've put into this :)

    Nice to see that you got the torrents folder working.

    The Search and Replace is used to modify the feed to get the links to point at a torrent. Right now it cannot be used for filtering but I'll look at adding filter support. Can you give me an example of a filter that you would like to use.
     

    ringsting

    Portal Member
    July 9, 2007
    47
    0
    40
    Xi'an, China
    Home Country
    Hi There

    This looks like a great plugin, however I am having a little bit of trouble getting it up and running how I want it to work.

    I have a computer on the lan running u-torrent which is seperate to my mp computer. I can connect to it and view the torrents that are currently downloading using the plugin. However when I select an item in a feed all I get is a little green light next to the torrent(using PMIII skin). Nothing seems to get loaded into the torrent client. Is it possible to use utorrent in this way, if not I have u-torrent monitoring a folder for new torrents, is there anyway I can ask the plugin to save torrent files to a specific folder instead of trying to open them?

    --edit--
    I've just noticed the Torrents folder in the mp folder and so pointed utorrent at that and it works a treat.
    I'm still stuck with the searching though
    --edit--

    My second query is, is there a way to filter xml feeds? I'm guesing it has something to do with the search box in the config but can't figure it out.

    Thanks for the work you've put into this :)

    Nice to see that you got the torrents folder working.

    The Search and Replace is used to modify the feed to get the links to point at a torrent. Right now it cannot be used for filtering but I'll look at adding filter support. Can you give me an example of a filter that you would like to use.

    Hi thanks for your reply

    I usually use the eztv feed for my tv shows(http://www.eztvefnet.org/rss.xml), however I only get certain shows. It would be good if MyTorrents would only show posts with say "Lost" and not "720p" in the title. And make it so it's possible to add any number of filters to a particular feed.

    :D
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Hi There

    This looks like a great plugin, however I am having a little bit of trouble getting it up and running how I want it to work.

    I have a computer on the lan running u-torrent which is seperate to my mp computer. I can connect to it and view the torrents that are currently downloading using the plugin. However when I select an item in a feed all I get is a little green light next to the torrent(using PMIII skin). Nothing seems to get loaded into the torrent client. Is it possible to use utorrent in this way, if not I have u-torrent monitoring a folder for new torrents, is there anyway I can ask the plugin to save torrent files to a specific folder instead of trying to open them?

    --edit--
    I've just noticed the Torrents folder in the mp folder and so pointed utorrent at that and it works a treat.
    I'm still stuck with the searching though
    --edit--

    My second query is, is there a way to filter xml feeds? I'm guesing it has something to do with the search box in the config but can't figure it out.

    Thanks for the work you've put into this :)

    Nice to see that you got the torrents folder working.

    The Search and Replace is used to modify the feed to get the links to point at a torrent. Right now it cannot be used for filtering but I'll look at adding filter support. Can you give me an example of a filter that you would like to use.

    Hi thanks for your reply

    I usually use the eztv feed for my tv shows(http://www.eztvefnet.org/rss.xml), however I only get certain shows. It would be good if MyTorrents would only show posts with say "Lost" and not "720p" in the title. And make it so it's possible to add any number of filters to a particular feed.

    :D

    Okay I got it. Just like uTorrent filters. I've used mininova.org which lets you limit the rss feed like this:

    http://www.mininova.org/rss/Lost-720p

    This might get you what you want until the plugin supports filters.
     

    Users who are viewing this thread

    Top Bottom