LinHES Forums
http://forums.linhes.org/

small LIRC issue
http://forums.linhes.org/viewtopic.php?f=14&t=19081
Page 1 of 1

Author:  nmcaullay [ Tue Oct 07, 2008 8:51 pm ]
Post subject:  small LIRC issue

Hi all,

I've been fiddling with the lirc configuration on my mythbox, as the play, pause, stop buttons were all differently mapped for tv/recordings, video and music.

I've had good success, all bar one small thing.

I use one button on the remote (FULLSCREEN, odd name - it is whats on the remote) to be the ENTER key, so when you are navigating around myth hitting FULLSCREEN will select the item you are on. This works great.

I want to use the same button to PAUSE/UNPAUSE once in tv/recording, video and music. This is have achieved for all but mythmusic.

Basically I map FULLSCREEN remote button to P and Enter. This works fine as i guess it issues both P and Enter. Works great on tv/recording and video, but has the result of pausing music whenever i press it in mythmusic.

I think the sequence is out on the mythmusic mapping? If in mythmusic I hit P then Enter (on the keyboard), mythmusic is fine, just starts from the begining of the selected track. If I push Enter then P, i get the same symptoms as i do from the remote.

I'm guessing that mythmusic is somehow doing Enter/P instead of P/Enter. Is there anyway of ensuring the order of key mappings sent to mythmusic?

Below is the relevant section of the lircrc file

Code:
begin
    prog = mythtv
    button = FULLSCREEN
    config = P 
end

begin
    prog = mythtv
    button = FULLSCREEN
    config = Enter
end


I've tried reversing the entries, which makes no difference, and also the following (which alternates/toggles on button presses between P and Enter)

Code:
begin
    prog = mythtv
    button = FULLSCREEN
    config = P 
    config = Enter
end


I've also tried the following, but same result as earlier symptoms
Code:
begin
    prog = mythtv
    button = FULLSCREEN
    config = P, Enter
end


Any ideas, or am i just going to have to live with it?

Cheers,

Nathan

PS: R5.5 rocks, have had no real problems a few months in.

Author:  goofee [ Tue Oct 07, 2008 9:37 pm ]
Post subject: 

Have you tried changing the key maps? I would think that in LIRC you could set FULSCREEN to be enter, then in the key map you can assign in to be play/pause instead of P/L.
Utilities/setup -> Edit Keys
you can change specific key for different portions of mythtv

Author:  nmcaullay [ Tue Oct 07, 2008 9:52 pm ]
Post subject: 

Hi goofee,

Thanks for the reply...

My problem (i think, apart from not being so bright) is that the Enter key and the P key do distinctly different things in mythmusic.

And i'm wanting the same remote button to do both functions. Depending on where you are in mythmusic, i want the same remote button to do two different things
1) If the mythmusic interface "selection" is on the currently playing song, then the button should Pause song
2) If the mythmusic interface "selection" is on a different song than the currently playing one, then the button should commence Playing the different song.

The more i think about it, the less realistic this is.

Cheers,

Nathan

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/