X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=bin%2Fkhatus_sensor_mpd_state;h=b99ab73604a85d44b933f5fd7877d4e4ac75c18d;hb=a9038fad36330d7dca12cfd4bef0147a7d312c0c;hp=b5c9b088d5fe0d811ebe7a7b033b0949238c3800;hpb=f37162a4803ea6318e3620b6deccd8659316f31d;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\