diff options
author | gueux <gueux@gueux.org> | 2010-04-21 09:37:15 +0000 |
---|---|---|
committer | gueux <gueux@gueux.org> | 2010-04-21 09:37:15 +0000 |
commit | 15ee83cfd8265caae69a952bffccf86a2b516ab3 (patch) | |
tree | 7850291bfa14f2dcc4ed4fefb7b367f897ad6edd | |
parent | c73ab2f60c8c8777085f4db463c6f43968c87b39 (diff) |
mpc-flacinfo.sh host + port
-rw-r--r-- | mpc-flacinfo.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mpc-flacinfo.sh b/mpc-flacinfo.sh index 19a134c..104a732 100644 --- a/mpc-flacinfo.sh +++ b/mpc-flacinfo.sh @@ -1,8 +1,10 @@ #!/bin/sh +HOST="localhost" +PORT="6600" MUSIC_PATH="/home/music" -file=$MUSIC_PATH/$(mpc current -f "%file%") +file=$MUSIC_PATH/$(mpc -h "$HOST" -p "$PORT" current -f "%file%") echo "$file" flacinfo "$file" |