1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-22 06:22:41 +00:00

update readme

This commit is contained in:
fiso64 2024-09-06 18:29:31 +02:00
parent 9ba474cbb5
commit cc3bb440bb
3 changed files with 14 additions and 8 deletions

View file

@ -305,8 +305,11 @@ Input String | Artist | Title | Album | Lengt
### List ### List
A path to a text file where each line has the following form: A path to a text file where each line has the following form:
``` ```
"some input" "conditions" "preferred conditions" "some input" "conditions" "preferred conditions"
"album=Album" "format=mp3; br > 128" "br >= 320" ```
e.g:
```
"artist=Artist, album=Album" "format=mp3; br > 128" "br >= 320"
``` ```
Where "some input" is any of the above input types. The quotes can be omitted if the field Where "some input" is any of the above input types. The quotes can be omitted if the field
contains no spaces. The conditions and preferred conditions fields are added on top of the contains no spaces. The conditions and preferred conditions fields are added on top of the

View file

@ -270,10 +270,13 @@ public static class Help
List List
A path to a text file where each line has the following form: A path to a text file where each line has the following form:
""some input"" ""conditions"" ""preferred conditions"" ""some input"" ""conditions"" ""preferred conditions""
""album=Album"" ""format=mp3; br > 128"" ""br >= 320""
e.g:
""artist=Artist, album=Album"" ""format=mp3; br > 128"" ""br >= 320""
Where ""some input"" is any of the above input types. The quotes can be omitted if the field Where ""some input"" is any of the above input types. The quotes can be omitted if the field
contains no spaces. The conditions and preferred conditions fields are added on top of the contains no spaces. The conditions and preferred conditions fields are added on top of the
configured conditions and can also be omitted. List input must be manually activated with configured conditions and can also be omitted. List input must be manually activated with

View file

@ -165,6 +165,8 @@ static class Search
} }
catch (Exception e) catch (Exception e)
{ {
Printing.WriteLine($"Error: Download Error: {e}", ConsoleColor.DarkYellow, debugOnly: true);
chosenFile = null; chosenFile = null;
saveFilePath = ""; saveFilePath = "";
downloading = 0; downloading = 0;
@ -172,8 +174,6 @@ static class Search
if (!IsConnectedAndLoggedIn()) if (!IsConnectedAndLoggedIn())
throw; throw;
Printing.WriteLine("Error: Download Error: " + e.Message, ConsoleColor.DarkYellow, debugOnly: true);
userSuccessCount.AddOrUpdate(response.Username, -1, (k, v) => v - 1); userSuccessCount.AddOrUpdate(response.Username, -1, (k, v) => v - 1);
if (--trackTries <= 0) if (--trackTries <= 0)
{ {