MyTorrents (2 Viewers)

idioteque

Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    I have a few problems with torrents which get truncated:

    temp3.torrent is downloaded by MP
    the other by firefox

    could you look into this problem ?

    thx

    Okay fixed the first one. It was the single quote ( ' ) in the title. Pull down the latest svn and try again.


    Thank you for the fast fix
    Where can I find this file ?


    Build for MediaPortal 0.2.2.0 SVN 14454 is here:

    the plugin .svn.14454.zip does not work :)

    What do you mean by it does not work? Are you unable to pull down the zip file?

    Hi

    I did just like you said:

    I downloade the torrent inside MP and a temp3.torrent was created. I also downloaded the torrent inside Firefox.

    The torrent downloaded by Mp is the same link, only the resulting torrent file is not saved correctly by my torrents, it looks like a big part gets truncated.


    the two files are those examples of those torrents. The temp is created by Mytorrents and the other one is created by firefox. The temp does not work the other dos.

    I downloaded the 14454 version of My torrents, this is the latest version I could find and the buf is still present in this version.

    Hope this info helps

    Regards
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    many compliments for this awesome plugin!!! :)

    i have just installed it and it works fine for me except for one thing, when i click on a link from mytorrents rss in mediaportal,an utorrent window pops up telling "invalid torrent file". I renamed the temp .torrent in the \Torrents folder to .htm and i noticed that it showed the whole torrentspy html torrent page, because in the rss i used (http://www.torrentspy.com/rss.asp?mode=search&query=my+keyword ) there were only links to specific torrents pages, not to torrent files themselves.

    i think that this could be an issue, because the majority of torrent websites are in english, hence a rss from a search query (such as keyword+ita for italian language torrents) would be the only really useful option for a mytorrents non-english user, and a specific search query rss feed would be useful to everyone else too probably..I wonder if it could be possible for mytorrents to parse the html page linked from the rss of some famous torrent sites (like torrentspy), searching for a download link. do you think it may be a good idea?...

    ps: this is an example of a torrentspy link in rss

    http://www.torrentspy.com/torrent/1125759/DJDB_The_Beat_2007_A_Creative_Commons_Mix

    this is the real torrent link:

    http://cache.torrentspy.com/download.asp?id=1125759

    if mytorrents could just parse and replace the torrentspy rss feed then it wouldn't even need to parse the html page i think..

    Thanks for the insight. I'll add a regular expression based search and replace option. Something like this would fix torrentspy:

    Pattern= .*www\.torrentspy\.com/torrent/(?<id>.*)/.*

    Replace= http://cache.torrentspy.com/download.asp?id=${id}

    I'm a newbie at regular expressions so any experts please chime in.
     

    spuck

    Community Skin Designer
    April 6, 2007
    397
    59
    Home Country
    Sweden Sweden
    Okay. So I just went to look at that temp1.torrent file in my torrent dir. It doesn't contain a torrent file but a html page. The failed login page of the private tracker. Why? No idea.. Works just fine in Firefox2/IE7.
    The links in the feed are direct links to torrent files.
     

    mike.italy

    New Member
    May 5, 2007
    4
    0
    44
    many compliments for this awesome plugin!!! :)

    i have just installed it and it works fine for me except for one thing, when i click on a link from mytorrents rss in mediaportal,an utorrent window pops up telling "invalid torrent file". I renamed the temp .torrent in the \Torrents folder to .htm and i noticed that it showed the whole torrentspy html torrent page, because in the rss i used (http://www.torrentspy.com/rss.asp?mode=search&query=my+keyword ) there were only links to specific torrents pages, not to torrent files themselves.

    i think that this could be an issue, because the majority of torrent websites are in english, hence a rss from a search query (such as keyword+ita for italian language torrents) would be the only really useful option for a mytorrents non-english user, and a specific search query rss feed would be useful to everyone else too probably..I wonder if it could be possible for mytorrents to parse the html page linked from the rss of some famous torrent sites (like torrentspy), searching for a download link. do you think it may be a good idea?...

    ps: this is an example of a torrentspy link in rss

    http://www.torrentspy.com/torrent/1125759/DJDB_The_Beat_2007_A_Creative_Commons_Mix

    this is the real torrent link:

    http://cache.torrentspy.com/download.asp?id=1125759

    if mytorrents could just parse and replace the torrentspy rss feed then it wouldn't even need to parse the html page i think..

    Thanks for the insight. I'll add a regular expression based search and replace option. Something like this would fix torrentspy:

    Pattern= .*www\.torrentspy\.com/torrent/(?<id>.*)/.*

    Replace= http://cache.torrentspy.com/download.asp?id=${id}

    I'm a newbie at regular expressions so any experts please chime in.

    Thank you so much! :)

    I'm not an expert at regular expressions too unfortunately, anyway I found this:

    http://laurent.riesterer.free.fr/regexp/

    http://www.soft32.com/Download/free-trial/RegexBuddy/4-65244-1.html

    http://www.ilovejackdaniels.com/regular_expressions_cheat_sheet.png

    http://www.cuneytyilmaz.com/prog/jrx/

    i hope i may have been of any help.. :(
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Okay. So I just went to look at that temp1.torrent file in my torrent dir. It doesn't contain a torrent file but a html page. The failed login page of the private tracker. Why? No idea.. Works just fine in Firefox2/IE7.
    The links in the feed are direct links to torrent files.

    It sounds like the link is not quite enough to get past the login. If you can point me to the site or give me an example of the link to one of the torrent files I can try to figure it out. You can pm me the details.
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Regex Search & Replace support

    Beta version with search and replace is ready.

    tsp.jpg


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

    I tested it with torrentspy and it worked great using:

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

    spuck

    Community Skin Designer
    April 6, 2007
    397
    59
    Home Country
    Sweden Sweden
    Okay. So I just went to look at that temp1.torrent file in my torrent dir. It doesn't contain a torrent file but a html page. The failed login page of the private tracker. Why? No idea.. Works just fine in Firefox2/IE7.
    The links in the feed are direct links to torrent files.

    It sounds like the link is not quite enough to get past the login. If you can point me to the site or give me an example of the link to one of the torrent files I can try to figure it out. You can pm me the details.
    The links have no passkey or anything, just tried in IE7. Downloading torrents didn't work without logging in to get the cookies.

    RSS:
    http://site.org/rss.php?feed=dl&cat[]=30&cat[]=29&passkey=(passkey)
    Torrent:
    http://site.org/download.php?id=10176&name=The.4400.3x13.Fifty-Fifty.720p.HDTV.x264.mkv.torrent

    Any way to get the passkey cookie so it would be possible to download?
     

    mike.italy

    New Member
    May 5, 2007
    4
    0
    44
    Beta version with search and replace is ready.

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

    I tested it with torrentspy and it worked great using:

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

    ...you are my guru.. :eek:

    anyway this update didn't work for me at first (an unhandled exception window popped up when i tried to configure mytorrents' plugin) , i thought the reason was that i was using the last MP stable release, so i installed the 14454 svn build and everything worked perfectly :)

    this plugin is now a perfect work of art in my view, the only possible future feature that i could imagine is an alert window when the selected torrent exceeds the space left on the destination drive and/or when no seeds are present..do you think it may be useful too?...

    a billion compliments,

    Mike

    ps: i wish i could write an MP IMDB plugin now :)
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Okay. So I just went to look at that temp1.torrent file in my torrent dir. It doesn't contain a torrent file but a html page. The failed login page of the private tracker. Why? No idea.. Works just fine in Firefox2/IE7.
    The links in the feed are direct links to torrent files.

    It sounds like the link is not quite enough to get past the login. If you can point me to the site or give me an example of the link to one of the torrent files I can try to figure it out. You can pm me the details.
    The links have no passkey or anything, just tried in IE7. Downloading torrents didn't work without logging in to get the cookies.

    RSS:
    http://site.org/rss.php?feed=dl&cat[]=30&cat[]=29&passkey=(passkey)
    Torrent:
    http://site.org/download.php?id=10176&name=The.4400.3x13.Fifty-Fifty.720p.HDTV.x264.mkv.torrent

    Any way to get the passkey cookie so it would be possible to download?

    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
     

    idioteque

    Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    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
     

    Users who are viewing this thread

    Top Bottom