X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=bin%2Fkhatus_sensor_mpd_state;h=b99ab73604a85d44b933f5fd7877d4e4ac75c18d;hb=77dc04037a88f7bd6f801ada5f5cf78c50aa1cad;hp=b5c9b088d5fe0d811ebe7a7b033b0949238c3800;hpb=30b9a4e1c389d69d400adf0fe4be9b0ec4c4935c;p=khatus.git diff --git a/bin/khatus_sensor_mpd_state b/bin/khatus_sensor_mpd_state index b5c9b08..b99ab73 100755 --- a/bin/khatus_sensor_mpd_state +++ b/bin/khatus_sensor_mpd_state @@ -33,18 +33,6 @@ echo 'status' \ } END { - state = status["state:"] - - if (state == "play") { - symbol = "▶" - } else if (state == "pause") { - symbol = "❚❚" - } else if (state == "stop") { - symbol = "⬛" - } else { - symbol = "--" - } - printf(\ "%s %s %s\n", status["state:"], current_time, current_percentage\