RTorrent

From TMB Wiki

Jump to: navigation, search

If you have got to the stage where you have rTorrent installed then you probably don't need much help configuring it but here is a sample .rtorrent.rc with a few tweaks.

There is also a RSS downloader written in python which can be used to grab torrents (and other media) and drop them in a rTorrent watch directory. Great for grabbing the EM or your favourite Readers Mixes. Here is a sample config file for the TMB RSS feed.


# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.

# Maximum and minimum number of peers to connect to per torrent.
#min_peers = 40
#max_peers = 100

# Maximum number of simultanious uploads per torrent.
#max_uploads = 15

# Global upload and download rate in KiB. "0" for unlimited.
download_rate = 0
upload_rate = 100

# Default directory to save the downloaded torrents.
directory = ~/storage/torrents/

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = ~/.rtorrent_session/

# The ip address reported to the tracker.
#ip = rakshasa

# The ip address the listening socket and outgoing connections is
# bound to.
#bind = rakshasa

# Port range to use for listening.
port_range = 50001-50001

# Start opening ports at a random position within the port range.
#port_random = no

# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
#check_hash = no

# Set whetever the client should try to connect to UDP trackers.
use_udp_trackers = yes

# Alternative calls to bind and ip that should handle dynamic ip's.
#schedule = ip_tick,0,1800,ip=rakshasa
#schedule = bind_tick,0,1800,bind=rakshasa

#
# Do not modify the following parameters unless you know what you're doing.
#

# Hash read-ahead controls how many MB to request the kernel to read
# ahead. If the value is too low the disk may not be fully utilized,
# while if too high the kernel might not be able to keep the read
# pages in memory thus end up trashing.
#hash_read_ahead = 10

# Interval between attempts to check the hash, in milliseconds.
#hash_interval = 100

# Number of attempts to check the hash while using the mincore status,
# before forcing. Overworked systems might need lower values to get a
# decent hash checking rate.
#hash_max_tries = 10

# Max number of files to keep open simultaniously.
#max_open_files = 128

# Number of sockets to simultaneously keep open.
#max_open_sockets = <no default>

#
# Custom settings
#

# Enable encryption
encryption = allow_incoming,try_outgoing,enable_retry,prefer_plaintext

# Set default ratio stop, 1.5 with min of 50M and max ratio of 3.0
schedule = ratio,60,60,"stop_on_ratio=150,50M,300"

# Misc torrents can be dumped in 'torrent_queue', will seed to the default requirements and will be saved in Misc
schedule = watch_directory_1,5,5,"load_start=~/torrent_queue/*.torrent,d.set_directory=~/storage/torrents/Misc/"

# TMB torrents I want to seed forever so they ignore the ratio commands
schedule = watch_directory_2,5,5,"load_start=~/torrent_queue/TMB/*.torrent,d.set_ignore_commands=1,d.set_directory=~/storage/torrents/TMB/"

# Keep the pr0n separate and default seeding settings
schedule = watch_directory_3,5,5,"load_start=~/torrent_queue/Pure/*.torrent,d.set_directory=~/storage/torrents/Pure/"

# Move torrents which have been removed from rTorrent to Removed
on_erase = move_complete,"execute=mv,-u,$d.get_base_path=, ~/storage/torrents/Removed/"
Personal tools