aboutsummaryrefslogtreecommitdiffstats
path: root/lyrics/hd.sh
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 17:49:56 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 17:49:56 +0200
commit43e418ebd4086dd483d0ec727ddcabf375f7d360 (patch)
tree8680f6b618601eecba1fef2f9a864c99fe1e0b6e /lyrics/hd.sh
parente4a12c7faadb9ed9ddffa6164ea27813716fdce4 (diff)
downloadmpd-43e418ebd4086dd483d0ec727ddcabf375f7d360.tar.gz
mpd-43e418ebd4086dd483d0ec727ddcabf375f7d360.tar.xz
mpd-43e418ebd4086dd483d0ec727ddcabf375f7d360.zip
lyrics: replaced "hd.py" with "hd.sh"
Replace the "hd" plugin with a trivial shell script.
Diffstat (limited to 'lyrics/hd.sh')
-rwxr-xr-xlyrics/hd.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/lyrics/hd.sh b/lyrics/hd.sh
new file mode 100755
index 000000000..4bcbce4bb
--- /dev/null
+++ b/lyrics/hd.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+#
+# Load lyrics from the user's home directory
+#
+# Author: Max Kellermann <max@duempel.org>
+#
+
+cat ~/.lyrics/"$1 - $2".txt 2>/dev/null