Yesterday I wanted to download a file but could find only magnet link. Since rtorrent doesn’t support magnet link yet officially, I did some research on google and came cross this great tutorial on how to patch the source from svn and get magnet link support. So here they are, deb packages for libtorrent and rtorrent. These packages were built for my debian squeeze, so I’m not sure if they also work on ubuntu, but if you want you can try.
libtorrent11_0.12.6-4_i386.deb (371.5 KiB, 1,268 hits)
rtorrent_0.8.6-2_i386.deb (393.9 KiB, 1,217 hits)
Pingback: Bad Neighborhood: Should You Be a Part of It or Not? | BillVannot.com
Pingback: Top 4 Link Building Tips to Get on Top of Google | BillVannot.com
Hi,
The *.deb-files seem to be empty.
I tried the tutorial above but couldn’t compile rtorrent because of version missmatch
(rtorrent required libtorrent version >= 0.12-something, whereas the one compiled was 0.11-something.
//Peppe
files are reuploaded and they should be fine right now. If you wanna compile rtorrent yourself then you should get the latest source from svn
Pingback: Getting Strong Google Backlinks - 5 Tips for the Average Joe | BillVannot.com
Hi, thanks for the package
I run rtorrent on a box running Voyage Linux (lenny based) and need to use pre-compiled packages. These work fine, even though it was built on squeeze. It complained about missing libcurl3-gnutls, but ran fine after grabbing the package from apt.
rtorrent needs to be built against xmlrpc-c >=1.11 for full rutorrent support; could you suggest a good debian package building tutorial or maybe do another .deb, if you have time and are so inclined?
@Nat
thanks for ur feedback, I made these packages by using checkinstall, so u might wanna try it as well
Thanks for the advice! I installed lenny in a virtualbox and built some myself using checkinstall
The variation below is compiled with xmlrpc support (against libxmlrpc-c3-1.16.26), along with the ipfilter patch, and a tweak to reduce peer request interval from 3 mins, down to 1 min (still conservative compared to the popular clients). They’re there if anyone wants to try them, anyway.
http://dl.dropbox.com/u/4942645/libtorrent11_0.12.6-1_i386.deb
http://dl.dropbox.com/u/4942645/rtorrent_0.8.6-1_i386.deb
64 bit packages?
@Meouwn
sorry but I’ve moved to osx completely, so there will be no updates for either i386 or x64 packages, but it is really easy to build your own package by just following the tutorial that I mentioned in my post.
Thanks
If you want to convert a magnet to a .torrent file to be able to put it in the watch directory, then do this: (this code is PHP, but it’s easy to convert to anything)
function makeTorrentFromMagnet($magnet)
{
return “d10:magnet-uri”.strlen($magnet).”:$magnet”.”e”;
}
$magnet = “magnet:?xt=urn:btih:67c6ebb849d7eb7924a6280a6156cf13022a5054&dn=Breaking+Bad+S03E01+720p&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80″;
file_put_contents(“/path/to/watch/directory/new.torrent”,makeTorrentFromMagnet($magnet));
Louis thanks a million
@Louis
In which file I should write this function?
Do I need to make seperate PHP file or need to edit rTorrent code?
Als Is there any way by which my program (c program having inf_hash ) come to know that seeding of torrent against info_hash is started…….??
How to do this ?
@Mirani
You have to make a separate file called something like convert.php. In no way does Louis’s code “work with” rtorrent.
@Louis
Damn you are the MAN!
@Mark:
Hope you all ill be ejoying great health. I haveread on a link, http://wiki.rtorrent.org/MagnetUri, Magnet URI that can be loaded from a watch directory via special bencoded files.
I want to use this feture of rtorrent. So can somebody please tell be what is the special bencoded files format?
Please reply urgent.
Thanks Louis for the PHP script.
I just wrote an python script on this basis, because I have no PHP running where I want to use it. So if anybody else needs it, here is what I have done:
Created a file called magnet_to_torrent.py with the following 4 lines in it:
import sys
magnet = sys.argv[1]
torrent = “d10:magnet-uri” + str(len(magnet)) + “:” + magnet + “e”
print torrent
If you want to have a torrent file called “MY.torrent” out of the magnet link (which you have to put where I write “MAGNETLINK”) do the following in the command line:
python magnet_to_torrent.py “MAGNETLINK” > MY.torrent
It is important to use the apostrophes around the magnetlink, so that it is handled as a full string. After that you can just load the MY.torrent as usual in rtorrent.
Hope that helps.
cheers,
jodie-louise
How can i add magnet links to rtorrent ?
Any console based web browsers that support magnet links on console?
Pingback: rTorrent dengan Dukungan Magnet Link
Louis & Mark,
I’ve got no previous knowledge in php whatsoever, you think it is possible for me to make this php trick work anyway ?
Is all I need just a file named “something” with .php with this script inserted in ?
How does one run such a script on linux or osx ?
Hope you can help me or point me towards information on how to learn more bout this.
/Andreas
Thanks a lot for the package, I couldn’t find a torrent client with magnet link support that I liked.