From: Max Kellermann Date: Tue, 18 Nov 2008 23:07:02 +0000 (+0100) Subject: screen_song: support CMD_SCREEN_LYRICS X-Git-Tag: v0.12_beta1~30 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2f34a99bf852267271dd2337eba2ca936ad0ff5c;p=ncmpc.git screen_song: support CMD_SCREEN_LYRICS Show the lyrics of the song currently being displayed. --- 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; }