fix: add error checking on playlist download

This commit is contained in:
Superredstone committed 2026-02-14 16:16:32 +01:00
1 parent 2e014d3dcd
commit a3fdb9cdfb
1 file changed
+4 -1
+4 -1
View File
@@ -65,7 +65,10 @@ func Download(application *app.App, url string, output_folder string) error {
PlaylistName: metadata.Info.Owner.Name, PlaylistName: metadata.Info.Owner.Name,
} }
application.DownloadTrack(downloadRequest) _, err = application.DownloadTrack(downloadRequest)
if err != nil {
fmt.Println("Unable to download " + track.Name + " - " + track.Artists)
}
} }
return nil return nil