LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Magnet Link: what is it and why doesn't it work? (https://www.linuxquestions.org/questions/linux-newbie-8/magnet-link-what-is-it-and-why-doesnt-it-work-859553/)

stf92 01-30-2011 09:15 AM

Magnet Link: what is it and why doesn't it work?
 
Kernel: 2.6.21.5, O.S.: GNU/Linux (Slackware 12.0).
Firefox 2.0.0.4

Hi:
In some sites I find a link named "Magnet Link". If I click it, the browser says:
Quote:

Firefox doesn't know how to open this address because the protocol (magnet) isn't associated with any program.
These sites are p2p (peer to peer) download ones. Perhaps Magnet Link has some advantage over normal torrents and it's a pity I can't profit by it. Any hint will be welcome.

mjolnir 01-30-2011 10:34 AM

http://torrentfreak.com/bittorrents-...lained-091120/

"Traditionally, .torrent files are downloaded from torrent sites. A torrent client then calculates a torrent hash (a kind of fingerprint) based on the files it relates to, and seeks the addresses of peers from a tracker (or the DHT network) before connecting to those peers and downloading the desired content.

Sites can save on bandwidth by calculating torrent hashes themselves and allowing them to be downloaded instead of .torrent files. Given the torrent hash – passed as a parameter within a Magnet link – clients immediately seek the addresses of peers and connect to them to download first the torrent file, and then the desired content."

smoker 01-30-2011 11:53 AM

Magnet links are used by the browser to pass details of the torrent directly to the torrent program you're using. I know that Azureus (Vuze) implements them, but you will have to set your browser to associate magnet links with the program you use, assuming it can handle magnet links.

In Firefox about:config you can create the following entries :
(right click on an empty space and click New followed by the required type)

network.protocol-handler.app.magnet type = string value = /path/to/torrent/program
network.protocol-handler.external.magnet type = boolean value = true
network.protocol-handler.warn-external.magnet type = boolean value = false

Or you can try using the Preferences > Content >File Types > Manage facility in Firefox, but that doesn't let you add new extensions.


All times are GMT -5. The time now is 04:56 PM.