SathyaBhat / spotify-dl

Downloads songs from your Spotify Playlist
http://sathyasays.com/2015/12/29/spotify-dl-download-your-spotify-my-music-songs-as-mp3/
MIT License
1.76k stars 214 forks source link

Error SponsorBlock #309

Closed Marcioghiraldelli closed 2 years ago

Marcioghiraldelli commented 2 years ago

The system downloads but does not convert to mp3 due to the error below, is there a way to skip this check? Because it does not convert and is in webm format

[SponsorBlock] Fetching SponsorBlock segments WARNING: Unable to communicate with SponsorBlock API: The read operation timed out. Retrying (1/3)... WARNING: Unable to communicate with SponsorBlock API: The read operation timed out. Retrying (2/3)... WARNING: Unable to communicate with SponsorBlock API: The read operation timed out. Retrying (3/3)... ERROR: Postprocessing: Unable to communicate with SponsorBlock API: The read operation timed out Failed to download Freak On a Leash, make sure yt_dlp is up to date Failed to download: Freak On a Leash/Korn - Freak On a Leash.mp3, please ensure YouTubeDL is up-to-date.

OscarBurr commented 2 years ago

I am also experiencing this. Downloads as Webms but doesn't turn them into MP3s. What's the fix?

Marcioghiraldelli commented 2 years ago

It seems that the SponsorBlock server is out and for some reason spotify-dl depends on it, when it doesn't find it it ignores the conversion and gives an error.

OscarBurr commented 2 years ago

that's very frustrating. Do you know of any alternatives to spotify_dl?

SathyaBhat commented 2 years ago

The sponsorblock API is used to fetch skippable segments and then the file is converted to mp3 in the post processor step. It looks like if the sponsorblock API is not available, the postprocessor errors out and the file will be downloaded but not converted to mp3.

You can take the downloaded files and convert them to mp3 using other converters in the meantime. I'll look at seeing if there's ways to skip sponsorblock if it is not accessible (or more correctly, fix the no-sponsorblock option to skip using it, which it doesn;t now)

Marcioghiraldelli commented 2 years ago

the converter helps in parts. If you use ffmpeg for example, it doesn't convert a downloaded playlist well. It works if it's just a file, it would be interesting to skip this check in case of server failures

OscarBurr commented 2 years ago

has this been fixed? I just attempted to download with the full intention of then manually converting the Webms - but it seems to be up and running and converting properly again mate.

Marcioghiraldelli commented 2 years ago

Yes, looks like it came back

Em qua, 26 de out de 2022 08:40, OscarBurr @.***> escreveu:

has this been fixed? I just attempted to download with the full intention of then manually converting the Webms - but it seems to be up and running and converting properly again mate.

— Reply to this email directly, view it on GitHub https://github.com/SathyaBhat/spotify-dl/issues/309#issuecomment-1291902966, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALTB5WQCDBTZZWMBY3BYS3DWFEKDZANCNFSM6AAAAAARMP7EMM . You are receiving this because you authored the thread.Message ID: @.***>

OscarBurr commented 2 years ago

it seems sponsorblock is gone once again

Marcioghiraldelli commented 2 years ago

thanks

Em qua, 26 de out de 2022 08:40, OscarBurr @.***> escreveu:

has this been fixed? I just attempted to download with the full intention of then manually converting the Webms - but it seems to be up and running and converting properly again mate.

— Reply to this email directly, view it on GitHub https://github.com/SathyaBhat/spotify-dl/issues/309#issuecomment-1291902966, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALTB5WQCDBTZZWMBY3BYS3DWFEKDZANCNFSM6AAAAAARMP7EMM . You are receiving this because you authored the thread.Message ID: @.***>