-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting a lot of failed downloads #3
Comments
Alright, either it was completely restarting my PC (didn't think that could solve any issues with that :D) or it was the fact that i readded the playlist completely - either and / or both of those steps fixed the issue. |
Ha nope, just started doing it again! After processing 66 songs, it started to fail again |
So after searching for that specific error i stumbled accross multiple github entries from various librespot implementations (1, 2, 3) and none of them seemed fixed 🤔 Letting it process the list until it's done, quitting the application and restarting the playlist seems to get me through it pass by pass. So i'd guess it'll take me around 7-10 restarts of the application to get my whole list downloaded. I take what i can get, but maybe this is fixable? |
Sometimes when it fails on a specific song, in your case 67, it means there is something wrong with that song. From the people I've spoke to it could be a podcast duplicate or special characters in the title/metadata. You can try removing that song from your playlist, bulk downloading and then downloading that song separately. I hear the original dev is working on a fix for the playlist api but it will take some time to be pushed upstream. |
Alright, thanks for that. Would it be possible for you to make a button that would allow users to copy the links of all failed songs? |
The issue occurs with both playlists and podcasts. I traced it down to the call that retrieves information about the media item here. The problem isn't due to an error with the media itself; instead, I suspect it might be related to the interface with the source. It's possible they’ve implemented a request limit within a certain time frame. Even after increasing the download delay to 10, the error persists. Running with download delay of 15 gave me better results for a moment allowing me to download more items, but started to fail again after a couple more. |
Yeah after looking into my failed downloads i saw that there are some tracks in there that don't have any special character or anything. Examaple - Runaway from The Corrs Decreasing the amount of workers to "1" and increasing the wait time to "15" made it much more stable for me. I was able to download a whole playlist without a single fail now. |
The function you linked above seems to be for downloading episodes which are a little different, download_track is at lines 33-222 in the same file. It could definitely be a rate limit error but we would probably see a '400' http request somewhere in the log, see 204 for example. I do know a 'request cache' already exists but the problem is not metadata and songs in a playlist but the ogg file itself. If you guys are right its more likely that spotify has placed limits on the most bandwidth intensive media, that being streams. I'll need to look into errors like these at some point. Thank you for sharing. |
I know some people are sensitive about sharing their playlists but would you mind sharing links to any playlists that break so I can compile a list to test. If you don't feel comfortable sharing publicly you can dm me on discord j075046 |
This is my last attempt:
|
Changing the Download Delay to 25 has fixed my download rates 100%, even the metadata errors. |
Change download rate to 25, it fixed my issue 100%. no errors on the last 350 tracks downloaded. |
try this plugin for podcasts - Podcasts - A player, downloader, transcriber https://podcasts.bluepill.life/index.html |
Although this doesn't necessarily fix the issue, in the latest release I've added the feature to rotate the currently downloading account in an effort to reduce rate limits |
I'm getting failed on all songs. Tried closing, waiting 15mins, opening and trying again but same thing happens. How do I see terminal output on the exe in W11? |
You can copy the exe into git bash and can see the output there or its available at %localappdata%/Temp/onthespot/logs |
Putting in a playlist of mine i get a lot of failed downloads, i'd say roughly 50% of the playlist is failing, the songs do definetely exist on spotify and are playable.
This is the terminal output for on of them, they all look like this:
i'm on arch linux, newest kernel, using the portable python version and installed the requirements inside a python venv.
The text was updated successfully, but these errors were encountered: