diff --git a/librespot/audio/__init__.py b/librespot/audio/__init__.py index 3e2fd98..ea2c559 100644 --- a/librespot/audio/__init__.py +++ b/librespot/audio/__init__.py @@ -345,7 +345,7 @@ class AudioKeyManager(PacketsReceiver, Closeable): resp = requests.post(server_url, json=payload, timeout=AudioKeyManager.audio_key_request_timeout) # If another client instance is already active for this - # SpotiClub user, the server will reply with HTTP 423 and + # SpotiClub user, we will will reply with HTTP 423 and # instruct this client to wait before retrying. if resp.status_code == 423: try: @@ -364,10 +364,8 @@ class AudioKeyManager(PacketsReceiver, Closeable): int(retry_after), ) time.sleep(float(retry_after)) - # Do NOT count this as a failure towards the max retries. continue - # Explicit handling for bad logins so we don't just retry. if resp.status_code == 401: print( "[SpotiClub API][BAD_LOGIN] It seems your credentials aren't recognized by the API. Please ensure you have entered them correctly, or contact a DEV if you are absolutely certain of their validity."