mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 14:19:03 +00:00
[speaker] Fix media playlist using announcement delay (#14889)
This commit is contained in:
committed by
Jesse Hills
parent
37f9541f32
commit
c5d42b0569
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user