diff options
author | Max Kellermann <max@duempel.org> | 2008-11-19 00:07:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-19 00:07:02 +0100 |
commit | 2f34a99bf852267271dd2337eba2ca936ad0ff5c (patch) | |
tree | 1462e2c3789e5ba75c9dfdd6b2e0d4d8ce85f714 /src | |
parent | b9e06987c6dbbb96b5c7e8c67f29ad489f94f534 (diff) | |
download | mpd-2f34a99bf852267271dd2337eba2ca936ad0ff5c.tar.gz mpd-2f34a99bf852267271dd2337eba2ca936ad0ff5c.tar.xz mpd-2f34a99bf852267271dd2337eba2ca936ad0ff5c.zip |
screen_song: support CMD_SCREEN_LYRICS
Show the lyrics of the song currently being displayed.
Diffstat (limited to '')
-rw-r--r-- | src/screen_song.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/screen_song.c b/src/screen_song.c index 202025ee8..bda200ad7 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; } |