AlienBBC v2.02 Beta1 is working for fine for me (OSX 10.5.4), but only
after I replace the default mplayer.sh with one I copied from an
earlier version of the plugin.
Now, what I can't understand is why Alien only works with my 'old'
mplayer.sh file. I probably altered it in some way, to cater for my
particular instal of mplayer, but for the life of me I can't remember
WHAT I changed!
Looking at the old and new files, I can't see any difference in the
link to mplayer app, so I don't really know what makes the old file
work!
Could someone take a look, and tell me the 'difference'? Thanks ....
.................................................................................
2.02 Beta1 mplayer.sh file:
................................................................................
#!/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_Binaries/mplayer_intel.app/Contents/MacOS/mplayer"
]; then
app="/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer_intel.app/Contents/MacOS/mplayer"
elif [ `uname -p` = "powerpc" ] && [ -x "/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer_ppc.app/Contents/MacOS/mplayer"
]; then
app="/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer_ppc.app/Contents/MacOS/mplayer"
elif [ -x "/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer.app/Contents/MacOS/mplayer"
]; then
app="/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer.app/Contents/MacOS/mplayer"
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
.................................................................................
My older mplayer.sh file:
................................................................................
#!/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_Binaries/mplayer_intel.app/Contents/MacOS/mplayer"
]; then
app="/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer_intel.app/Contents/MacOS/mplayer"
elif [ `uname -p` == "powerpc" ] && [ -x "/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer_ppc.app/Contents/MacOS/mplayer"
]; then
app="/Applications/MPlayer
OSX.app/Contents/Resources/External_Binaries/mplayer_ppc.app/Contents/MacOS/mplayer"
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
--
snoogly
------------------------------------------------------------------------
snoogly's Profile: http://forums.slimdevices.com/member.php?userid=9155
View this thread: http://forums.slimdevices.com/showthread.php?t=52672
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins