-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
132 lines (103 loc) · 4.93 KB
/
config.yaml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Speedrr Configuration File
# https://github.com/itschasa/speedrr
# Units to be used for all speed values
# Options (smallest to largest):
# - bit = bit/s, bits per second
# - B = B/s, bytes per second
# - Kbit = Kbit/s, kilobits per second
# - Kibit = Kibit/s, kibibits per second
# - KB = KB/s, kilobytes per second
# - KiB = KiB/s, kibibytes per second
# - Mbit = Mbit/s, megabits per second
# - Mibit = Mibit/s, mebibits per second
# - MB = MB/s, megabytes per second
# - MiB = MiB/s, mebibytes per second (default)
# - Gbit = Gbit/s, gigabits per second
# - Gibit = Gibit/s, gibibits per second
# - GB = GB/s, gigabytes per second
# - GiB = GiB/s, gibibytes per second
# Full unit names (e.g. kilobyte) can be used as well
# Note: Capitalization matters for the acronyms above.
units: MiB
# The minimum upload speed allowed on your torrent client.
# Note: Most torrent clients won't allow you to set the upload speed to 0,
# so the actual minimum upload speed will be 1 Byte/s.
min_upload: 8
# The maximum upload speed allowed on your torrent client.
# This should be around 70-80% of your total upload speed.
max_upload: 15
# The minimum dowload speed allowed on your torrent client.
# Note: Most torrent clients won't allow you to set the upload speed to 0,
# so the actual minimum upload speed will be 1 Byte/s.
min_download: 8
# The maximum dowload speed allowed on your torrent client.
# This should be around 80-100% of your total dowload speed.
max_download: 80
# The torrent clients to be used by Speedrr
# Note: If you have multiple clients, Speedrr will split the upload speed between them, based on the number of seeding+downloading torrents.
clients:
# The type of torrent client
# Options: qbittorrent
- type: qbittorrent
# The URL to your torrent client
url: <webui_url>
# The username and password to access your torrent client
username: <username>
password: <password>
# Whether to verify the SSL certificate of the torrent client
# If you are unsure what this means, leave it as is.
https_verify: true
# These are the modules that Speedrr will use to determine what upload speed to set.
modules:
# For monitoring Plex/Jellyfin streams, via Plex, Jellyfin, or Tautulli
# Uses the bandwidth of the streams to determine how much upload speed to deduct.
media_servers:
# Supports multiple servers
# Note: You should only use either plex or tautulli for every Plex Media Server you have.
# The type of server to get data from
# Options: plex, tautulli, jellyfin
- type: <server_type>
# The URL to your Plex/Tautulli/Jellyfin server
url: <server_url>
# PLEX ONLY, the token to access your Plex server
# Help: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
token: <plex_x_token>
# TAUTULLI AND JELLYFIN ONLY, the API key to access your Tautulli/Jellyfin server
# Tautulli: Settings > Web Interface > API > API key
# Jellyfin: Dashboard > Advanced > API Keys > +
api_key: <api_key>
# Whether to verify the SSL certificate of the Plex/Tautulli server
# If you are unsure what this means, leave it as is.
https_verify: true
# Bandwidth reported by Plex is multiplied by this value
# Plex will reserve a higher bandwidth than the actual stream requires all the time,
# so this value is used to reduce the reported bandwidth, if you want to.
bandwidth_multiplier: 1.0
# The interval in seconds to update the Plex stream data
update_interval: 5
# Checks if a stream is local, and if it is, it will ignore it from calculations
ignore_local_streams: true
# After a stream has been paused for this amount of seconds, it will be ignored from calculations
# Note: To disable this feature, set to -1.
ignore_paused_after: 300
# Changes the upload speed based on the time of day, and what day of the week
# Note: Recommended to use to set your upload speed to be lower during the day,
# when lots of users are using your internet.
# Note: Supports multiple schedules.
schedule:
# The start and end time of the schedule, in 24-hour format
# Note: Uses your machine's local timezone.
- start: "05:00"
end: "23:30"
# The days of the week to apply the schedule to
# Options: all, mon, tue, wed, thu, fri, sat, sun
# Note: If your end time goes past midnight, you should add the next day as well.
days: [all]
# The upload speed deducted in this time period.
# Note: This can be a percentage of the maximum or a fixed value (uses units specified at the top of config).
# Example: 50%, 10, 5, 80%, 20%
upload: 60%
# The dowload speed deducted in this time period.
# Note: This can be a percentage of the maximum or a fixed value (uses units specified at the top of config).
# Example: 50%, 10, 5, 80%, 20%
download: 80%