Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fiso64 committed Sep 15, 2024
1 parent 431c18b commit 4489d08
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions slsk-batchdl/Data.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,19 @@ public string ToString(bool noInfo = false)
if (str.Length > 0)
str += " - ";
if (Type == TrackType.Album)
str += Album;
else if (Title.Length > 0)
str += Title;
{
if (Album.Length > 0)
str += Album;
else
str += Title;
}
else
{
if (Title.Length > 0)
str += Title;
else
str += Album;
}
if (!noInfo)
{
if (Length > 0)
Expand Down
2 changes: 1 addition & 1 deletion slsk-batchdl/Help.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

// undocumented options
// --login, --random-login, --no-modify-share-count, --unknown-error-retries
// --invalid-replace-str, --cond, --pref, --danger-words, --pref-danger-words, --strict-title, --strict-artist, --strict-album
// --invalid-replace-str, --cond, --pref, --strict-title, --strict-artist, --strict-album
// --fast-search-delay, --fast-search-min-up-speed
// --min-album-track-count, --max-album-track-count, --extract-max-track-count, --extract-min-track-count

Expand Down
2 changes: 1 addition & 1 deletion slsk-batchdl/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ static string interactiveModeLoop()
Console.WriteLine();

Loop:
string userInput = interactiveModeLoop().Trim();
string userInput = interactiveModeLoop().Trim().ToLower();
switch (userInput)
{
case "p":
Expand Down

0 comments on commit 4489d08

Please sign in to comment.