diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-12-31 16:50:27 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-31 16:50:27 -0600 |
| commit | ce67db39e0fa02a764a13546043e71d25d338219 (patch) | |
| tree | 84c6818063270d78f6655342450012385b8a205f /src/slskd/Core | |
| parent | 49bc255026aa5ef2c4df0727134b7627808270fc (diff) | |
| parent | d259789fcb605aa9d87857ba2fba8c35604297c2 (diff) | |
| download | slskd-ce67db39e0fa02a764a13546043e71d25d338219.tar.gz | |
Merge pull request #815 from slskd/relay-down
Add the ability to configure Relay Agents to download files downloaded by the controller
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/Options.cs | 8 |
1 files changed, 8 insertions, 0 deletions
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; } + + /// <summary> + /// Gets a value indicating whether to receive completed downloads from the controller. + /// </summary> + [Argument(default, "controller-downloads")] + [EnvironmentVariable("CONTROLLER_DOWNLOADS")] + [Description("receive completed downloads from the controller")] + public bool Downloads { get; init; } = false; } /// <summary> |
