kanoot Wrote: 
> I guess my point is that since there isn't an installer that you are
> sure everyone is going to use, just a simple test for the *presence* of
> mplayer is all that is needed. As long as mplayer is in the environment
> path and is called it should work.
> 
> 

Yes, but part of the problem is that /usr/local/bin turns out *not* to
be one of the environment paths in OS X. If it were, then we would not
have the problems.

The line

app=mplayer

that is currently in mplayer.sh will, I assume, find mplayer as long as
it is in a folder specified as a possible path.

The file /private/etc/csh.login which seems to control the paths reads
(as I may have already said)

setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin"

But you have pointed to an issue with bpa's suggested modification of
mplayer.sh. It would work for anyone who has mplayer in /usr/local/bin
but not for you, as you have it in /usr/bin.

We certainly don't want to suggest that people modify csh.login, as any
error could cause major problems.

So what is needed is something that, as you say, checks for the
presence of mplayer in the environment path and if it doesn't find it
there looks for it in /usr/local/bin.


-- 
danco
------------------------------------------------------------------------
danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=22476

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

Reply via email to