[mythtv-users] How to remove Up/Down jump during playback?

Michael T. Dean mtdean at thirdcontact.com
Sat Jan 30 20:19:55 UTC 2010


On 01/30/2010 10:32 AM, Jerry Rubinow wrote:
> On Sat, Jan 30, 2010 at 10:19 AM, aaron wrote:
>   
>> When the "feature" of pushing the Up/Down key to jump backward/forward
>> while watching a recording was added, I removed it from my version
>> because I find it both annoying and backwards (Up should go forward,
>> not backwards)
>>     

It works just like Up/Down in a document editor.  You're just looking at
it backwards. :)

>> But now in 0.22/trunk it looks like the key handling was reworked, and
>> I'm not sure where that code is anymore. I've tried to just live with
>> it, but I keep having jumps when I try to do adjust something else,
>> like timestretch.
>>
>> Can anyone point me in the right direction in the code? :)
>>     
> The easiest way is if you have mythweb installed.  On the settings page, you
> can set any of the keybindings (or unset them).

You should really always use MythControls (Utilities/Setup|Edit Keys) to
edit key bindings.  It will check for and alert you of conflicts. 
MythWeb will not (and will allow you to break your keybindings completely).

>   Or you can modify the
> keybindings table directly in the mysql database (using phpmyadmin, for
> example).
>   

But don't.  Use the UI's we've created...  They're there for a reason.

> No need to modify code.
>   

Generally agreed that changing keybindings would be the way to go, but
it seems this is another case of "overloaded actions" that prevent
"unbundling" the multiple functionalities of the key.  The UP and DOWN
actions (as well as the CHANNELUP and CHANNELDOWN actions) will both be
used for the Jump Back/Jump Ahead in TV/recordings playback.

We do have a plan (probably far out on the horizon, though) to rework
the action handling to allow each action to have its own name, but to
associate multiple actions with a single key in a single context.  Until
then, it's either change the code or learn to live with it. 
libs/libmythtv/tv_play.cpp around line 4615 .

Mike


More information about the mythtv-users mailing list