From: Felix Fietkau Date: Wed, 17 Jan 2007 20:36:30 +0000 (+0000) Subject: oops... forgot the files :) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=936c51bb9671ad0e3d8d165c621acac1b728969d;p=openwrt%2Fsvn-archive%2Fpackages.git oops... forgot the files :) SVN-Revision: 6119 --- diff --git a/sound/shell-fm/files/shell-fm.init b/sound/shell-fm/files/shell-fm.init new file mode 100644 index 000000000..0e68d34d7 --- /dev/null +++ b/sound/shell-fm/files/shell-fm.init @@ -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 index 000000000..e1f708c47 --- /dev/null +++ b/sound/shell-fm/files/shell-fm.rc @@ -0,0 +1,10 @@ +username = username +password = password +#np-cmd = netmsg "%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