Skip to content

Magnet link support

chros73 edited this page Oct 11, 2018 · 4 revisions

Magnet link support

Magnet links are really problematic with rtorrent, just to name a few:

  • actual meta file can't be downloaded from other clients if only encrypted connection is allowed
  • created meta file by rtorrent is invalid (that means it can't be used to determine the size of the torrent with lstor)

Although sometimes it still can be useful to grab something via magnet links and the above issues can be circumvented with recent hacks. :)

  • either use addMagnetLinksAria2.sh script that will download and create proper torrent files from magnet URIs into one of the queue directories (categories) (one of the subdirs of .queue dir) optionally with the help of ncursed dialog for category selection
  • or alternatively addMagnetLinksNative.sh script that will create "magnet torrent" files from magnet URIs into one of the watch directories (categories) (one of the subdirs of .downloading dir) optionally with the help of ncursed dialog for category selection
    • if cfg.magnet_link.queue is enabled (it is by default) then it queues magnet link downloads upon initial downloading to be able to use Queue Manager instead of start downloading it straight away

Torrents created in this way:

  • can be picked up by the queue script to check available disk space
  • they can be deleted by the queue script

Probably aria2 is the easier way.