Clear MPD state on non-0 exit from MPD song sensor
[khatus.git] / bin / khatus_sensor_mpd_state
1 #! /bin/sh
2
3 set -e
4
5 dir_bin="$1"
6
7 echo 'status' \
8 | nc 127.0.0.1 6600 \
9 | "$dir_bin"/khatus_parse_mpd_status
This page took 0.04831 seconds and 4 git commands to generate.