

add this script to cron crontab -e */1 * * * * ~/magnet2torrent/magnet2torrent.sh.make sure this script is executable chmod +x magnet2torrent.sh.magnet files being saved into by sonarr/radarr/sickgear/etc.

Replace $DIR with the watch directory path you have.make sure incomming port 6881 (TCP and UDP) is open (forwarded) on your router/firewall.torrent file that rtorrent can then import through its watch folder.Īll credit for aria2c goes to the original developers: Ubuntu SetupĪria2c -daemon -enable-rpc=true -enable-dht -dht-listen-port=6881 magnet files in the directory saved in $FILES and passes them through to aria2c which takes the infohash or magnet url and turns it into a. If you found this script then you must already know my pain. magnet files (links) into a torrent file that rtorrent could natively import through my specified watch folder while preserving my custom labels, download directories, etc. I wrote this to enhance the functionality of Sonarr/Radarr's torrent black hole feature to convert.
