From 1c9220bc80c65cd8a9f8e942d8abb36c6120e487 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 10 Oct 2006 18:35:46 +0200 Subject: [PATCH] nuke the demo-script It was broken at least since paraslash-0.2.13. Update the live demo page accordingly. --- scripts/demo-script | 56 --------------------------------------------- web/demo.in.html | 49 ++++++++++++++++++++++++++++----------- 2 files changed, 36 insertions(+), 69 deletions(-) delete mode 100755 scripts/demo-script diff --git a/scripts/demo-script b/scripts/demo-script deleted file mode 100755 index a6e29fc0..00000000 --- a/scripts/demo-script +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash - -bin="para_client para_audioc para_audiod para_gui" # the binaries we need -log="`pwd`/demo-log.$$.log" -dir="$HOME/.paraslash" -client_conf="$dir/client.conf" -audioc_conf="$dir/audioc.conf" -server=www.paraslash.org -proj=paraslash-0.2.13 -df=$proj.tar.bz2 # download file -url=http://$server/versions/$df -kf="$dir/key.anonymous" # key file -key_url=http://$server/key.anonymous -socket="$dir/socket" -receiver_opts="mp3:http -i $server -p 8009" -audiod_log="$dir/audiod.log" -audiod_opts="-FDd -L $audiod_log -s $socket" -msg() -{ - echo "`date`: $1" -} - -go() -{ - msg "downloading $df" - wget -N -q $url || return 1 - msg "decompressing" - rm -rf $proj; tar xjf $df - cd $proj || return 1 - msg "configuring (be patient, ignore warnings but not errors)" - ./configure --prefix "$HOME" >> "$log" - msg "building $bin" - make $bin >> "$log" - msg "installing" - mkdir -p $HOME/bin && install -c -s -m 755 $bin $HOME/bin || return 1 - export PATH=$HOME/bin:$PATH - msg "retrieving anonymous key" - mkdir -p $dir || return 1 - wget -q --directory-prefix=$dir $key_url || return 1 - msg "writing $client_conf" - cat << EOF > "$client_conf" - user "anonymous" - hostname "$server" - key_file "$kf" -EOF - msg "writing $audioc_conf" - echo "socket \"$socket\"" > "$audioc_conf" - (para_audioc term; killall para_audiod para_client) >> "$log" 2>&1 - msg "para_audiod $audiod_opts -r '$receiver_opts'" - para_audiod $audiod_opts -r "$receiver_opts" -w "mp3:mpg123 -" - echo "hit return to start para_gui, hit ctrl+c to abort" - read - para_gui -} - -go diff --git a/web/demo.in.html b/web/demo.in.html index 17ab21a8..1306c3c2 100644 --- a/web/demo.in.html +++ b/web/demo.in.html @@ -8,22 +8,45 @@ streaming You can listen to the stream with any mp3 player that supports -http streaming. Both

+http streaming.

mpg123 -Z http://www.paraslash.org:8009/

-and

xmms http://www.paraslash.org:8009/

-

are known to work.

- -

Moreover, there is an anonymous paraslash account -available which you can use to have a look at paraslash -without configuring and running para_server on your own box. -Just download and run - - this shell script - -on your Unix system. No root-privileges are required.

- +

and iTunes are known to work.

+ +

Moreover, there is an anonymous paraslash account available which you can +use to have a look at paraslash without configuring and running para_server on +your own box. There's no need to install the paraslash package and no +root-privileges are required for the demo.

+ +

Download the + + public key + +for the anonymous user and the latest paraslash + + tarball +or the + current snapshot. + +Next, compile para_audiod (./configure && make para_audiod) and use the +following configuration options:

+ +

Finally, type "./para_audiod" to start streaming. If this works, try out +para_client, para_gui and para_audioc. Otherwise, use para_recv, para_filter +and para_write to find out why.

-- 2.39.5