[mythtv] MythMusic keypad shortcuts

Robin Gilks g8ecj at gilks.org
Tue Nov 22 15:10:34 EST 2005


Greetings

I'd like to use the 6 key keypad on my lcd to navigate in mythmusic so I
don't have to turn on the TV. I have up/down/left/right/ok/esc keys.

This patch allows me to enter playlist edit mode using the 'right' key, it
woud be nice to make this orthagonal such that when at the top of the
music tree, 'left' took me back to the playlist section (and started
playing the selection). I know that 'esc' will do this but I'm trying to
improve the WAF

Any clues as to where I'd do this? I can't work out the modes in
playbackbox.cpp :-(

I'm also looking to change the order of data displayed on the LCD from a
CD. If you move up and down the playlist, by the time the track
number/name has scrolled onto a 20 character LCD the display reverts to
displaying the currently playing track - scrolling down a list of "CD:
ARTIST NAME" isn't very informative!! More on that later...


$ svn diff
Index: playbackbox.cpp
===================================================================
--- playbackbox.cpp     (revision 7981)
+++ playbackbox.cpp     (working copy)
@@ -356,6 +356,8 @@
         }
         else if (action == "INFO")
             showEditMetadataDialog();
+       else if ((visualizer_status == 1) && (action == "RIGHT"))
+            editPlaylist();
         else
             handled = false;
     }


-- 
Robin Gilks





More information about the mythtv-dev mailing list