Skip to content

Instantly share code, notes, and snippets.

@sasapurin sasapurin/.rtorrent.rc forked from bryanjswift/.rtorrent.rc
Last active Jul 13, 2019

Embed
What would you like to do?
rtorrent configuration file with description fix 20190713
# 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.
throttle.min_peers.normal = 1
throttle.max_peers.normal.set = 100
# Same as above but for seeding completed torrents (-1 = same as downloading)
throttle.min_peers.seed.set = 1
throttle.max_peers.seed.set = 50
# Maximum number of uploads single torrent may use
throttle.max_uploads.set = 10
# Maximum number of simultaneous downloads
throttle.max_downloads.global.set = 10
# Maximum number of simultaneous uploads
throttle.max_uploads.global.set = 20
# Global upload and download rate in KiB. "0" for unlimited.
throttle.global_down.max_rate.set_kb = 0
throttle.global_up.max_rate.set_kb = 300
# Default directory to save the downloaded torrents.
directory.default.set = ./rtorrent/leeching
# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session.path.set = ~/rtorrent/.rtcache
# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule2 = watch_directory,5,5,load.start=~/rtorrent/rtactive/*.torrent
schedule2 = tied_directory,6,5,start_tied=
schedule2 = untied_directory,7,5,stop_untied=
# Close torrents when diskspace is low.
schedule2 = low_diskspace,5,60,close_low_diskspace=2000M
# Periodically save session data
schedule2 = session.save,240,300,session.save=
# Enable the default ratio group.
group.seeding.ratio.enable=
# Change the limits, the defaults should be sufficient.
# Upload to a minimum ratio of 4.0
group2.seeding.ratio.min.set=400
# Upload to a maximum ratio of 20.0
group2.seeding.ratio.max.set=2000
# Upload a minimum of 250 MB
group2.seeding.ratio.upload.set=250M
# When seeding ratio is reached close the torrent
method.set = group.seeding.ratio.command, d.close=
# Move files to ./rtorrent/unsorted when download completes
method.set_key = event.download.finished,move_complete,"execute2=mv,-n,$d.base_path=,~/rtorrent/unsorted/;d.directory.set=~/rtorrent/unsorted/"
# Port range to use for listening.
network.port_range.set = 33101-33199
# Start opening ports at a random position within the port range.
network.port_random.set = yes
# Encryption options, set to none (default) or any combination of the following:
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#
# The example value allows incoming encrypted connections, starts unencrypted
# outgoing connections but retries with encryption if they fail, preferring
# plaintext to RC4 encryption after the encrypted handshake
#
protocol.encryption.set = allow_incoming,try_outgoing,enable_retry,prefer_plaintext
# Sort the main view by ratio
view.sort_current = main,greater=d.ratio=
view.sort_new = main,less=d.ratio=
view.sort = main
# Sort the seeding view by the upload rate and only show torrents with peers
view.sort_current = seeding,greater=d.up.rate=
view.filter = seeding,"and=d.complete=,d.peers_connected="
view.sort_new = seeding,less=d.up.rate=
view.sort = seeding
# Sort the leeching view by name
view.sort_current = leeching,greater=d.name=
view.sort_new = leeching,greater=d.name=
view.sort = leeching
# Filter the active view by connected peers
view.sort_current = active,less=d.name=
view.sort_new = leeching,less=d.name=
view.filter = active,d.peers_connected=
view.sort = active
schedule2 = sort_main,11,5,view.sort=main
schedule2 = sort_seeding,12,5,view.sort=seeding
schedule2 = sort_leeching,13,5,view.sort=leeching
schedule2 = sort_active,14,5,view.sort=active
# Enable DHT support for trackerless torrents or when all trackers are down.
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
# The default is "off". For DHT to work, a session directory must be defined.
#
#dht = auto
# UDP port to use for DHT.
#
#dht_port = 6881
# Enable peer exchange (for torrents not marked private)
#
#peer_exchange = yes
@sasapurin

This comment has been minimized.

Copy link
Owner Author

sasapurin commented Jul 13, 2019

I knew I had to fork if I wanted to fix the source that someone else made. I obey the rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.