1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-22 22:42:41 +00:00
This commit is contained in:
fiso64 2024-05-23 21:30:47 +02:00
parent 78d6564695
commit dfd340ca54

View file

@ -1152,6 +1152,8 @@ static class Program
maxAlbumTrackCount = n; maxAlbumTrackCount = n;
} }
} }
defaultFolderName = ReplaceInvalidChars(track.ToString(true), " ").Trim();
} }
else else
{ {
@ -1160,6 +1162,8 @@ static class Program
//var timeParts = doc.DocumentNode.SelectSingleNode("//span[@class='time_total']").InnerText.Trim().Split(':'); //var timeParts = doc.DocumentNode.SelectSingleNode("//span[@class='time_total']").InnerText.Trim().Split(':');
var track = new Track() { Artist=artist, Title=name, Album=album }; var track = new Track() { Artist=artist, Title=name, Album=album };
trackLists.AddEntry(track); trackLists.AddEntry(track);
defaultFolderName = ".";
} }
} }