summaryrefslogtreecommitdiff
path: root/mpc-flacinfo.sh
blob: 104a7329627a2b8ec857a0367cb3b976912f70fb (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

HOST="localhost"
PORT="6600"
MUSIC_PATH="/home/music"

file=$MUSIC_PATH/$(mpc -h "$HOST" -p "$PORT" current -f "%file%")

echo "$file"
flacinfo "$file"