Separate v2 and v3 into dedicated directories
[khatus.git] / v2 / src / bash / exe / khatus_sensor_mpd.sh
diff --git a/v2/src/bash/exe/khatus_sensor_mpd.sh b/v2/src/bash/exe/khatus_sensor_mpd.sh
new file mode 100644 (file)
index 0000000..058cecd
--- /dev/null
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+set -e
+
+dir_bin="$1"
+
+echo 'status\ncurrentsong' \
+| nc 127.0.0.1 6600 \
+| "$dir_bin"/khatus_parse_mpd_status_currentsong
This page took 0.018999 seconds and 4 git commands to generate.