News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Startup options for mplayer

Started by Vagner, September 30, 2010, 03:04:27 PM

Previous topic - Next topic

Vagner

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

Marie.O

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.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Vagner

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?

valent

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.
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - [url="http://wiki.linuxmce.org/index.php/User:Valent"]http://wiki.linuxmce.org/index.php/User:Valent[/url]