diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-02-20 10:30:05 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-02-20 10:30:05 +0100 |
commit | 001bab94bba94766f22a0fab5107bbd51321b369 (patch) | |
tree | 8168d64eeb37cf4a91aecc336059ee89b67bbad5 /contrib/eventcmd-examples/eventcmd.sh | |
parent | 3cd104195cd47a216d871acf04ba47fce246cd28 (diff) | |
download | pianobar-001bab94bba94766f22a0fab5107bbd51321b369.tar.gz pianobar-001bab94bba94766f22a0fab5107bbd51321b369.tar.bz2 pianobar-001bab94bba94766f22a0fab5107bbd51321b369.zip |
Update eventcmd example
Diffstat (limited to 'contrib/eventcmd-examples/eventcmd.sh')
-rwxr-xr-x | contrib/eventcmd-examples/eventcmd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/eventcmd-examples/eventcmd.sh b/contrib/eventcmd-examples/eventcmd.sh index 81dee3a..9298d4f 100755 --- a/contrib/eventcmd-examples/eventcmd.sh +++ b/contrib/eventcmd-examples/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\|stationCount\|station[0-9]*\)=' /dev/stdin) # don't overwrite $1... +done < <(grep -e '^\(title\|artist\|album\|stationName\|songStationName\|pRet\|pRetStr\|wRet\|wRetStr\|songDuration\|songPlayed\|rating\|coverArt\|stationCount\|station[0-9]*\)=' /dev/stdin) # don't overwrite $1... case "$1" in # songstart) |