fix song not downloadable detection

This commit is contained in:
alacleaker 2024-04-09 07:16:07 -03:00
parent 3ae6709ccb
commit 61b1bf1e55

View File

@ -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"