LinuxMCE Forums
May 21, 2013, 02:45:25 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Startup options for mplayer  (Read 568 times)
Vagner
Regular Poster
**
Posts: 21


View Profile
« on: September 30, 2010, 02: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
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #1 on: September 30, 2010, 04: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.
Logged

Vagner
Regular Poster
**
Posts: 21


View Profile
« Reply #2 on: January 03, 2011, 10:17:18 pm »

Hellow again Smiley

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?
Logged
valent
Guru
****
Posts: 380


View Profile WWW
« 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.
Logged

LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!