mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 01:40:16 +00:00
logger.error when no streams found for input format
This commit is contained in:
@@ -224,6 +224,11 @@ class Spotdl:
|
||||
quality=self.arguments["quality"],
|
||||
preftype=self.arguments["input_ext"],
|
||||
)
|
||||
if stream is None:
|
||||
logger.error('No matching streams found for given input format: "{}".'.format(
|
||||
self.arguments["input_ext"]
|
||||
))
|
||||
return
|
||||
|
||||
if self.arguments["no_encode"]:
|
||||
output_extension = stream["encoding"]
|
||||
|
||||
Reference in New Issue
Block a user