Skip to content

Commit

Permalink
Avoid update when other actions are queued
Browse files Browse the repository at this point in the history
  • Loading branch information
quadule committed Jun 2, 2022
1 parent b24276f commit f54d942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f54d942

Please sign in to comment.