I'm not sure how I debug this.

Since rstp streams work, the custom-convert.conf file in the Alien
plugin dir must be found, and mplayer.sh and mplayer must be accessible
and run.

But mplayer doesn't appear to be runing whilst the wma stream is
'playing'.

mplayer.sh is located in:-
/var/lib/squeezecenter/cache/InstalledPlugins/Plugins/Alien/Bin/mplayer.sh

mplayer.sh looks like this:-

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

# For osx look for processor specific mplayer executable in locations
used by mplayer installer
if [ `uname` = "Darwin" ] ; then
if [ `uname -p` = "i386" ] && [ -x "/Applications/MPlayer
OSX.app/Contents/Resources/External_Binarie$
app="/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer.app/Contents/$
elif [ `uname -p` = "powerpc" ] && [ -x "/Applications/MPlayer
OSX.app/Contents/Resources/External_Bi$
app="/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer_noaltivec.app$
elif [ -x /usr/local/bin/mplayer ] ; then
app=/usr/local/bin/mplayer
fi
fi

if [ -e "${10}" ] ; 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


So either there's a bug in mplayer.sh, custom-convert.conf or in
mplayer (which seems unlikely) ... or something isn't getting called as
expected.


custom-convert.conf looks like this:-

# AlienBBC - unix version
#
rtsp wav * *
# R
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth
10000000 -cache 128 -af volume=0,resample=441$
rtsp mp3 * *
# RB:{BITRATE=-B %B}
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth
10000000 -cache 128 -af volume=0,resample=441$
rtsp flc * *
# R
[mplayer.sh] -really-quiet -vc null -vo null -bandwidth
10000000 -cache 128 -af volume=0,resample=441$

#
# WMA for mplayer pre7 or later
wma wav * *
# FRT:{START=-ss %s}U:{DURATION=-endpos %w}
[mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$
-cache 128 -af volume=0,resample=4410$
wma mp3 * *
# FRB:{BITRATE=-B %B}T:{START=-ss %s}U:{DURATION=-endpos %w}
[mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$
-cache 128 -af volume=0,resample=4410$
wma flc * *
# FRT:{START=-ss %s}U:{DURATION=-endpos %w}
[mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$
-cache 128 -af volume=0,resample=4410$


-- 
Patrick Dixon

www.at-tunes.co.uk
------------------------------------------------------------------------
Patrick Dixon's Profile: http://forums.slimdevices.com/member.php?userid=90
View this thread: http://forums.slimdevices.com/showthread.php?t=56355

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

Reply via email to