1 parent 838f887 commit f9676e4Copy full SHA for f9676e4
1 file changed
src/core/player.cpp
@@ -190,7 +190,7 @@ void Player::loop() {
190
Audio::loop();
191
if (!isRunning() && _status==PLAYING) {
192
// Stream died unexpectedly - trigger reconnection if WiFi is still up
193
- if (WiFi.status() == WL_CONNECTED && !network.lostPlaying) {
+ if (config.getMode() == PM_WEB && WiFi.status() == WL_CONNECTED && !network.lostPlaying) {
194
FUNCTIONLOG("Player", "Stream stopped unexpectedly. Starting reconnection attempts...");
195
network.lostPlaying = true;
196
// Launch retry task if not already running
0 commit comments