[MPlayer-users] MPlayer – changing ‘ao=’ codec order in mplayer.conf does not appear to work for per user config?
jimgcross at gmail.com
Sat Sep 13 12:36:00 CEST 2014
Thanks again for the suggestion.
Currently, programmatically (python script) I modify owner & group of
'/etc/mplayer/mplayer.conf' to 'www-data:www-data' and then append
'include=/var/www/mplayer.conf'. Obviously, this allows the same goal and
have a modifiable config file but is a bit hackish. That said, there is
still an issue to get the fifo (obviously slave mode) to work (for mplayer
to read the fifo), I still need to start mplayer with sudo for it to read
the fifo, again a bit hackish.
On Sat, Sep 13, 2014 at 5:51 AM, Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> On 12.09.2014, at 11:37, Jim Cross <jimgcross at gmail.com> wrote:
> > Thanks for your quick response and detail Reimar. I did wonder if it was
> > file or directory, so tried both.
> > I can get it to work from command line (logged in as pi, has a home
> > directory which mplayer obviously finds)
> > But: I am trying to work out how to run MPlayer from a python script that
> > group www-data:www-data). MPlayer response is 'Cannot find HOME
> > and therefore, I guess, can not pick-up the new audio codec order.... I
> > have tried creating a 'home' dir for www-data with config in .mplayer to
> > avail. I don't have the expertise to work out what MPlayer is searching
> > or if I can change what it looks for as way of a 'home' dir.?
> While you could just set the HOME environment variable, that is a bit
> overkill since it will affect all applications.
> Might be better to only set MPLAYER_HOME to the directory that contains
> the configuration files, then you do not need to use/create a .mplayer
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
More information about the MPlayer-users