a6e251cc93
this patch adds a little script to the mpc package. pls handler takes a .pls file as argument - mpd is then playing the stream. cheers michu Signed-off-by: Michael Vogt <michu at neophob.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@10352 3c298f89-4303-0410-b956-a3cf2f4a3e73
5 lines
121 B
Bash
5 lines
121 B
Bash
#!/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 |