mirror of
https://github.com/beetbox/beets.git
synced 2025-12-09 10:05:35 +01:00
Added comment about sleep
This commit is contained in:
parent
b9685a4784
commit
3cd6fd64ca
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue