[mythtv] Ticket #8394: When watching a recording, up and down arrows will activate jump forward and jump back even though all key bindings are removed

David Engel david at istwok.net
Thu Apr 29 18:53:20 UTC 2010

On Thu, Apr 29, 2010 at 01:52:07PM -0400, Michael T. Dean wrote:
> On 04/29/2010 08:11 AM, aaron wrote:
> >But those specific keys are hard-coded; I think the logic is, if
> >you're watching a recording and you press "Channel Up" (or Down) it
> >does a jump. If you're watching LiveTV it does a channel change.
> >Something like that.
> >
> >I think Mike Dean had said he was planning on changing it, but no
> >doubt it's far down on his priority list.
> It would help immensely if someone could specify exactly which
> keybindings you're talking about--and I don't mean keys.  So, for
> example, are you talking about CHANNELUP/DOWN (mapped to Up/Down
> arrows, respectively) in TV Playback?  Are you talking about
> JUMPFFWD/RWND (mapped to PgDown/Up, respectively) in TV Playback?
> What all keybindings are you unmapping?  I'm assuming you're not
> unmapping Global UP/DOWN (also mapped to Up/Down arrows).  What
> action are you seeing when you hit the key?  Are you sure it's a
> jump (where you see, "Jump Back/Ahead" in the OSD), and not a seek
> (where you see, "Skip Back/Ahead" in the OSD)?

Mike, I'm pretty sure they're talking about the CHANNELUP/DOWN actions
as handled in TV::ActivePostQHandleAction().  If not watching live TV
nor a DVD, the code makes CHANNELUP/DOWN behave like JUMPFFWD/RWND.

> And, most importantly, what behavior are you guys actually looking
> for?  Are you saying you want MythTV to /ignore/ the keypress?  Or
> are you saying that you've mapped Up/Down to some other action and
> MythTV is still doing a jump and not doing whatever other action
> you're trying to use?

Personally, I want all of the hardcoded overloading of actions to go
away so I have more freedom to map keys to actions the way I want.  As
it stands now, I have to modify the code (just like the OP) to do
that.  For example, I too have commented out the DoSeek()s in the
TV::ActivePostQHandleAction() CHANNELUP/DOWN handling so I can use my
channel up/down keys for something else when not watching live TV or a
DVD.  In all, I've currently got 8 separate changes in my local
tv_play.cpp to achieve my desired key handling.  I'd like to get rid
of them all someday.

David Engel
david at istwok.net

More information about the mythtv-dev mailing list