aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-03-15 18:55:15 -0500
committerGitHub <noreply@github.com>2026-03-15 18:55:15 -0500
commit769cc99f8fa8e859d953d446a92db0c9510782ec (patch)
tree652d081f7ba7bb347b4257fda45c2babe03e9591
parent92c5d4c6b30075451a0a85e28981e794964c48d1 (diff)
parent85dc381118ca7378984c07344af30109cb7cae0d (diff)
downloadslskd-769cc99f8fa8e859d953d446a92db0c9510782ec.tar.gz
Merge pull request #1674 from slskd/bump
Bump Soulseek.NET to 9.0.0, set minor version to 760
-rw-r--r--src/slskd/Program.cs12
-rw-r--r--src/slskd/slskd.csproj2
2 files changed, 12 insertions, 2 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index 8d67e803..a9504bb8 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -157,6 +157,14 @@ namespace slskd
public static string FullVersion { get; } = $"{SemanticVersion} ({InformationalVersion})";
/// <summary>
+ /// Gets the minor version to identify slskd on the network.
+ /// </summary>
+ /// <remarks>
+ /// NOTICE: If you have forked slskd, change this number to something else.
+ /// </remarks>
+ public static int NetworkMinorVersion { get; } = 760;
+
+ /// <summary>
/// Gets a value indicating whether the current version is a Canary build.
/// </summary>
public static bool IsCanary { get; } = AssemblyVersion.Revision == 65534;
@@ -680,7 +688,9 @@ namespace slskd
// add a partially configured instance of SoulseekClient. the Application instance will
// complete configuration at startup.
services.AddSingleton<ISoulseekClient, SoulseekClient>(_ =>
- new SoulseekClient(options: new SoulseekClientOptions(
+ new SoulseekClient(
+ minorVersion: NetworkMinorVersion,
+ options: new SoulseekClientOptions(
maximumConcurrentUploads: OptionsAtStartup.Transfers.Upload.Slots,
maximumConcurrentDownloads: OptionsAtStartup.Transfers.Download.Slots,
minimumDiagnosticLevel: OptionsAtStartup.Soulseek.DiagnosticLevel.ToEnum<Soulseek.Diagnostics.DiagnosticLevel>(),
diff --git a/src/slskd/slskd.csproj b/src/slskd/slskd.csproj
index ce5a7d54..ccc22a42 100644
--- a/src/slskd/slskd.csproj
+++ b/src/slskd/slskd.csproj
@@ -69,7 +69,7 @@
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Serilog.Sinks.Grafana.Loki" Version="7.1.1" />
<PackageReference Include="Serilog.Sinks.Http" Version="8.0.0" />
- <PackageReference Include="Soulseek" Version="8.5.0" />
+ <PackageReference Include="Soulseek" Version="9.0.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>