Skip to content

Instantly share code, notes, and snippets.

@morganp
Created January 8, 2014 19:41
Show Gist options
  • Save morganp/8323194 to your computer and use it in GitHub Desktop.
Save morganp/8323194 to your computer and use it in GitHub Desktop.
rtorrent.rc
##
## .rtorrent.rc
##
## All the Possible commands
## http://libtorrent.rakshasa.no/wiki/RTorrentCommandsRaw
##
## Main Examples
## http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks
## http://wiki.rtorrent.org/RtorrentScripting
max_peers = 40
max_peers_seed = 40
max_uploads = 10
min_peers = 10
min_peers_seed = 10
## MAX Down = 752KB/s => 6023kbps
## MAX Up = 129KB/s => 1035kbps
download_rate = 400
upload_rate = 50
## Ratio Groups
## Bad ratio
view_add = view_group_1
## OK Ratio
view_add = view_group_2
## GOOD Ratio
view_add = view_group_3
# Make the views persist across sessions.
view.persistent = view_group_1
view.persistent = view_group_2
view.persistent = view_group_3
# Create new groups, 'group.insert = <name>, <view>'.
group.insert = group_1, view_group_1
group.insert = group_2, view_group_2
group.insert = group_3, view_group_1
group.group_1.ratio.enable=
group.group_1.ratio.min.set=0
group.group_1.ratio.max.set=1
group.group_2.ratio.enable=
group.group_2.ratio.min.set=100
group.group_2.ratio.max.set=300
group.group_3.ratio.enable=
group.group_3.ratio.min.set=500
group.group_3.ratio.max.set=1000
## Enable the default ratio group.
#ratio.enable=
#
## Change the limits, the defaults should be sufficient.
#ratio.min.set=200
#ratio.max.set=300
#ratio.upload.set=20M
session = ~/Downloads/Session
schedule = watch_directory_low_ratio,10,10,"load_start=~/Downloads/Torrents_target_low_seed_ratio/*.torrent,d.set_directory=/Volumes/FUBAR/Incomplete/,d.set_custom1=/Volumes/FUBAR/Transitions_low/, view.set_visible=view_group_1"
schedule = watch_directory_standard,10,10,"load_start=~/Downloads/Torrents/*.torrent,d.set_directory=~/Downloads/Incomplete/,d.set_custom1=~/Downloads/Transitions/, view.set_visible=view_group_2"
schedule = watch_directory_high_ratio,10,10,"load_start=~/Downloads/Torrents_target_high_seed_ratio/*.torrent,d.set_directory=/Volumes/FUBAR/Incomplete/,d.set_custom1=/Volumes/FUBAR/Transitions_high/, view.set_visible=view_group_3"
schedule = watch_directory,10,10,"load_start=~/Downloads/Hidden_Torrents/*.torrent,d.set_directory=~/Downloads/Hidden_Incomplete/,d.set_custom1=~/Downloads/Hidden_Transitions/"
schedule = untied_directory,10,10,close_untied=
schedule = tied_directory,10,10,start_tied=
#Move upon download completion.
system.method.set_key =event.download.finished,move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-n,$d.get_base_path=,$d.get_custom1="
## Adding completed torrents, move from incomplete to transitions
#system.method.set_key =event.download.hash_done,move_hash_done,"d.set_directory=$d.get_custom1= ;execute=mv,-n,$d.get_base_path=,$d.get_custom1="
schedule = throttle_1,00:00:01,24:00:00,download_rate=600
schedule = throttle_2,08:30:01,24:00:00,download_rate=300
schedule = throttle_3,22:00:01,24:00:00,download_rate=500
schedule = throttle_4,00:00:01,24:00:00,upload_rate=100
schedule = throttle_5,08:30:01,24:00:00,upload_rate=50
schedule = throttle_6,22:00:01,24:00:00,upload_rate=100
# Port range to use for listening.
port_range = 16000-16010
# Set up for encryption
encryption = require,require_RC4
# 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 = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment