OK merging Byan and my proposals, how about the following at the start
of mplayer.sh:
Code:
--------------------
app=mplayer
if [ -x /usr/local/bin/$app ] ; then
app=/usr/local/bin/$app
else
which $app > /dev/null
if [ $? -eq 1 ] ; then
echo Error - $app Not Found on Path
exit
fi
fi
--------------------
Does this work on OSX? Works for me on linux
--
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=22476
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins