View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Aug 08, 2006 10:14 am 
Offline
Joined: Thu Jul 13, 2006 12:10 am
Posts: 15
Location: Denmark, Europe
Hi

I have a problem with the MCE remote type 1039, it works great in the menu's but when i want to exit DVD player (xine, R5C7), with the "back" button, after playing a movie, the remote stops working. Only keyboard can control the menu's... remote still works in xine if i enter DVD player again.

xine key setup, Exit = "ESC" (back on remote) also tryed moving it to another button, same result...

Any idea's ?

Best regards Kim Olesen


Last edited by KimBOlesen on Thu Aug 10, 2006 11:05 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: more info...
PostPosted: Tue Aug 08, 2006 12:22 pm 
Offline
Joined: Thu Jul 13, 2006 12:10 am
Posts: 15
Location: Denmark, Europe
Hi again

Remote stop's working even when i exit xine with keyboard "ESC".
If i open xterm (ALT+x) and presses ALT+TAB, to get back to Mythtv Menu in front, remote will work again...

Anyone have a solution?

Best regards Kim Olesen


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 3:13 am 
Offline
Joined: Thu Jul 13, 2006 12:10 am
Posts: 15
Location: Denmark, Europe
Hi

Is there anyone who knows how to solve this ?

I guess that it is the lircrc file's use of the program irxevent that sends the "key" to CurrentWindow... but as xine is closed the irxevent loose the focus of the current window (mythtv) and will focus again after toggling to an xterm window and back (maybe a mouse click works haven't checked..)

Best regards

Kim Olesen


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 9:25 am 
Offline
Joined: Fri Jan 13, 2006 12:37 pm
Posts: 6
having the same problem. I'm sure you're right it does have to do with mythfrontend not having focus. I'm sure i've read aobut it on here, but i don't know how to fix it, yet.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 9:39 am 
Offline
Joined: Fri Jan 13, 2006 12:37 pm
Posts: 6
try this:
Quote:
Use this in front of your xine command:
Code:
xterm -e xine...


from here:
http://mysettopbox.tv/phpBB2/viewtopic. ... mote+focus


let me know if it works for you.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 11:15 am 
Offline
Joined: Thu Jul 13, 2006 12:10 am
Posts: 15
Location: Denmark, Europe
Hi Bobbydole

Nope that didn't help....

I have tried a few things. editing the /home/mythtv/.mythtv/lircrc file

original:

begin
prog = irxevent
button = Back
config = Key Escape CurrentWindow
end

edited to:

begin
prog = irxevent
button = Back
config = Key Escape xine <- will work on xine only !
end

begin
prog = irxevent
button = Back
config = Key Escape myth <- will work on myth when started but after dvd playing and doing the trick Alt+X Alt+Tab all other keys work, just not this one.

begin
prog = mythtv or xine <- doesnt work at all
button = Back
config = blablablabla

Any idea ?

Best regards

Kim Olesen


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 11:27 am 
Offline
Joined: Thu Jul 13, 2006 12:10 am
Posts: 15
Location: Denmark, Europe
Hi

okay... this did actually work! After a restart it works. If i do an ALT+x to open an xterm window and close it again, the "xterm -e xine...." trick stops working.

Thank you for your help :D

Now to the last hardware thing there dosen't seem to work...wlan with a ZD1201 :?

Best regards

Kim Olesen


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 3:33 pm 
Offline
Joined: Thu Feb 09, 2006 7:18 pm
Posts: 112
It loooks like you guys have figured out a workaround but I thought I'd post mine as well.

Rather than using the default lircrc for the mce remote which runs everything through irxevent I found one that mapped keys for specific programs posted somewhere and tweaked it for my needs. I found that got rid of a lot of focus issues, but I still had the problem of highlighting being gone after using xine which I used the xterm -e trick for. From what I understand xine 99.4 fixes the focus bug, and I believe it is included in R5D1.

My lircrc file is as follows, note that to get the jump keys working (recordedtv, guide) you need to set some keybindings which I did easily through mythweb:
Code:
\# lircrc.mceusb

###################
#
#  IRExec
#
###################
begin
    prog = irexec
    button = Power
    repeat = 3
    config = /home/mythtv/bin/mythstart.sh
    #config = Key Alt-Escape CurrentWindow
end

begin
    prog = irxevent
    button = Power
    repeat = 3
    config = Key Alt-Escape CurrentWindow
end

###################
#
#  MythTV
#
###################
begin
    prog = mythtv
    button = One
    config = 1
end

begin
    prog = mythtv
    button = Two
    config = 2
end

begin
    prog = mythtv
    button = Three
    config = 3
end

begin
    prog = mythtv
    button = Four
    config = 4
end

begin
    prog = mythtv
    button = Five
    config = 5
end

begin
    prog = mythtv
    button = Six
    config = 6
end

begin
    prog = mythtv
    button = Seven
    config = 7
end

begin
    prog = mythtv
    button = Eight
    config = 8
end

begin
    prog = mythtv
    button = Nine
    config = 9
end

begin
    prog = mythtv
    button = Zero
    config = 0
end

begin
    prog = mythtv
    button = Back
    config = Esc
end

begin
    prog = mythtv
    button = Guide
    config = M
end

begin
    prog = mythtv
    button = More
    config = I
end

begin
    prog = mythtv
    button = VolDown
    repeat = 1
    config = F10
end

begin
    prog = mythtv
    button = VolUp
    repeat = 1
    config = F11
end

begin
    prog = mythtv
    button = ChanUp
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = ChanDown
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = Up
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = Down
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = Left
    repeat = 3
    config = Left
end

begin
    prog = mythtv
    button = Right
    repeat = 3
    config = Right
end

begin
    prog = mythtv
    button = Play
    config = Return
end

begin
    prog = mythtv
    button = OK
    config = Return
end

begin
    prog = mythtv
    button = Enter
    config = Return
end

begin
    prog = mythtv
    button = Mute
    config = F9
end

begin
    prog = mythtv
    button = Rewind
    config = <
end

begin
    prog = mythtv
    button = Forward
    config = >
end

begin
  prog = mythtv
  button = Record
  config = R
end

begin
   prog = mythtv
   button = Stop
   config = O
end

begin
    prog = mythtv
    button = Pause
    config = P
end

# Use for backwards commercial skip
begin
   prog = mythtv
   button = Replay
   config = Q
end

# Use for forward commercial skip
begin
   prog = mythtv
   button = Skip
   config = Z
end

### The following keys need to be mapped before they can be used
### (I mapped mine using MythWeb)
begin
   prog = mythtv
   button = LiveTV
   config = !
end

begin
   prog = mythtv
   button = Videos
   config = ^
end

begin
   prog = mythtv
   button = Pictures
   config = &
end

begin
   prog = mythtv
   button = Music
   config = $
end

begin
   prog = mythtv
   button = TV
   config = @
end

begin
   prog = mythtv
   button = DVD
   config = (
end

begin
   prog = mythtv
   button = Home
   config = )
end

###################
#
#  MPlayer
#
###################
begin
   prog = mplayer
   button = Back
   config = quit
end

begin
   prog = mplayer
   button = More
   config = osd
end

begin
   prog = mplayer
   button = Replay
   config = seek -10
   repeat = 1
end

begin
   prog = mplayer
   button = Skip
   config = seek +10
   repeat = 1
end

begin
   prog = mplayer
   button = Rewind
   config = seek -60
   repeat = 1
end

begin
   prog = mplayer
   button = Forward
   config = seek +60
   repeat = 1
end

begin
    prog = mplayer
    button = Pause
    config = pause
end

begin
   prog = mplayer
   button = VolUp
   config = volume +1
   repeat = 1
end

begin
   prog = mplayer
   button = VolDown
   config = volume -1
   repeat = 1
end

begin
   prog=mplayer
   button=Mute
   config=mute
end

###################
#
#  XINE
#
###################
##
# xine key bindings.
# Automatically generated by xine-ui version 0.9.23.
##

# start playback
begin
        button = Play
        prog   = xine
        repeat = 0
        config = Play
end

# playback pause toggle
begin
        button = Pause
        prog   = xine
        repeat = 0
        config = Pause
end

# stop playback
begin
        button = Stop
        prog   = xine
        repeat = 0
        config = Stop
end

# take a snapshot
begin
        button = Record
        prog   = xine
        repeat = 0
        config = Snapshot
end

# set position to -60 seconds in current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative-60
end

# set position to +60 seconds in current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative+60
end

# set position to -30 seconds in current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative-30
end

# set position to +30 seconds in current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative+30
end

# set position to -15 seconds in current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative-15
end

# set position to +15 seconds in current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative+15
end

# set position to -7 seconds in current stream
begin
        button = Rewind
        prog   = xine
        repeat = 2
        config = SeekRelative-7
end

# set position to +7 seconds in current stream
begin
        button = Forward
        prog   = xine
        repeat = 2
        config = SeekRelative+7
end

# set position to beginning of current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition0%
end

# set position to 1027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition10%
end

# set position to 2027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition20%
end

# set position to 3027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition30%
end

# set position to 4027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition40%
end

# set position to 5027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition50%
end

# set position to 6027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition60%
end

# set position to 7027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition70%
end

# set position to 8027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition80%
end

# set position to 9027777754410f current stream
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition90%
end

# increment playback speed
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SpeedFaster
end

# decrement playback speed
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SpeedSlower
end

# reset playback speed
begin
        button = xxxxx
        prog   = xine
        repeat = 0
        config = SpeedReset
end

# increment audio volume
begin
        button = VolUp
        prog   = xine
        repeat = 1
        config = Volume+
end

# decrement audio volume
begin
        button = VolDown
        prog   = xine
        repeat = 1
        config = Volume-
end

# audio muting toggle
begin
        button = Mute
        prog   = xine
        repeat = 0
        config = Mute
end

# select next sub picture (subtitle) channel
#begin
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = SpuNext
#end

# select previous sub picture (subtitle) channel
#begin
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = SpuPrior
#end

# cycle aspect ratio values
begin
        button = Videos
        prog   = xine
        repeat = 0
        config = ToggleAspectRatio
end

# jump to media Menu
begin
        button = DVD
        prog   = xine
        repeat = 0
        config = Menu
end

# jump to Title Menu
#begin
#       button = Menu
#       prog   = xine
#       repeat = 0
#       config = TitleMenu
#end

# jump to Root Menu
#begin
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = RootMenu
#end

# jump to Subpicture Menu
#begin
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = SubpictureMenu
#end

# jump to Audio Menu
#begin
#       button = Music
#       prog   = xine
#       repeat = 0
#       config = AudioMenu
#end

# jump to Angle Menu
#begin
#       button = TV
#       prog   = xine
#       repeat = 0
#       config = AngleMenu
#end

# jump to Part Menu
#begin
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = PartMenu
#end

# menu navigate up
begin
        button = Up
        prog   = xine
        repeat = 0
        config = EventUp
end

# menu navigate down
begin
        button = Down
        prog   = xine
        repeat = 0
        config = EventDown
end

# menu navigate left
begin
        button = Left
        prog   = xine
        repeat = 0
        config = EventLeft
end

# menu navigate right
begin
        button = Right
        prog   = xine
        repeat = 0
        config = EventRight
end

# menu select
begin
        button = OK
        prog   = xine
        repeat = 0
        config = EventSelect
end

# jump to next chapter
begin
        button = Skip
        prog   = xine
        repeat = 0
        config = EventNext
end

# jump to previous chapter
begin
        button = Replay
        prog   = xine
        repeat = 0
        config = EventPrior
end

# select next angle
#begin
#       button = TV
#       prog   = xine
#       repeat = 0
#       config = EventAngleNext
#end

# select previous angle
#begin
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = EventAnglePrior
#end

# display stream information using OSD
begin
        button = More
        prog   = xine
        repeat = 0
        config = OSDStreamInfos
end

# enter key binding editor
#begin
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = KeyBindingEditor
#end

# enter the number 0
begin
        button = Zero
        prog   = xine
        repeat = 0
        config = Number0
end

# enter the number 1
begin
        button = One
        prog   = xine
        repeat = 0
        config = Number1
end

# enter the number 2
begin
        button = Two
        prog   = xine
        repeat = 0
        config = Number2
end

# enter the number 3
begin
        button = Three
        prog   = xine
        repeat = 0
        config = Number3
end

# enter the number 4
begin
        button = Four
        prog   = xine
        repeat = 0
        config = Number4
end

# enter the number 5
begin
        button = Five
        prog   = xine
        repeat = 0
        config = Number5
end

# enter the number 6
begin
        button = Six
        prog   = xine
        repeat = 0
        config = Number6
end

# enter the number 7
begin
        button = Seven
        prog   = xine
        repeat = 0
        config = Number7
end

# enter the number 8
begin
        button = Eight
        prog   = xine
        repeat = 0
        config = Number8
end

# enter the number 9
begin
        button = Nine
        prog   = xine
        repeat = 0
        config = Number9
end

# add 10 to the next entered number
begin
        button = Ten
        prog   = xine
        repeat = 0
        config = Number10add
end

# quit the program
begin
        button = Back
        prog   = xine
        repeat = 0
        config = Quit
end

# select Audio mode
begin
        prog = xine
        button = Music
        repeat = 0
        mode = Audio
end

# select Subtitle mode
begin
        prog = xine
        button = Pictures
        repeat = 0
        mode = Subtitle
end

# select Angle mode
begin
        prog = xine
        button = TV
        repeat = 0
        mode = Angle
end

begin Audio

        # select next audio channel
        begin
                button = ChanUp
                prog   = xine
                repeat = 0
                config = AudioChannelNext
        end

        # select previous audio channel
        begin
                button = ChanDown
                prog   = xine
                repeat = 0
                config = AudioChannelPrior
        end

end Audio

begin Subtitle

        # select next sub picture (subtitle) channel
        begin
                button = ChanUp
                prog   = xine
                repeat = 0
                config = SpuNext
        end

        # select previous sub picture (subtitle) channel
        begin
                button = ChanDown
                prog   = xine
                repeat = 0
                config = SpuPrior
        end

end Subtitle

begin Angle

        # select next angle
        begin
                button = ChanUp
                prog   = xine
                repeat = 0
                config = EventAngleNext
        end

        # select previous angle
        begin
                button = ChanDown
                prog   = xine
                repeat = 0
                config = EventAnglePrior
        end

end Angle

##
# End of xine key bindings.
##


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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