aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-04-07 15:13:44 -0500
committerGitHub <noreply@github.com>2025-04-07 15:13:44 -0500
commitf0ab25a376280c5b92c9b58686be8fbd074e8ad9 (patch)
tree19d003e8cb382399d6b2d8ed62e3042b7e980dd4 /src/slskd/Core
parenteec6e0f098effcb9bfda297a441ca7ffd8d33934 (diff)
parent166373e80e740f8de5867a823551461d75c57bec (diff)
downloadslskd-f0ab25a376280c5b92c9b58686be8fbd074e8ad9.tar.gz
Merge pull request #1321 from slskd/profile-pic
Add the ability to set a profile picture
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 266d04aa..cc662444 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1532,6 +1532,15 @@ 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-picture")]
+ [EnvironmentVariable("SLSK_PICTURE")]
+ [Description("user picture for the Soulseek network")]
+ [FileExists(FileAccess.Read)]
+ public string Picture { get; init; } = null;
+
+ /// <summary>
/// Gets the local IP address on which to listen for incoming connections.
/// </summary>
[Argument(default, "slsk-listen-ip-address")]