Skip to content

Commit f9676e4

Browse files
committed
2026.07.13
1 parent 838f887 commit f9676e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ void Player::loop() {
190190
Audio::loop();
191191
if (!isRunning() && _status==PLAYING) {
192192
// Stream died unexpectedly - trigger reconnection if WiFi is still up
193-
if (WiFi.status() == WL_CONNECTED && !network.lostPlaying) {
193+
if (config.getMode() == PM_WEB && WiFi.status() == WL_CONNECTED && !network.lostPlaying) {
194194
FUNCTIONLOG("Player", "Stream stopped unexpectedly. Starting reconnection attempts...");
195195
network.lostPlaying = true;
196196
// Launch retry task if not already running

0 commit comments

Comments
 (0)