LinuxMCE Forums

General => Users => Topic started by: Vagner on September 30, 2010, 03:04:27 PM

Title: Startup options for mplayer
Post by: Vagner on September 30, 2010, 03:04:27 PM
Hi everyone,

I need to put an option on startup of mplayer: -aid 4360

... for auto language selection. Where can I put this?

Thanks,
Vagner
Title: Re: Startup options for mplayer
Post by: Marie.O on September 30, 2010, 05:50:35 PM
Looking at the source code, the easiest solution might be to amend the /root/.mplayer/*.conf file and set the audio selection manual in the web admin for the specific MD.

Other than that, the MPlayer_Player directly executes the /usr/bin/mplayer binary.
Title: Re: Startup options for mplayer
Post by: Vagner on January 03, 2011, 10:17:18 PM
Hellow again :)

I am put in /root/.mplayer/config the follow config:
aid = 1

This works fine in "KDE -> shell -> mplayer /path/file.mkv"  -  running the second audio track

... but I have not found the right place to put this setting in LinuxMCE. I tried many settings in /etc/mplayer/mplayer.conf but nothing works

I tried to create the file /home/user-LinuxMCE/.mplayer/config but does not work

Any ideia?
Title: Re: Startup options for mplayer
Post by: valent on January 09, 2011, 11:03:19 AM
try searching and see if there are other config files "hidden" somewhere.
try like this:
sudo updatedb
locate config | grep mplayer

hope you find right config file and fix your issue.

Also when you fix your issue please write a wiki tutorial page so others also can get mplayer setup as they wish.