home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Redesign component interfaces
[khatus.git]
/
bin
/
khatus_sensor_mpd
diff --git a/bin/khatus_sensor_mpd
b/bin/khatus_sensor_mpd
new file mode 100755
(executable)
index 0000000..
058cecd
--- /dev/null
+++ b/
bin/khatus_sensor_mpd
@@ -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.026408 seconds
and
4
git commands to generate.