client_conf="$dir/client.conf"
audioc_conf="$dir/audioc.conf"
server=www.paraslash.org
-proj=paraslash-0.2.10
+proj=paraslash-git
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"
+receiver_opts="mp3:http -i $server -p 8009"
audiod_log="$dir/audiod.log"
-audiod_opts="-FDdr $receiver_opts -L $audiod_log -s $socket"
+audiod_opts="-FDd -L $audiod_log -s $socket"
msg()
{
echo "`date`: $1"
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"
- para_audiod $audiod_opts -w "mp3:mpg123 -"
+ 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