~kris/dots

srice

ref: 178c9a25a484ead715392d50e21d03df486b8b41 srice/.config/rtorrent/rtorrent.rc -rw-r--r-- 1.9 KiB
178c9a25 — Kris Yotam conky: sync proper config from moirai (was the greenred variant) 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# rtorrent configuration

# Directories
method.insert = cfg.basedir, private|const|string, (cat,"/home/",(system.env,USER),"/")
method.insert = cfg.download, private|const|string, (cat,(cfg.basedir),"downloads/torrents/")
method.insert = cfg.session, private|const|string, (cat,(cfg.basedir),".local/share/rtorrent/session/")
method.insert = cfg.watch, private|const|string, (cat,(cfg.basedir),"downloads/torrents/watch/")

# Create directories if missing
execute.throw = sh, -c, (cat,"mkdir -p ",(cfg.download)," ",(cfg.session)," ",(cfg.watch))

# Default directory for downloads
directory.default.set = (cfg.download)

# Session directory for resume
session.path.set = (cfg.session)

# Watch directory for .torrent files
schedule2 = watch_directory, 10, 10, ((load.start, (cat,(cfg.watch),"*.torrent")))

# Listening port
network.port_range.set = 50000-50000
network.port_random.set = no

# Limits
throttle.max_uploads.set = 100
throttle.max_uploads.global.set = 250
throttle.min_peers.normal.set = 20
throttle.max_peers.normal.set = 60
throttle.min_peers.seed.set = 30
throttle.max_peers.seed.set = 80
throttle.max_downloads.global.set = 10

# Tracker settings
trackers.use_udp.set = yes
dht.mode.set = auto
protocol.pex.set = yes

# Encryption
protocol.encryption.set = allow_incoming,try_outgoing,enable_retry

# Performance tuning
network.http.max_open.set = 50
network.max_open_files.set = 600
network.max_open_sockets.set = 300
pieces.memory.max.set = 1800M
network.xmlrpc.size_limit.set = 4M

# Ratio settings (seed to 2.0 ratio or 48 hours, whichever comes first)
ratio.enable =
ratio.min.set = 200
ratio.max.set = 300
ratio.upload.set = 1M

method.set = group.seeding.ratio.command, "d.close="

# Move completed downloads
method.insert = d.move_to_complete, simple, "d.directory.set=$argument.1=; execute=mkdir,-p,$argument.1=; execute=mv,-u,$argument.0=,$argument.1=; d.save_full_session="

# Key bindings (default + some extras)
# Use Ctrl+q to quit