diff --git a/zspotify/zspotify.py b/zspotify/zspotify.py index 17385073..e535a9f3 100644 --- a/zspotify/zspotify.py +++ b/zspotify/zspotify.py @@ -89,7 +89,7 @@ class ZSpotify: responseText = response.text responseJson = response.json() - if 'error' in responseJson and tryCount < 20: + if 'error' in responseJson and tryCount < 5: Printer.Print(PrintChannel.API_ERROR, f"Spotify API Error ({responseJson['error']['status']}): {responseJson['error']['message']}") time.sleep(5)