Author Topic: Startup options for mplayer  (Read 3339 times)

Vagner

  • Regular Poster
  • **
  • Posts: 21
    • View Profile
Startup options for mplayer
« 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

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Startup options for mplayer
« Reply #1 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.

Vagner

  • Regular Poster
  • **
  • Posts: 21
    • View Profile
Re: Startup options for mplayer
« Reply #2 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?

valent

  • Guru
  • ****
  • Posts: 381
    • View Profile
    • /kernel_reloaded/
Re: Startup options for mplayer
« Reply #3 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.
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent