SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Zealot iamkoa's Avatar
    Join Date
    Mar 2005
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How To Display Torrent Details (Seeders, Peers, etc)

    I'd like to display torrent details on my bands website, but I'm not even sure where to start.

    I uploaded the torrents to a tracker not on my server (a different website completely acts as the tracker), so how do I go about getting basic information on a torrent?

    I've looked all over the web for tutorials, but didn't find anything. I'm not looking for a giant torrent-listing script, I'd just like to know how it's done so I may create my own simple script.

    Thank you,
    Koa

    ** Admin - Could you please move this to the PHP forum? Thanks! **
    Iamkoa, LLC
    Podlodge - Software, tools, and hacks for the iPod

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,449
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Moved to the PHP forum.

  3. #3
    SitePoint Zealot iamkoa's Avatar
    Join Date
    Mar 2005
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nothing?
    Iamkoa, LLC
    Podlodge - Software, tools, and hacks for the iPod

  4. #4
    SitePoint Zealot iamkoa's Avatar
    Join Date
    Mar 2005
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could use some help... anyone... please!
    Iamkoa, LLC
    Podlodge - Software, tools, and hacks for the iPod

  5. #5
    SitePoint Zealot
    Join Date
    Dec 2005
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im looking into it atm, and may write some code, but ATM heres the specs

    http://www.bittorrent.org/protocol.html
    Glass Obelisk - Web Design, Development and Hosting.

  6. #6
    SitePoint Zealot iamkoa's Avatar
    Join Date
    Mar 2005
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a bunch for the link Codecfault. I'm still not fully understanding how the code would be written for backened. Let me know if you complete anything. I'm very interested.
    Iamkoa, LLC
    Podlodge - Software, tools, and hacks for the iPod

  7. #7
    SitePoint Zealot
    Join Date
    Dec 2005
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I completed a little bit, however it didnt work too well, I had issues decoding the torrent file. However Bittorrent uses the bencode format for the torrent files, so I decided to google for that to see what would turn up and it turns out that there is a class out there that will decode the info into an array. Heres the link http://www.p2pforums.com/viewtopic.php?t=18309

    Hope it helps you
    Glass Obelisk - Web Design, Development and Hosting.

  8. #8
    SitePoint Enthusiast
    Join Date
    Jun 2004
    Location
    dublin, Ireland
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.blogtorrent.com/

    a system for adding torrents to your website. It may not be exactly what you need but it's open source so you can see how it's implemented.

    HTH.

  9. #9
    SitePoint Zealot iamkoa's Avatar
    Join Date
    Mar 2005
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Codecfault, I downloaded the infohash files and I seem to get the correct output, but what do I do with it? How do I turn that into stats?
    Iamkoa, LLC
    Podlodge - Software, tools, and hacks for the iPod

  10. #10
    SitePoint Zealot iamkoa's Avatar
    Join Date
    Mar 2005
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got it! Use this to get the torrent info. It's real easy to customize as it's only three files.

    http://freshmeat.net/projects/torrentparse/

    I have it working right now... it's a great script!

    Good luck!
    Iamkoa, LLC
    Podlodge - Software, tools, and hacks for the iPod


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •