summaryrefslogtreecommitdiff
path: root/mpc-flacinfo.sh
diff options
context:
space:
mode:
authorgueux <gueux@gueux.org>2010-04-05 17:38:53 +0000
committergueux <gueux@gueux.org>2010-04-05 17:38:53 +0000
commitdcb513923ec7f4c853d926dfeab62374e124b1ea (patch)
tree4238d62dc36b002b2c2d4e306228f4db941b4f44 /mpc-flacinfo.sh
parentb66dbb800ab9cb8aae9fed81c78d8e66145349e6 (diff)
mpc-flacinfo.sh
Diffstat (limited to 'mpc-flacinfo.sh')
-rw-r--r--mpc-flacinfo.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/mpc-flacinfo.sh b/mpc-flacinfo.sh
new file mode 100644
index 0000000..19a134c
--- /dev/null
+++ b/mpc-flacinfo.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+MUSIC_PATH="/home/music"
+
+file=$MUSIC_PATH/$(mpc current -f "%file%")
+
+echo "$file"
+flacinfo "$file"
+