Oh, the frustration. After several weeks of perfect behaviour, AlienBBC
has suddenly completely stopped working and I cannot for the life of me
work out why this should be. I've tried restarting everything on the
network - no joy. I know my Internet connection is ok, since I can play
BBC streams via the Slimpicks menu and streaming across the network
works fine. Also, if I extract the rtsp:// url from the log entry and
paste it in to Real Player the stream starts up. So I think that I've
narrowed it down to an error in the transcoding. With a fair few log
options selected, (d_files. d_http_async, d_os, d_plugins,
d_remotestream, d_source and d-stream) a log entry for one attempt at
playing the Radio 4 live stream is attached.

I've also tried pasting the mplayer.sh command out of the log file
directly into a shell. In this case, the command fails with a 'file not
found' error in line 21 of the script. This would appear to relate to
the location of the mplayer binary. I'm no scripting expert, so I can't
tell whether my mplayer.sh file has been changed in some way - if anyone
can advise  what it should look like on a TS-109 I'd be grateful. The
location of the mplayer binary on the TS-109 is /opt/mplayer/bin.


Steve

mplayer.sh starts below

#!/bin/sh
scriptpid=$$
apppid=/tmp/.alienbbc-app.$$.pid
app=mplayer

if [ -x /usr/local/bin/$app ] ; then
app=/usr/local/bin/$app
fi

# For mplayer pre6 comment out following line and uncomment line after

if [ -e "${10}" ] ; then
#if [ -e "${12}" ] || [ -e "${13}" ] ; then
echo Local File: Launching $app $1 $2 $3 $4 $5 $6 $7 $8 $9 "${10}"
${11} "${12}" "${13}" >&2
$app $1 $2 $3 $4 $5 $6 $7 $8 $9 "${10}" ${11} "${12}" "${13}" 3>&1
1>&2
exit
fi

echo Streaming: Launching $app $* >&2
(
$app $* 3>&1 1>&2 & 
echo $! > $apppid
wait
rm -f $apppid
kill $scriptpid 2> /dev/null
) < /dev/null &

cat > /dev/null
if [ -s $apppid ] ; then
kill `cat $apppid` 2> /dev/null
fi


-- 
sdhubbard
------------------------------------------------------------------------
sdhubbard's Profile: http://forums.slimdevices.com/member.php?userid=9967
View this thread: http://forums.slimdevices.com/showthread.php?t=41202

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to