added a key to jump to a song in the media library

This commit introduces a new key to bind, key_go_to_media_library. It
will switch to the media library and select the song under the cursor.
This commit is contained in:
Frank Blendinger
2009-12-17 22:01:00 +01:00
parent 0d05a550c2
commit a5882ee27f
7 changed files with 105 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ class MediaLibrary : public Screen<Window>
void NextColumn();
void PrevColumn();
void LocateSong(const MPD::Song &);
Menu<std::string> *Artists;
Menu< std::pair<std::string, SearchConstraints> > *Albums;
Menu<MPD::Song> *Songs;