From 2f34a99bf852267271dd2337eba2ca936ad0ff5c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 19 Nov 2008 00:07:02 +0100 Subject: [PATCH] screen_song: support CMD_SCREEN_LYRICS Show the lyrics of the song currently being displayed. --- src/screen_song.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/screen_song.c b/src/screen_song.c index 202025e..bda200a 100644 --- a/src/screen_song.c +++ b/src/screen_song.c @@ -128,6 +128,16 @@ screen_song_cmd(mpdclient_t *c, command_t cmd) return false; +#ifdef ENABLE_LYRICS_SCREEN + case CMD_SCREEN_LYRICS: + if (current.song != NULL) { + screen_lyrics_switch(c, current.song); + return true; + } + + return false; +#endif + default: break; } -- 2.30.2