diff --git a/headphones/mb.py b/headphones/mb.py index 1542d782..1096b813 100644 --- a/headphones/mb.py +++ b/headphones/mb.py @@ -57,7 +57,8 @@ def startmb(): if sleepytime == 0: musicbrainzngs.set_rate_limit(False) else: - musicbrainzngs.set_rate_limit(True) + #calling it with an it ends up blocking all requests after the first + musicbrainzngs.set_rate_limit(limit_or_interval=float(sleepytime)) # Add headphones credentials if headphones.MIRROR == "headphones":