[mythtv-users] Mythmusic keys problem: pgup/pgdn

Adam Hirsch mythtv at quakerporn.com
Thu May 4 11:04:42 EDT 2006


Hey there -- I'm running mythmusic 0.19.0, built from source, and I'm having
some problems with keymappings.  PgUp/PgDn seem to be used throughout the rest
of mythfrontend as "skip back/skip forward", but in mythmusic, they're used
for REW and FFWD, instead.  This seemed kinda ... non-intuitive.  (Based on
other key usage in other myth contexts, it seems to me that Right and Left
should move through the currently playing song, and that pgup/pgdn should skip
to the previous/next track.)

So I went looking and found mythmusic/main.cpp, which looks like this, in
part:

>    REG_KEY("Music", "NEXTTRACK",  "Move to the next track",     ">,.,Z,End");
>    REG_KEY("Music", "PREVTRACK",  "Move to the previous track", ",,<,Q,Home");
>    REG_KEY("Music", "FFWD",       "Fast forward",               "PgDown");
>    REG_KEY("Music", "RWND",       "Rewind",                     "PgUp");

I figured, "hey, I'm a resourceful guy -- what if I take out End and Home and
replace them with the keys I wantt them to be?"

>    REG_KEY("Music", "NEXTTRACK",  "Move to the next track",     ">,.,Z,PgDown");
>    REG_KEY("Music", "PREVTRACK",  "Move to the previous track", ",,<,Q,PgUp");
>    REG_KEY("Music", "FFWD",       "Fast forward",               "Right");
>    REG_KEY("Music", "RWND",       "Rewind",                     "Left");

And then I recompiled mythmusic and did a 'make install' and restarted
mythfrontend and got ... no change in behaviour.  Same keypresses, same
weirdness.

so, #1: am I alone in thinking the keymapping is a little weird?  (I only
noticed because my otherwise working remote didn't do what I thought it should
in mythmusic) and #2, am I missing where I'd properly futz with this in the code?

Adam

-- 
  In India, "cold weather" is merely a conventional phrase and has come into
  use through the necessity of having some way to distinguish between weather
  which will melt a brass door-knob and weather which will only make it mushy.
 <adam at baz.org>                                                  - Mark Twain


More information about the mythtv-users mailing list