forked from Tensai75/nzb-monkey-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaultconfig.go
137 lines (127 loc) · 3.06 KB
/
defaultconfig.go
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
132
133
134
135
136
137
package main
import "strings"
func defaultConfig() string {
return strings.Trim(`
[GENERAL]
# Target for handling nzb files - EXECUTE, SABNZBD, NZBGET or SYNOLOGYDLS
target = "EXECUTE"
# Let the monkey choose a category. Values are: off, auto, manual
categorize = "off"
# seconds to wait befor ending/closing the window after success
success_wait_time = 3
# seconds to wait befor ending/closing the window after an error
error_wait_time = 10
[EXECUTE]
# Extend password to filename {{password}}
passtofile = true
# Copy password to clipboard
passtoclipboard = false
# Path to save nzb files
nzbsavepath = "./nzb"
# Don't execute default programm for .nzb
dontexecute = true
# Delete old NZB files from nzbsavepath
clean_up_enable = false
# NZB files older than x days will be deleted
clean_up_max_age = 2
[SABNZBD]
# SABnzbd Hostname
host = "localhost"
# SABnzbd Port
port = 8080
# Use https
ssl = false
# NZB Key
nzbkey = ""
# Basic Auth Username
basicauth_username = ""
# Basic Auth Password
basicauth_password = ""
# Basepath
basepath = ""
# Category
category = ""
# Add the nzb paused to the queue
addpaused = false
[NZBGET]
# NZBGet Host
host = "localhost"
# NZBGet Port
port = 6789
# Use https
ssl = false
# NZBGet Username
user = ""
# NZBGet Password
pass = ""
# Basepath
basepath = ""
# NZBGet Category
category = ""
# Add the nzb paused to the queue
addpaused = false
[SYNOLOGYDLS]
# Downloadstation Host
host = "localhost"
# Downloadstation Port
port = 5000
# Use https
ssl = false
# Downloadstation Username
user = ""
# Downloadstation Password
pass = ""
# Basepath
basepath = ""
[NZBCheck]
# Don't skip failed nzb
skip_failed = true
# Max missing failed segments
max_missing_segments_percent = 1
# Max missing failed files
max_missing_files = 1
# Use always all Searchengines to find the best NZB
best_nzb = true
[CATEGORIZER]
# Place your category and you regex here
# Please uncomment the following lines
# series = "(s\d+e\d+|s\d+ complete)"
# movies = "(x264|xvid|bluray|720p|1080p|untouched)"
[SEARCHENGINES]
# Set values between 0-9
# 0 = disabled; 1-9 = enabled; 1-9 are also the order in which the search engines are used
# More than 1 server with the same order number is allowed
# Enable NZBIndex
nzbindex = 1
# Enable NZBKing
nzbking = 2
# Enable Binsearch
binsearch = 3
# Enable Binsearch - Alternative Server
binsearch_alternative = 3
# Enable nzb direct search (settings for the nzb direct search required)
directsearch = 4
# Settings for the nzb direct search
[DIRECTSEARCH]
# Your usenet server host name
host = "news-eu.newshosting.com"
# Your usenet server port number
port = 119
# Use SSL
ssl = false
# Your usenet account username
username = ""
# Your usenet account password
password = ""
# Maximum allowed connections to your usenet server (default = 20)
connections = 20
# Number of hours to search back from the provided date (default = 12)
hours = 12
# Number of parallel scans (default = 50)
scans = 50
# Number of articles to load per scan (default = 20000)
step = 20000
# Skip direct search when using best_nzb and a good NZB file has already been found
skip = true
`, "\n")
}