Skip to content

Commit e6c2ef0

Browse files
committed
finish TRaSH guide for SABnzbd
1 parent 6f4e18f commit e6c2ef0

1 file changed

Lines changed: 79 additions & 4 deletions

File tree

modules/sabnzbd/settingsType.nix

Lines changed: 79 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,19 @@ in
152152

153153
permissions = mkOption {
154154
type = types.str;
155-
default = "755";
155+
default = "775";
156156
description = "File permissions for downloaded files";
157157
};
158158

159+
propagation_delay = mkOption {
160+
type = types.int;
161+
default = 0;
162+
description = ''
163+
Posts will be pause until they are at least this age.
164+
Setting job priority to Force will skip the delay.
165+
'';
166+
};
167+
159168
download_dir = mkOption {
160169
type = types.str;
161170
default = "${cfg.downloadsDir}/incomplete";
@@ -206,7 +215,7 @@ in
206215

207216
ignore_samples = mkOption {
208217
type = types.bool;
209-
default = true;
218+
default = false;
210219
description = "Ignore sample files";
211220
};
212221

@@ -248,16 +257,82 @@ in
248257

249258
enable_all_par = mkOption {
250259
type = types.bool;
251-
default = true;
260+
default = false;
252261
description = "Download all par2 files";
253262
};
254263

255264
action_on_unwanted_extensions = mkOption {
256265
type = types.int;
257-
default = 2;
266+
default = 1;
258267
description = "Action on unwanted extensions (0=None, 1=Abort, 2=Delete)";
259268
};
260269

270+
no_smart_dupes = mkOption {
271+
type = types.int;
272+
default = 4;
273+
description = "Smart duplicate detection";
274+
};
275+
276+
auto_sort = mkOption {
277+
type = types.str;
278+
default = "";
279+
description = "Automatically sort queue";
280+
};
281+
282+
fail_hopeless_jobs = mkOption {
283+
type = types.bool;
284+
default = true;
285+
description = "Abort jobs that cannot be completed";
286+
};
287+
288+
pause_on_pwrar = mkOption {
289+
type = types.int;
290+
default = 1;
291+
description = "Action when encrypted RAR is downloaded";
292+
};
293+
294+
unwanted_extensions = mkOption {
295+
type = types.str;
296+
default = "";
297+
description = "Unwanted extensions";
298+
};
299+
300+
unwanted_extensions_mode = mkOption {
301+
type = types.int;
302+
default = 0;
303+
description = "Unwanted extension mode (0=Blacklist, 1=Whitelist";
304+
};
305+
306+
safe_postproc = mkOption {
307+
type = types.bool;
308+
default = true;
309+
description = "Post process only verified jobs";
310+
};
311+
312+
sfv_check = mkOption {
313+
type = types.bool;
314+
default = true;
315+
description = "Enable SFV-based checks";
316+
};
317+
318+
enable_recursive = mkOption {
319+
type = types.bool;
320+
default = true;
321+
description = "Enable recursive unpacking";
322+
};
323+
324+
deobfuscate_final_filenames = mkOption {
325+
type = types.bool;
326+
default = true;
327+
description = "Deobfuscate final filenames";
328+
};
329+
330+
flat_unpack = mkOption {
331+
type = types.bool;
332+
default = true;
333+
description = "Ignore any folders inside archives";
334+
};
335+
261336
check_new_rel = mkOption {
262337
type = types.bool;
263338
default = true;

0 commit comments

Comments
 (0)