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:
@@ -1545,6 +1545,12 @@ int main(int argc, char *argv[])
|
||||
if (s)
|
||||
myBrowser->LocateSong(*s);
|
||||
}
|
||||
else if (Keypressed(input, Key.GoToMediaLibrary))
|
||||
{
|
||||
Song *s = myScreen->CurrentSong();
|
||||
if (s)
|
||||
myLibrary->LocateSong(*s);
|
||||
}
|
||||
else if (Keypressed(input, Key.GoToPosition))
|
||||
{
|
||||
if (!Mpd.GetTotalTime())
|
||||
|
||||
Reference in New Issue
Block a user