projects
/
feed
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Import mpc from oldpackages
[feed/packages.git]
/
sound
/
mpc
/
files
/
pls-handler.sh
diff --git a/sound/mpc/files/pls-handler.sh
b/sound/mpc/files/pls-handler.sh
new file mode 100644
(file)
index 0000000..
9394417
--- /dev/null
+++ b/
sound/mpc/files/pls-handler.sh
@@ -0,0
+1,5
@@
+#!/usr/bin/env sh
+echo parameter: file.pls
+mpc clear
+grep '^File[0-9]*' $1 | sed -e 's/^File[0-9]*=//' | mpc add
+mpc play
\ No newline at end of file