diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-04-05 16:51:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-05 16:51:39 -0500 |
| commit | ac53fb5b3639292113b06876a05f402f7d1f0520 (patch) | |
| tree | 29726be4a5ecdb1aae6e4f296ad5af7152ea9ce2 /src/slskd/Core | |
| parent | eec6e0f098effcb9bfda297a441ca7ffd8d33934 (diff) | |
| parent | 1a3e8c9d8a1857e1ac0c3fe92d5ab1408aa3d0df (diff) | |
| download | slskd-ac53fb5b3639292113b06876a05f402f7d1f0520.tar.gz | |
Merge pull request #1303 from dkschruteBeets/feature/add-profile-picture-support
Feature/add profile picture support
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/Options.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 266d04aa..68856b36 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1532,6 +1532,14 @@ namespace slskd public string Description { get; init; } = "A slskd user. https://github.com/slskd/slskd"; /// <summary> + /// Gets the file path for the user's profile picture. + /// </summary> + [Argument(default, "slsk-profile-picture")] + [EnvironmentVariable("SLSK_PROFILE_PICTURE")] + [Description("path to the user's profile picture file")] + public string ProfilePicture { get; init; } = Program.DefaultProfilePicturePath; + + /// <summary> /// Gets the local IP address on which to listen for incoming connections. /// </summary> [Argument(default, "slsk-listen-ip-address")] @@ -1656,7 +1664,7 @@ namespace slskd [EnvironmentVariable("SLSK_INACTIVITY_TIMEOUT")] [Description("connection inactivity timeout, in milliseconds")] [Range(1000, int.MaxValue)] - public int Inactivity { get; init; } = 15000; + public int Inactivity { get; init; } = 30000; } /// <summary> |
