Added comment about sleep

This commit is contained in:
Alok Saboo 2022-06-12 13:30:23 -04:00
parent b9685a4784
commit 3cd6fd64ca

View file

@ -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)