View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Oct 11, 2008 12:55 pm 
Offline
Joined: Mon Nov 28, 2005 9:05 pm
Posts: 200
I'm using mplayer-resumer which works well. I have a few AVI's with multiple audio tracks. The problem I have is that I need to use alternate audio tracks on some of them instead of the default audio track. I can hit the "#" on my keyboard and the track will switch just fine. See the excerpt below from the Mplayer Manual

# (DVD, MPEG, Matroska, AVI and libavformat only)
Cycle through the available audio tracks.

According to the irw command, the # key on my remote is correctly recognized:


root@mythtv:~# irw
000000000000178e 00 # Hauppauge_350
000000000000178e 01 # Hauppauge_350
000000000000178e 02 # Hauppauge_350


I edited my /home/mythtv/.lircrc and added the following entry:

begin
prog = mplayer
button = #
config = #
repeat = 3
end


This does not seem to work though and I have no idea why.

Any help would be appreicated...

Ether..

_________________
Knoppmyth 7.02 Kernel 2.6.39-LINHES
[MBE] SilverStone LC-10 HTPC Case, Asus M2NPV-VM, AMD X2 4200+, 1G RAM, Nvidia 9500 PCIe, PVR500 and a HD-PVR - Rockin VDPAU


Last edited by ethernut on Sat Oct 25, 2008 10:31 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 11, 2008 7:08 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Well /home/mythtv/.lircrc should be a symlink to /home/mythtv/.mythtv/lircrc and you shouldn't edit the file via the link as too many editors will get that wrong. Check that it is a symlink and that you've actually modified the right file rather than creating a divergent copy.

Oh and since # is the comment character so you may need to quote it or something.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 11, 2008 7:53 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
Might look here. But frankly, I couldn't get it to work no matter what I tried.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 11, 2008 10:59 pm 
Offline
Joined: Sat Aug 19, 2006 11:53 pm
Posts: 39
Location: Monterey, CA USA
Some searching around and I get the feeling from looking at the files that you might need to use the name from the
Code:
mplayer -input cmdlist

The lirc file seems to use all the cmdlist names for mplayer with any respective [value] for the action.

Try this:

Change your 'config = #' to 'config = switch_audio'


Jim

_________________
R5F27 combined backend/frontend
Nvidia 6200 graphics card
Intel P4 1.8, 768Meg PC133, Seagate 300GB & 500GB (PATA) in LVM
Hauppauge PVR150
Iguana Works serial IR transceiver


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 25, 2008 10:30 am 
Offline
Joined: Mon Nov 28, 2005 9:05 pm
Posts: 200
Ghede, your suggestion worked! # on my remote now switches the audio tracks! Thanks!!!

Too Many.. there ya go!

Ether..

_________________
Knoppmyth 7.02 Kernel 2.6.39-LINHES
[MBE] SilverStone LC-10 HTPC Case, Asus M2NPV-VM, AMD X2 4200+, 1G RAM, Nvidia 9500 PCIe, PVR500 and a HD-PVR - Rockin VDPAU


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu