From b0bfd3def11a6a90c9aebe223299bb59629c0464 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 19 Nov 2008 00:06:22 +0100 Subject: screen_lyrics: support CMD_VIEW Jump to the song viewer screen. --- src/screen_lyrics.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 9cffd5777..0d525f5cc 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -330,6 +330,16 @@ lyrics_cmd(mpdclient_t *c, command_t cmd) } return true; +#ifdef ENABLE_SONG_SCREEN + case CMD_VIEW: + if (current.song != NULL) { + screen_song_switch(c, current.song); + return true; + } + + break; +#endif + case CMD_LOCATE: if (current.song != NULL) { screen_file_goto_song(c, current.song); -- cgit v1.2.3