oops... forgot the files :)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6119 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6b423a0bf5
commit
737f427a15
13
sound/shell-fm/files/shell-fm.init
Normal file
13
sound/shell-fm/files/shell-fm.init
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
|
||||
START=99
|
||||
start() {
|
||||
[ -d /tmp/.shell-fm ] || mkdir /tmp/.shell-fm
|
||||
[ -L /tmp/.shell-fm/shell-fm.rc ] || ln -s /etc/shell-fm.rc /tmp/.shell-fm/shell-fm.rc
|
||||
HOME=/tmp shell-fm -d
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo "quit" | telnet localhost 54311
|
||||
}
|
10
sound/shell-fm/files/shell-fm.rc
Normal file
10
sound/shell-fm/files/shell-fm.rc
Normal file
@ -0,0 +1,10 @@
|
||||
username = username
|
||||
password = password
|
||||
#np-cmd = netmsg <network> "%a - %t"
|
||||
default-radio = lastfm://artist/Nightwish/similarartists
|
||||
t-color = 1;32 # light green track titles
|
||||
a-color = 0;32 # dark green track artist names
|
||||
s-color = 1;37 # white station names
|
||||
bind = 0.0.0.0
|
||||
extern = madplay -q -
|
||||
extern-restart = 1
|
Loading…
x
Reference in New Issue
Block a user