-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
236 lines (236 loc) · 9.49 KB
/
manifest.json
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"main": "main.py",
"name": "Completion",
"homepage": "https://github.com/nzbgetcom/Extension-Completion",
"kind": "SCAN/QUEUE/SCHEDULER",
"displayName": "Completion",
"version": "3.1",
"nzbgetMinVersion": "23.0",
"author": "kloaknet",
"license": "GPLv3",
"about": "Verifies that enough articles are available before starting the download.",
"queueEvents": "NZB_ADDED, NZB_DOWNLOADED, NZB_DELETED, NZB_MARKED",
"requirements": [
"This script requires Python 3.8.0 and above to be installed on your system."
],
"description": [
"For NZBGet versions 18+, this script needs to be:",
"- listed in EXTENSION SCRIPTS under Extensions.",
"- listed in CATEGORIES for each CategoryX.Extension if not left empty.",
"- optionally the user can add it as scheduler script to manually specify",
"different scheduler intervals instead of checking each 15 minutes by default.",
"For NZBGet versions prior to 18, this script should be added as:",
"- Scan script: to pause incoming NZBs.",
"- Queue script: to check newly added, and by the script paused NZBs, and resume when OK.",
"- Scheduler script: to regularly check completeness of by the script paused NZBs in the queue.",
"- listed in CATEGORIES for each CategoryX.Extension if not left empty.",
"",
"NOTE: To stop the script or remove the .lock file, reload NZBGet via SYSTEM."
],
"options": [
{
"name": "AgeLimit",
"displayName": "AgeLimit",
"value": 4,
"description": [
"NZB max age.",
"Max age of the NZB file in hours till the scheduler script stops checking",
"the NZB file, moves it to the history, and marks it BAD or FAILED. Basically",
"this defines the maximum propagation delay.",
"This option is also used for the FillServer option.",
"Default = 4."
],
"select": []
},
{
"name": "AgeSortLimit",
"displayName": "AgeSortLimit",
"value": 48,
"description": [
"NZB max sort age.",
"Max age of the NZB file in hours till the scheduler script stops prioritizing",
"age over queue order. Basically this defines the upperbound of the take down window.",
"Default = 48."
],
"select": []
},
{
"name": "CheckDupes",
"displayName": "CheckDupes",
"value": "SameScore",
"description": [
"Check duplicate NZBs stored in the history.",
"NZBs with the DUPE status in the history will be checked, note",
"NZBGet option DupeCheck needs to be enabled for this to work.",
"The option SameScore will only check the dupes that have the same or higher",
"DUPE score as the item in the queue. This means that only when the file in",
"the queue. This means that only when the file in the queue is",
"older than AgeLimit and marked BAD or FAILED, a lower score DUPE could be",
"moved back to the queue.",
"Default = SameScore."
],
"select": ["Yes", "SameScore", "No"]
},
{
"name": "ForceFailure",
"displayName": "ForceFailure",
"value": "Yes",
"description": [
"The NZBGet mark BAD option might not be supported by programs like Sonarr.",
"Therefore this option forces a failure, so Sonarr will know that it has to",
"push an other nzb, because the current one failed.",
"NOTE: This option will result in a warning messages for each .rar file and at",
"least one error from NZBGet when forcing the FAILURE status.",
"Default = Yes."
],
"select": ["Yes", "No"]
},
{
"name": "CheckLimit",
"displayName": "CheckLimit",
"value": 10,
"description": [
"Percentage of archive articles to check.",
"A higher percentage will be more accurate, but will increase the duration of",
"the check.",
"Default = 10."
],
"select": []
},
{
"name": "MinArticles",
"displayName": "MinArticles",
"value": 50,
"description": [
"Minimal number of articles to check.",
"Increases number of articles to be checked on very small NZB files.",
"Default = 50."
],
"select": []
},
{
"name": "MaxArticles",
"displayName": "MaxArticles",
"value": 1000,
"description": [
"Maximum number of articles to check.",
"Reduces the time it takes to check large NZB files.",
"Won't override the FullCheckNoPars option.",
"Default = 1000."
],
"select": []
},
{
"name": "FullCheckNoPars",
"displayName": "FullCheckNoPars",
"value": "Yes",
"description": [
"Check all archives when no pars.",
"Force a full check on all the archives articles in the release when no or",
"only 1 par file is included. This to garantee all articles are there and you",
"don't waste bandwidth because just 1 article is missing.",
"Default = Yes."
],
"select": ["Yes", "No"]
},
{
"name": "Categories",
"displayName": "Categories",
"value": "",
"description": [
"Categories to check for completion.",
"Comma separated list like 'TV-HD, TV, Movies, etc'. Leave blank for all",
"categories. Note that the category of an NZB file is shown in the donwload",
"and history queue.",
"Default = blank."
],
"select": []
},
{
"name": "Servers",
"displayName": "Servers",
"value": "",
"description": [
"Servers to use for completion check.",
"Comma separated list like '1, 3, 4'. Leave blank for all news-servers.",
"News-server numbers are equal to the server numbering in the NZBGet settings",
"on the NEWS-SERVERS tab.",
"Suggestion is the specify atleast your main news-servers.",
"Default = blank."
],
"select": []
},
{
"name": "FillServers",
"displayName": "FillServers",
"value": "",
"description": [
"FillServers to use for completion check, will only be used in last check.",
"Comma separated list like '1, 3, 4'. Leave blank for no news-servers.",
"News-server numbers are equal to the server numbering in the NZBGet settings",
"on the NEWS-SERVERS tab. Last check is check when NZB is older than AgeLimit.",
"Suggestion is to specify your fill/block news-servers.",
"Default = blank."
],
"select": []
},
{
"name": "MaxFailure",
"displayName": "MaxFailure",
"value": 0,
"description": [
"Maximum failure percentage for main server.",
"This option requires that at least X percent of the articles are available on",
"the lowest Sever.Level and Server.Group news-server (your main news-server).",
"When more than X percentage fails on your main news-server, the NZB is",
"skipped to avoid burning through fill servers. Use 0 to disable.",
"Default = 0."
],
"select": []
},
{
"name": "Verbose",
"displayName": "Verbose",
"value": "No",
"description": [
"Print more info to the log for debugging.",
"Default = No."
],
"select": ["Yes", "No"]
},
{
"name": "Extreme",
"displayName": "Extreme",
"value": "No",
"description": [
"Print even more info to the log for debugging.",
"This will print your news-server passwords in the logs too!.",
"Default = No."
],
"select": ["Yes", "No"]
},
{
"name": "IgnoreQueuePriority",
"displayName": "IgnoreQueuePriority",
"value": "No",
"description": [
"Ignore queue priority and always validate items immediately",
"Default = No."
],
"select": ["Yes", "No"]
}
],
"commands": [
{
"name": "CheckQueue",
"action": "Check",
"displayName": "CheckQueue",
"description": [
"Queue check.",
"To check the by the script paused items in the queue manually, click the",
"'Check' button. A scheduler call will then be executed."
]
}
],
"taskTime": "*;*:00;*:15;*:30;*:45"
}