summaryrefslogtreecommitdiff
path: root/contrib/eventcmd.sh
diff options
context:
space:
mode:
authorMatthew Beckler <matthew@mbeckler.org>2011-01-13 17:18:25 -0500
committerLars-Dominik Braun <lars@6xq.net>2011-01-15 12:37:21 +0100
commitd166a010670ac829d1e6d4f37dbac075d13d9b26 (patch)
treebbca581c2de6c88fad0ecdf0e0be1c761449a15b /contrib/eventcmd.sh
parentc5c4dcc9cd471aa060be568491141703b96ae0f8 (diff)
downloadpianobar-d166a010670ac829d1e6d4f37dbac075d13d9b26.tar.gz
pianobar-d166a010670ac829d1e6d4f37dbac075d13d9b26.tar.bz2
pianobar-d166a010670ac829d1e6d4f37dbac075d13d9b26.zip
Send station list to eventcmd
See issue #76
Diffstat (limited to 'contrib/eventcmd.sh')
-rwxr-xr-xcontrib/eventcmd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/eventcmd.sh b/contrib/eventcmd.sh
index 4a162a3..81dee3a 100755
--- a/contrib/eventcmd.sh
+++ b/contrib/eventcmd.sh
@@ -5,7 +5,7 @@ while read L; do
k="`echo "$L" | cut -d '=' -f 1`"
v="`echo "$L" | cut -d '=' -f 2`"
export "$k=$v"
-done < <(grep -e '^\(title\|artist\|album\|stationName\|pRet\|pRetStr\|wRet\|wRetStr\|songDuration\|songPlayed\|rating\|coverArt\)=' /dev/stdin) # don't overwrite $1...
+done < <(grep -e '^\(title\|artist\|album\|stationName\|pRet\|pRetStr\|wRet\|wRetStr\|songDuration\|songPlayed\|rating\|coverArt\|stationCount\|station[0-9]*\)=' /dev/stdin) # don't overwrite $1...
case "$1" in
# songstart)