#I need help with modifying spotdl

6 messages · Page 1 of 1 (latest)

spring sinew
#

Hi, thanks for reading this!

So I haven't used python for like 4 years now and I mostly used it to analyse data at uni so I'm kind struggling with reading the documents for spotdl. I'm trying to download my liked songs, problem is its almost 11k items long and after managing to download some of it spotdl constantly sends back the request limit error. Chopping it up into smaller playlists hasn't worked.

What I'd like to do is add in some sort of check to see if the rate request limit has been reached and then add in a wait step. I have no idea how as the documentation I can find is a bit too advanced for me. If someone could help me out I'd be very grateful.

I've also noticed due to language barriers and emojis/special characters the process cant find some songs. I cant seem to find if there is a way to save the unable to find xxx error in a text file or something. If there isn't I'd like to figure out how to put that in. Once apon a time I knew how to create and write to files. If someone could help me find where exactly in the code the error is reported I should be able to figure that out from there (i hope lol)

Spotdl V 4.4.3 OS kubuntu 24.04

THANKS!

heavy shoreBOT
#
spotDL Support

Please continue adding more information into this thread.
You should include the following information:

spotDL Version

Eg. 4.0.0

Operating System

Eg. Windows 22H2

The Command You Ran

Please include Spotify links.

Screenshots or Pasted Error Messages

Only send these if they are relevant.

To send pasted error messages use three backticks (```)
Here's info on how to use code blocks.

#

@spring sinew

drowsy cedar
#

Hey have you had any progress with this? I am having a similar issue with a much smaller liked songs playlist (1k songs) and it is really annoying me. I poked around a bit in the project, and it seems like spotify should already be handling sleeping for us when spotify tells us to sleep a certain amount of time before the next call to the api. Here's where spotdl hits the spotify api btw: https://github.com/spotDL/spotify-downloader/blob/master/spotdl/utils/spotify.py#L195

GitHub

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found). - spotDL/spotify-downloader

#

@spring sinew

spring sinew