mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
"--write-to -" for writing to to STDOUT
This commit is contained in:
@@ -283,13 +283,13 @@ class Arguments:
|
||||
)
|
||||
|
||||
if self.parsed.write_m3u and not self.parsed.list:
|
||||
self.parser.error("--write-m3u can only be used with --list")
|
||||
self.parser.error("--write-m3u can only be used with --list.")
|
||||
|
||||
if self.parsed.write_to and not (
|
||||
self.parsed.playlist or self.parsed.album or self.parsed.all_albums or self.parsed.username
|
||||
self.parsed.playlist or self.parsed.album or self.parsed.all_albums or self.parsed.username or self.parsed.write_m3u
|
||||
):
|
||||
self.parser.error(
|
||||
"--write-to can only be used with --playlist, --album, --all-albums, or --username"
|
||||
"--write-to can only be used with --playlist, --album, --all-albums, --username, or --write-m3u."
|
||||
)
|
||||
|
||||
ffmpeg_exists = shutil.which("ffmpeg")
|
||||
|
||||
Reference in New Issue
Block a user