nathom / streamrip

A scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer
GNU General Public License v3.0
2.6k stars 225 forks source link

Fix for [BUG] max() iterable argument is empty #677 #683

Closed craigologo closed 3 months ago

craigologo commented 4 months ago

Fix for https://github.com/nathom/streamrip/issues/677

Cause seems to be missing "download info".

With that missing, that max check was breaking. Defaulting to 0 breaks downstream as there is still missing data. Halting flow seems like the best solution for a quick fix.

This is how it now displays during execution if download data is missing:

image