--- a/sc2src/sc2mpd.cpp
+++ b/sc2src/sc2mpd.cpp
@@ -521,7 +521,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:
@@ -529,6 +528,7 @@
                         case AudioEater::AudioState::PLAYING:
                             response = "Playing"; break;
                         case AudioEater::AudioState::UNKNOWN:
+                            response = "Unknown";
                             break;
                     }
                 }