mirror of
https://github.com/fiso64/slsk-batchdl.git
synced 2024-12-22 14:32:40 +00:00
commit
This commit is contained in:
parent
cc3bb440bb
commit
effe864b43
2 changed files with 20 additions and 20 deletions
36
README.md
36
README.md
|
@ -53,8 +53,8 @@ Usage: sldl <input> [OPTIONS]
|
||||||
--concurrent-downloads <num> Max concurrent downloads (default: 2)
|
--concurrent-downloads <num> Max concurrent downloads (default: 2)
|
||||||
--m3u <option> Create an m3u8 playlist file in the output directory
|
--m3u <option> Create an m3u8 playlist file in the output directory
|
||||||
'none' (default for string input): Do not create
|
'none' (default for string input): Do not create
|
||||||
'index' (default): Write a line indexing all downloaded
|
'index' (default): Write a single line for sldl to index
|
||||||
files, required for skip-not-found or skip-existing=m3u
|
all downloaded files, required for skip-existing=m3u
|
||||||
'all': Write the index and a list of paths and fails
|
'all': Write the index and a list of paths and fails
|
||||||
--m3u-path <path> Override default m3u path
|
--m3u-path <path> Override default m3u path
|
||||||
|
|
||||||
|
@ -329,13 +329,13 @@ configured conditions and can also be omitted. List input must be manually activ
|
||||||
### Aggregate
|
### Aggregate
|
||||||
With -g/--aggregate, sldl performs an ordinary search for the input then attempts to
|
With -g/--aggregate, sldl performs an ordinary search for the input then attempts to
|
||||||
group the results into distinct songs and download one of each kind, starting with the one
|
group the results into distinct songs and download one of each kind, starting with the one
|
||||||
which is shared by the most users.
|
shared by the most users.
|
||||||
Note that --min-shares-aggregate is 2 by default, which means that songs shared by only
|
Note that --min-shares-aggregate is 2 by default, which means that songs shared by only
|
||||||
one user will be ignored.
|
one user will be ignored.
|
||||||
|
|
||||||
### Album Aggregate
|
### Album Aggregate
|
||||||
Activated when both --album and --aggregate are enabled. sldl will group shares and download
|
Activated when both --album and --aggregate are enabled. sldl will group shares and download
|
||||||
one of each distinct album, starting with the one shared by the most users. It's
|
one of each distinct album, starting with the one shared by the most users. It is
|
||||||
recommended to pair this with --interactive.
|
recommended to pair this with --interactive.
|
||||||
Note that --min-shares-aggregate is 2 by default, which means that albums shared by only
|
Note that --min-shares-aggregate is 2 by default, which means that albums shared by only
|
||||||
one user will be ignored.
|
one user will be ignored.
|
||||||
|
@ -545,7 +545,19 @@ sldl spotify-likes
|
||||||
```
|
```
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
Download albums for every song in a spotify playlist:
|
Download a specific song by name, preferring lossless:
|
||||||
|
```
|
||||||
|
sldl "MC MENTAL @ HIS BEST, length=242" --pref-format "flac,wav"
|
||||||
|
```
|
||||||
|
<br>
|
||||||
|
|
||||||
|
Interactive album download:
|
||||||
|
```
|
||||||
|
sldl "Some Album" --album --interactive
|
||||||
|
```
|
||||||
|
<br>
|
||||||
|
|
||||||
|
Download the album of every song in a spotify playlist:
|
||||||
```
|
```
|
||||||
sldl https://spotify/playlist/id --album --skip-existing
|
sldl https://spotify/playlist/id --album --skip-existing
|
||||||
```
|
```
|
||||||
|
@ -558,18 +570,6 @@ sldl https://www.youtube.com/playlist/id --get-deleted --yt-dlp
|
||||||
```
|
```
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
Search & download a specific song, preferring lossless:
|
|
||||||
```
|
|
||||||
sldl "MC MENTAL @ HIS BEST, length=242" --pref-format "flac,wav"
|
|
||||||
```
|
|
||||||
<br>
|
|
||||||
|
|
||||||
Interactive album download:
|
|
||||||
```
|
|
||||||
sldl "Some Album" --album --interactive
|
|
||||||
```
|
|
||||||
<br>
|
|
||||||
|
|
||||||
Print all songs by an artist which are not in your library:
|
Print all songs by an artist which are not in your library:
|
||||||
```
|
```
|
||||||
sldl "artist=MC MENTAL" --aggregate --skip-existing --music-dir "path/to/music" --print tracks-full
|
sldl "artist=MC MENTAL" --aggregate --skip-existing --music-dir "path/to/music" --print tracks-full
|
||||||
|
@ -656,7 +656,7 @@ Example => Run `sldl` every Sunday at 1am, search for missing tracks from the sp
|
||||||
|
|
||||||
```
|
```
|
||||||
# min hour day month weekday command
|
# min hour day month weekday command
|
||||||
0 1 * * 0 sldl https://open.spotify.com/playlist/6sf1WR5grXGJ6dET -c /config -p /data --music-dir /data --skip-existing"
|
0 1 * * 0 sldl https://open.spotify.com/playlist/6sf1WR5grXGJ6dET -c /config -p /data --skip-existing --m3u-path /data/index.sldl"
|
||||||
```
|
```
|
||||||
|
|
||||||
[crontab.guru](https://crontab.guru/) could be used to help with the scheduling expression.
|
[crontab.guru](https://crontab.guru/) could be used to help with the scheduling expression.
|
||||||
|
|
|
@ -30,8 +30,8 @@ public static class Help
|
||||||
--concurrent-downloads <num> Max concurrent downloads (default: 2)
|
--concurrent-downloads <num> Max concurrent downloads (default: 2)
|
||||||
--m3u <option> Create an m3u8 playlist file in the output directory
|
--m3u <option> Create an m3u8 playlist file in the output directory
|
||||||
'none' (default for string inputs): Do not create
|
'none' (default for string inputs): Do not create
|
||||||
'index' (default): Write a line indexing all downloaded
|
'index' (default): Write a single line for sldl to index
|
||||||
files, required for skip-not-found or skip-existing=m3u
|
all downloaded files, required for skip-existing=m3u
|
||||||
'all': Write the index and a list of paths and fails
|
'all': Write the index and a list of paths and fails
|
||||||
--m3u-path <path> Override default m3u path
|
--m3u-path <path> Override default m3u path
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue