-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
126 lines (114 loc) · 3.62 KB
/
Copy pathconfig.example.toml
File metadata and controls
126 lines (114 loc) · 3.62 KB
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
# StackArr Configuration
# Copy this file to /config/stackarr.toml and adjust as needed.
# All values shown are the defaults.
[general]
# Display name for this instance
instance_name = "StackArr"
# Address the HTTP server binds to
bind_addr = "0.0.0.0"
# Port the HTTP server listens on
port = 8989
# Directory for config and internal data
data_dir = "/config"
# Log level: trace, debug, info, warn, error
log_level = "info"
[database]
# PostgreSQL connection string
url = "postgresql://stackarr:stackarr@localhost:5432/stackarr"
# Maximum number of connections in the pool
max_connections = 20
[auth]
# Authentication method: "forms", "basic", "none"
method = "forms"
# Optional API key for external access (leave unset to disable)
# api_key = "your-api-key-here"
[torrent]
# Enable the embedded torrent client
enabled = false
# Directory for in-progress torrent downloads
# download_dir = "/downloads/torrents/incomplete"
# Directory for completed torrent downloads
# complete_dir = "/downloads/torrents/complete"
# BitTorrent listen port
listen_port = 6881
# Enable DHT for peer discovery
dht_enabled = true
# Maximum number of peers per torrent
peer_limit = 200
# Upload speed limit in bytes/sec (0 = unlimited)
upload_limit_bps = 0
# Download speed limit in bytes/sec (0 = unlimited)
download_limit_bps = 0
[usenet]
# Enable the embedded usenet downloader
enabled = false
# Directory for in-progress NZB downloads
# incomplete_dir = "/downloads/usenet/incomplete"
# Directory for completed NZB downloads
# complete_dir = "/downloads/usenet/complete"
# Maximum concurrent article downloads
max_active_downloads = 3
# Extract RAR volumes while downloading (requires unrar on PATH)
direct_unpack = true
# Maximum time to wait for one NNTP article response (0 disables the timeout)
article_timeout_secs = 30
# Maximum nested archive layers extracted during post-processing
max_nested_archive_depth = 5
# Usenet server example (uncomment and duplicate as needed):
# [[usenet.servers]]
# name = "Primary"
# host = "news.example.com"
# port = 563
# ssl = true
# username = "user"
# password = "pass"
# connections = 8
# priority = 0
[indexarr]
# Enable Indexarr sidecar integration
enabled = false
# Indexarr instance URL
url = "http://indexarr:8080"
# API key for Indexarr
# api_key = "your-indexarr-api-key"
# Mode: "peer" or "standalone"
mode = "peer"
[streaming]
# Enable the built-in streaming server (Plex-like media playback)
enabled = false
# Directory for temporary transcode segments
# transcode_dir = "/config/transcode"
# Path to ffmpeg binary
ffmpeg_path = "ffmpeg"
# Path to ffprobe binary
ffprobe_path = "ffprobe"
# HLS segment duration in seconds
segment_duration_secs = 6
# Maximum concurrent transcode sessions
max_concurrent_sessions = 3
[streaming.hwaccel]
# Enable hardware-accelerated transcoding
enabled = false
# Acceleration type: "qsv", "vaapi", "nvenc"
accel_type = "qsv"
# Device path (e.g. /dev/dri/renderD128 for QSV/VAAPI)
# device = "/dev/dri/renderD128"
[naming]
[naming.series]
# Whether to rename episode files on import
rename = true
# Standard episode format
standard = "{Series Title} - S{season:00}E{episode:00} - {Episode Title} [{Quality Title}]"
# Daily episode format
daily = "{Series Title} - {Air-Date} - {Episode Title} [{Quality Title}]"
# Anime episode format
anime = "{Series Title} - S{season:00}E{episode:00} - {Absolute Episode} - {Episode Title} [{Quality Title}]"
# Season folder format
season_folder = "Season {season:00}"
[naming.movie]
# Whether to rename movie files on import
rename = true
# Movie file format
standard = "{Movie Title} ({Release Year}) [{Quality Title}]"
# Movie folder format
folder = "{Movie Title} ({Release Year})"