[speaker] Fix media playlist using announcement delay (#14889)

This commit is contained in:
Jonathan Swoboda
2026-03-17 15:18:49 -04:00
committed by Jesse Hills
parent 37f9541f32
commit c5d42b0569

View File

@@ -417,7 +417,7 @@ void SpeakerMediaPlayer::loop() {
this->media_playlist_.pop_front();
}
// Only delay starting playback if moving on the next playlist item or repeating the current item
timeout_ms = this->announcement_playlist_delay_ms_;
timeout_ms = this->media_playlist_delay_ms_;
}
if (!this->media_playlist_.empty()) {
PlaylistItem playlist_item = this->media_playlist_.front();