oops... forgot the files :)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 17 Jan 2007 20:36:30 +0000 (20:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 17 Jan 2007 20:36:30 +0000 (20:36 +0000)
SVN-Revision: 6119

sound/shell-fm/files/shell-fm.init [new file with mode: 0644]
sound/shell-fm/files/shell-fm.rc [new file with mode: 0644]

diff --git a/sound/shell-fm/files/shell-fm.init b/sound/shell-fm/files/shell-fm.init
new file mode 100644 (file)
index 0000000..0e68d34
--- /dev/null
@@ -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
+}
diff --git a/sound/shell-fm/files/shell-fm.rc b/sound/shell-fm/files/shell-fm.rc
new file mode 100644 (file)
index 0000000..e1f708c
--- /dev/null
@@ -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