From dfd340ca5468af6b21a753e150e27996fc0becf9 Mon Sep 17 00:00:00 2001 From: fiso64 Date: Thu, 23 May 2024 21:30:47 +0200 Subject: [PATCH] commit --- slsk-batchdl/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/slsk-batchdl/Program.cs b/slsk-batchdl/Program.cs index 7a1b59a..4f36fa4 100644 --- a/slsk-batchdl/Program.cs +++ b/slsk-batchdl/Program.cs @@ -1152,6 +1152,8 @@ static class Program maxAlbumTrackCount = n; } } + + defaultFolderName = ReplaceInvalidChars(track.ToString(true), " ").Trim(); } else { @@ -1160,6 +1162,8 @@ static class Program //var timeParts = doc.DocumentNode.SelectSingleNode("//span[@class='time_total']").InnerText.Trim().Split(':'); var track = new Track() { Artist=artist, Title=name, Album=album }; trackLists.AddEntry(track); + + defaultFolderName = "."; } }