From f54d942ebcc3af556109370760cd18904d21963d Mon Sep 17 00:00:00 2001 From: Milo Winningham Date: Wed, 1 Jun 2022 20:06:10 -0700 Subject: [PATCH] Avoid update when other actions are queued --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 43af261..cfd03b9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -590,7 +590,7 @@ void backgroundApiLoop(void *params) { break; } spotifyAction = Idle; - } else if (nextCurrentlyPlayingMillis > 0 && now >= nextCurrentlyPlayingMillis) { + } else if (nextCurrentlyPlayingMillis > 0 && now >= nextCurrentlyPlayingMillis && spotifyActionQueue.empty()) { spotifyQueueAction(CurrentlyPlaying); } else { delayIfIdle();