pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

gnome-mplayer ignores my rcfile #603

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi I am aware of issue #64.

My rcfile looks like this:

# Write your default config options here!

# Set audio driver.
ao=alsa:device=bluetooth

#======
# Audio
#======

[gnome-mplayer]
msglevel=all=5

# Set audio driver.
ao=alsa:device=bluetooth

##EOF

Never the less, gnome-mplayer plays only sound to my laptop speakers.
I checked mplyaer with the command line and also on Pymp and there I get sound 
to bluetooth speakers. 
Additionally, if I go inside gmplayer to: 
Edit -> Preferences -> MPlayer tab and feel in the Extra options to MPlayer 
"-ao=alsa:device=bluetooth" it works fine.
So, I suspect that my config file is indeed being ignored. But I might just be 
wrong. 

+++ In the light of this http://mate-desktop.org/ and http://www.xfce.org/ 
"gnome" mplayer should be gtkmplayer or so ... ?

Original issue reported on code.google.com by nahu...@gmail.com on 24 Mar 2012 at 1:40

GoogleCodeExporter commented 8 years ago
You don't mention what version of gnome-mplayer you are using. In 1.0.4 or 
later the use of the mplayer config file is disabled and the audio output is 
controlled with Edit->Preferences and you can even switch audio outputs while 
the media is playing.

I have been considering changing the name of gnome-mplayer, but it is a huge 
hassle to do so.

Original comment by kdeko...@gmail.com on 24 Mar 2012 at 1:46

GoogleCodeExporter commented 8 years ago
Hi Thanks, for the QUICK reply. 
Sorry, I forgot that really important thing: version 1.0.5 (on debian). 

YO! Man! Finally, a player that respects my wishes [besides VLC ;-)]

I didn't realize it, but choosing in Audio Output:
ALSA - goes to my laptop speakers, 
Default goes to my Bluetooth speakers...

The naming convention is a bit awkward, but hey man, it works! Hot swapping!
In vlc  I need to restart. 

(my asoundrc looks like this:
~$ cat .asoundrc 
pcm.bluetooth {
    type bluetooth
    device 00:02:3C:26:BA:87 # change this MAC address using the command "hcitool scan"
 profile "auto"
}

pcm.!default {
   type hw
   card 0
   device 

)

Original comment by nahu...@gmail.com on 24 Mar 2012 at 1:53

GoogleCodeExporter commented 8 years ago
Actually, if you have compiled gmtk with asound support it should list all your 
audio devices rather than just ALSA and default and should list them by name. 
Also, when asound is built in, you can get better volume control of those 
devices.

See the attached screenshot for what the device listing looks like on my setup. 
I have a USB headset and the built in audio, and you can see how there are 
pulseaudio and alsa audio device names.

Original comment by kdeko...@gmail.com on 24 Mar 2012 at 2:40

Attachments:

GoogleCodeExporter commented 8 years ago
I think in Debian it is compiled by default with libgmtk
(at list from what I see in the dependencies: 
http://packages.debian.org/wheezy/gnome-mplayer).
my dialog is here:
http://imageshack.us/photo/my-images/641/screenshotgnomemplayerc.png/

Can you post your .asoundrc ?
(My bluetooth speakers are creative D200)
Thanks, 
Oz

Original comment by nahu...@gmail.com on 24 Mar 2012 at 2:50

GoogleCodeExporter commented 8 years ago
I don't use .asoundrc, in fact pulse audio manages my audio devices.

It appears gmtk and gmlib are compiled with asound, so not sure why you are not 
getting all the devices names. I have tested my setup without pulse installed 
and it works properly there as well.

Original comment by kdeko...@gmail.com on 24 Mar 2012 at 2:54

GoogleCodeExporter commented 8 years ago
Well, Pulse-Audio is not my cup of tea ;-)

Which Linux Distro are you using ? I can live with the funny naming though as 
long it won't break in some future upgrade...

Original comment by nahu...@gmail.com on 24 Mar 2012 at 2:59

GoogleCodeExporter commented 8 years ago
I'm using Fedora 16 at the moment.

Original comment by kdeko...@gmail.com on 24 Mar 2012 at 3:51

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 24 Oct 2012 at 12:28