Switch to side-by-side view
--- a/sc2src/sc2mpd.cpp +++ b/sc2src/sc2mpd.cpp @@ -532,7 +532,6 @@ else if (strncmp("stop", buf, num_bytes) == 0) receiver->Stop(); else if (strncmp("state", buf, num_bytes) == 0) { - response = "Unknown"; if (audio->state) { switch (audio->state()) { case AudioEater::AudioState::STOPPED: @@ -540,6 +539,7 @@ case AudioEater::AudioState::PLAYING: response = "Playing"; break; case AudioEater::AudioState::UNKNOWN: + response = "Unknown"; break; } }