From fa825e0d1afd36860c6169e9e952ef94ad92af8b Mon Sep 17 00:00:00 2001 From: fiso64 <64778819+fiso64@users.noreply.github.com> Date: Mon, 21 Oct 2024 08:46:02 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 615faf1..0ddcb2b 100644 --- a/README.md +++ b/README.md @@ -303,9 +303,10 @@ 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 -contains no spaces. The conditions and preferred conditions fields are added on top of the +contains no spaces. The condition fields are added on top of the configured conditions and can also be omitted. List input must be manually activated with ---input-type=list. +--input-type=list. +It also accepts a shorthand for album downloads: `a:"Artist - Album"`. Note that the `a:` must appear outside the quotes. ## Download modes @@ -546,7 +547,7 @@ sldl "artist=MC MENTAL" -a -g -t Create a file named `wishlist.txt`, and add some items as detailed in [Input types: List](#list): ```bash echo "Artist - My Favorite Song" >> wishlist.txt -echo "a:Artist - Some Album, album-track-count=5" "format=flac" >> wishlist.txt +echo a:"Artist - Some Album, album-track-count=5" "format=flac" >> wishlist.txt ``` Add a profile to your `sldl.conf`: ``` From ae15c22f0717d0dbaf123dc95eda9aa176aa38a0 Mon Sep 17 00:00:00 2001 From: fiso64 <64778819+fiso64@users.noreply.github.com> Date: Mon, 21 Oct 2024 08:49:16 +0200 Subject: [PATCH 2/3] Update Help.cs --- slsk-batchdl/Help.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slsk-batchdl/Help.cs b/slsk-batchdl/Help.cs index 06db8e1..d1b261f 100644 --- a/slsk-batchdl/Help.cs +++ b/slsk-batchdl/Help.cs @@ -275,9 +275,11 @@ public static class Help ""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 - contains no spaces. The conditions and preferred conditions fields are added on top of the + contains no spaces. The condition fields are added on top of the configured conditions and can also be omitted. List input must be manually activated with - --input-type=list. + --input-type=list. + It also accepts a shorthand for album downloads: a:""Artist - Album"". Note that the a: must + appear outside the quotes. "; const string downloadModesHelp = @" From 518ff1781a60afdd72f51de03dfa4cc121a6dbf9 Mon Sep 17 00:00:00 2001 From: fiso64 <64778819+fiso64@users.noreply.github.com> Date: Mon, 21 Oct 2024 08:56:04 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ddcb2b..b8101ba 100644 --- a/README.md +++ b/README.md @@ -546,8 +546,8 @@ sldl "artist=MC MENTAL" -a -g -t #### Advanced example: Automatic wishlist downloader Create a file named `wishlist.txt`, and add some items as detailed in [Input types: List](#list): ```bash -echo "Artist - My Favorite Song" >> wishlist.txt -echo a:"Artist - Some Album, album-track-count=5" "format=flac" >> wishlist.txt +"Artist - My Favorite Song" +a:"Artist - Some Album, album-track-count=5" "format=flac" ``` Add a profile to your `sldl.conf`: ```