diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index 90484fc59..b39343284 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -577,6 +577,7 @@ class SpotifyPlugin(MetadataSourcePlugin, BeetsPlugin): self._log.debug('Total {} tracks', len(items)) for index, item in enumerate(items, start=1): + # Added sleep to avoid API rate limit time.sleep(.5) self._log.info('Processing {}/{} tracks - {} ', index, len(items), item)