From bd7951628383afab00ad4480b712ca0d136ca000 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 13 Jan 2022 20:23:21 -0600 Subject: bump Soulseek.NET to 4.1.0 --- src/slskd/slskd.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/slskd/slskd.csproj b/src/slskd/slskd.csproj index aee24985..cdaa055d 100644 --- a/src/slskd/slskd.csproj +++ b/src/slskd/slskd.csproj @@ -69,7 +69,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive -- cgit v1.2.3 From 2e0ffcce7e1dd97b0bfc7b8c73acd41ffc58c925 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 13 Jan 2022 20:27:13 -0600 Subject: log failed and denied downloads --- src/slskd/Application.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index ffd76fc5..73818c09 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -117,6 +117,8 @@ namespace slskd Client.Connected += Client_Connected; Client.LoggedIn += Client_LoggedIn; Client.StateChanged += Client_StateChanged; + Client.DownloadDenied += (e, args) => Log.Information("Download of {Filename} from {Username} was denied: {Message}", args.Filename, args.Username, args.Message); + Client.DownloadFailed += (e, args) => Log.Information("Download of {Filename} from {Username} failed", args.Filename, args.Username); } private ISoulseekClient Client { get; set; } -- cgit v1.2.3