mirror of
https://github.com/fiso64/slsk-batchdl.git
synced 2024-12-22 06:22:41 +00:00
readme
This commit is contained in:
parent
b1e8dcd535
commit
0b52030d16
1 changed files with 44 additions and 44 deletions
88
README.md
88
README.md
|
@ -41,51 +41,51 @@ Usage: sldl <input> [OPTIONS]
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
General Options
|
General Options
|
||||||
-p, --path <path> Download directory
|
-p, --path <path> Download directory
|
||||||
--input-type <type> [csv|youtube|spotify|bandcamp|string|list]
|
--input-type <type> [csv|youtube|spotify|bandcamp|string|list]
|
||||||
--name-format <format> Name format for downloaded tracks. See --help name-format
|
--name-format <format> Name format for downloaded tracks. See --help name-format
|
||||||
|
|
||||||
-n, --number <maxtracks> Download the first n tracks of a playlist
|
-n, --number <maxtracks> Download the first n tracks of a playlist
|
||||||
-o, --offset <offset> Skip a specified number of tracks
|
-o, --offset <offset> Skip a specified number of tracks
|
||||||
-r, --reverse Download tracks in reverse order
|
-r, --reverse Download tracks in reverse order
|
||||||
-c, --config <path> Set config file location. Set to 'none' to ignore config
|
-c, --config <path> Set config file location. Set to 'none' to ignore config
|
||||||
--profile <names> Configuration profile(s) to use. See --help ""config"".
|
--profile <names> Configuration profile(s) to use. See --help ""config"".
|
||||||
--concurrent-downloads <num> Max concurrent downloads (default: 2)
|
--concurrent-downloads <num> Max concurrent downloads (default: 2)
|
||||||
--m3u <option> Create an m3u playlist file in the output directory
|
--m3u <option> Create an m3u 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 single line for sldl to index
|
'index'(default): Write a single line for sldl to index
|
||||||
downloaded files. Required for skip-existing=m3u.
|
downloaded files. Required for skip-existing=m3u.
|
||||||
'all': Create a playable m3u playlist file and sldl index.
|
'all': Create a playable m3u playlist file and sldl index.
|
||||||
--m3u-path <path> Override default m3u path
|
--m3u-path <path> Override default m3u path
|
||||||
|
|
||||||
-s, --skip-existing Skip if a track matching file conditions is found in the
|
-s, --skip-existing Skip if a track matching file conditions is found in the
|
||||||
output folder or your music library (if provided)
|
output folder or your music library (if provided)
|
||||||
--skip-mode <mode> [name|tag|m3u|name-cond|tag-cond|m3u-cond]. See --help
|
--skip-mode <mode> [name|tag|m3u|name-cond|tag-cond|m3u-cond]. See --help
|
||||||
skip-existing.
|
skip-existing.
|
||||||
--music-dir <path> Specify to also skip downloading tracks found in a music
|
--music-dir <path> Specify to also skip downloading tracks found in a music
|
||||||
library. Use with --skip-existing
|
library. Use with --skip-existing
|
||||||
--skip-not-found Skip searching for tracks that weren't found on Soulseek
|
--skip-not-found Skip searching for tracks that weren't found on Soulseek
|
||||||
during the last run. Fails are read from the m3u file.
|
during the last run. Fails are read from the m3u file.
|
||||||
--skip-existing-pref-cond Use preferred instead of necessary conds for skip-existing
|
--skip-existing-pref-cond Use preferred instead of necessary conds for skip-existing
|
||||||
|
|
||||||
--listen-port <port> Port for incoming connections (default: 49998)
|
--listen-port <port> Port for incoming connections (default: 49998)
|
||||||
--on-complete <command> Run a command whenever a file is downloaded.
|
--on-complete <command> Run a command whenever a file is downloaded.
|
||||||
Available placeholders: {path} (local save path), {title},
|
Available placeholders: {path} (local save path), {title},
|
||||||
{artist},{album},{uri},{length},{failure-reason},{state}.
|
{artist},{album},{uri},{length},{failure-reason},{state}.
|
||||||
Prepend a state number to only run in specific cases:
|
Prepend a state number to only run in specific cases:
|
||||||
1:, 2:, 3:, 4: for the Downloaded, Failed, Exists, and
|
1:, 2:, 3:, 4: for the Downloaded, Failed, Exists, and
|
||||||
NotFoundLastTime states respectively.
|
NotFoundLastTime states respectively.
|
||||||
E.g: '1:<cmd>' will only run the command if the file is
|
E.g: '1:<cmd>' will only run the command if the file is
|
||||||
downloaded successfully. Prepend 's:' to use the system
|
downloaded successfully. Prepend 's:' to use the system
|
||||||
shell to execute the command.
|
shell to execute the command.
|
||||||
|
|
||||||
--print <option> Print tracks or search results instead of downloading:
|
--print <option> Print tracks or search results instead of downloading:
|
||||||
'tracks': Print all tracks to be downloaded
|
'tracks': Print all tracks to be downloaded
|
||||||
'tracks-full': Print extended information about all tracks
|
'tracks-full': Print extended information about all tracks
|
||||||
'results': Print search results satisfying file conditions
|
'results': Print search results satisfying file conditions
|
||||||
'results-full': Print search results including full paths.
|
'results-full': Print search results including full paths.
|
||||||
--no-progress Disable progress bars/percentages, only simple printing
|
--no-progress Disable progress bars/percentages, only simple printing
|
||||||
--debug Print extra debug info
|
--debug Print extra debug info
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
Searching
|
Searching
|
||||||
|
|
Loading…
Reference in a new issue