aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-19 00:06:22 +0100
committerMax Kellermann <max@duempel.org>2008-11-19 00:06:22 +0100
commitb0bfd3def11a6a90c9aebe223299bb59629c0464 (patch)
tree5d4dc906a8b5b31d5d0d02f54e0837ed7acfac5a
parent4fffb2ffbfb55b69b7cbc13573918d483cd77e6d (diff)
downloadmpd-b0bfd3def11a6a90c9aebe223299bb59629c0464.tar.gz
mpd-b0bfd3def11a6a90c9aebe223299bb59629c0464.tar.xz
mpd-b0bfd3def11a6a90c9aebe223299bb59629c0464.zip
screen_lyrics: support CMD_VIEW
Jump to the song viewer screen.
-rw-r--r--src/screen_lyrics.c10
1 files changed, 10 insertions, 0 deletions
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);