diff --git a/application/luniebox.py b/application/luniebox.py index 64c25c9..fc0e64c 100644 --- a/application/luniebox.py +++ b/application/luniebox.py @@ -138,8 +138,8 @@ class Luniebox(object): while spotifyd_status != 0 and tries < max_tries: subprocess.call(["systemctl", "restart", "spotifyd"]) - time.sleep(1) tries += 1 + time.sleep(10 * tries) spotifyd_status = subprocess.call( ["systemctl", "is-active", "--quiet", "spotifyd"])