From 3f6f13bb99deac7c0b5a5b5ddb43cea91fa40e13 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 30 Dec 2022 16:19:28 -0600 Subject: add controller 'downloads' option and docs --- src/slskd/Core/Options.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index e23fd640..bc6f14a6 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -500,6 +500,14 @@ namespace slskd [NotNullOrWhiteSpace] [Secret] public string Secret { get; init; } + + /// + /// Gets a value indicating whether to receive completed downloads from the controller. + /// + [Argument(default, "controller-downloads")] + [EnvironmentVariable("CONTROLLER_DOWNLOADS")] + [Description("receive completed downloads from the controller")] + public bool Downloads { get; init; } = false; } /// -- cgit v1.2.3