From 05d8accf938a8c86a1651839ed650d28d1ec1d72 Mon Sep 17 00:00:00 2001 From: fiso64 Date: Tue, 21 Nov 2023 22:14:54 +0100 Subject: [PATCH] bug --- slsk-batchdl/Program.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slsk-batchdl/Program.cs b/slsk-batchdl/Program.cs index 4a0a6b9..a171b08 100644 --- a/slsk-batchdl/Program.cs +++ b/slsk-batchdl/Program.cs @@ -789,8 +789,10 @@ static class Program else if (musicDir != "" && !System.IO.Directory.Exists(musicDir)) Console.WriteLine($"Path does not exist: {musicDir}"); - foreach (var x in existing) - m3uEditor.WriteSuccess(x.Value, x.Key, false); + if (createM3u && !debugDisableDownload && !debugPrintTracks) { + foreach (var x in existing) + m3uEditor.WriteSuccess(x.Value, x.Key, false); + } } if (m3uOnly)