View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: small LIRC issue
PostPosted: Tue Oct 07, 2008 8:51 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
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.

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 07, 2008 9:37 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 07, 2008 9:52 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
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

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 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