mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 21:17:18 +03:00
gap when changing queue workaround
This commit is contained in:
@@ -201,6 +201,7 @@ void TrackPlayer::runTask() {
|
||||
}
|
||||
|
||||
eof = false;
|
||||
track->loading = true;
|
||||
|
||||
CSPOT_LOG(info, "Playing");
|
||||
|
||||
@@ -255,6 +256,7 @@ void TrackPlayer::runTask() {
|
||||
|
||||
// always move back to LOADING (ensure proper seeking after last track has been loaded)
|
||||
currentTrackStream = nullptr;
|
||||
track->loading = false;
|
||||
}
|
||||
|
||||
if (eof) {
|
||||
|
||||
Reference in New Issue
Block a user