From 04d39d60462927627b3d1357729cc56feb2fc1b3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Aug 2011 01:19:58 +0200 Subject: added bassdrive --- streams/stream.db | 1 + 1 file changed, 1 insertion(+) (limited to 'streams') diff --git a/streams/stream.db b/streams/stream.db index 168cc68d..484abaad 100644 --- a/streams/stream.db +++ b/streams/stream.db @@ -1,3 +1,4 @@ http://somafm.com/groovesalad.pls groove http://deepmix.ru/deepmix128.pls deepmix http://streams.xenim.de/radiotux.ogg radiotux +http://bassdrive.com/v2/streams/BassDrive.pls bassdrive -- cgit v1.2.3 From 0e5c1266650e5af9dfb7cbf3060fd52a56573837 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Aug 2011 02:32:37 +0200 Subject: added help for streams tool --- streams/streams | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'streams') diff --git a/streams/streams b/streams/streams index a8408b4a..eb1e6674 100755 --- a/streams/streams +++ b/streams/streams @@ -2,6 +2,11 @@ HERE=$(dirname $(readlink -f $0)) URLS=`cat $HERE/stream.db` +#if [ ! `id -u` -eq "0" ]; then +# echo "we are going sudo..." +# exec sudo "$0" "$@" +#fi + function start() { # start the given stream von $1 REQ=$1 @@ -43,7 +48,23 @@ function list() } - +function shorthelp() +{ + echo "start|stop|restart|status|list [audio stream]" +} +function longhelp() +{ + B=`basename $0` + echo -n "Usage: $B " + shorthelp + echo " get all available streams with '/$B list' +Examples: + $B list + $B start groove + $B restart deepmix + $B status + $B stop" +} case "$1" in @@ -69,7 +90,10 @@ case "$1" in list) list ;; + (--help) + shorthelp + ;; *) - echo "aidsballs" + longhelp ;; esac -- cgit v1.2.3 From 53508a7f6719d11ba7c825757f2aff40617f9657 Mon Sep 17 00:00:00 2001 From: club-mate Date: Thu, 4 Aug 2011 16:24:51 +0200 Subject: streams: add illstreet --- streams/stream.db | 1 + 1 file changed, 1 insertion(+) (limited to 'streams') diff --git a/streams/stream.db b/streams/stream.db index 484abaad..6ca9a627 100644 --- a/streams/stream.db +++ b/streams/stream.db @@ -2,3 +2,4 @@ http://somafm.com/groovesalad.pls groove http://deepmix.ru/deepmix128.pls deepmix http://streams.xenim.de/radiotux.ogg radiotux http://bassdrive.com/v2/streams/BassDrive.pls bassdrive +http://somafm.com/illstreet.pls illstreet -- cgit v1.2.3