From 61b1bf1e55a324d0ebd7076199db18ead6db9c3d Mon Sep 17 00:00:00 2001 From: alacleaker <50295204+glomatico@users.noreply.github.com> Date: Tue, 9 Apr 2024 07:16:07 -0300 Subject: [PATCH] fix song not downloadable detection --- gamdl/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamdl/cli.py b/gamdl/cli.py index ee718fc..a0ef416 100644 --- a/gamdl/cli.py +++ b/gamdl/cli.py @@ -493,7 +493,7 @@ def main( ) else: stream_info = downloader_song.get_stream_info(track) - if not stream_info.stream_url or not stream_info.codec: + if not stream_info.stream_url or not stream_info.pssh: logger.warning( f"({queue_progress}) Song is not downloadable or is not" " available in the chosen codec, skipping"