status: follow lyrics of proper song if consume mode is on
http://bugs.musicpd.org/view.php?id=4082
This commit is contained in:
@@ -308,6 +308,16 @@ void Connection::GetPlaylistChanges(unsigned version, SongConsumer f)
|
||||
checkErrors();
|
||||
}
|
||||
|
||||
Song Connection::GetCurrentSong()
|
||||
{
|
||||
prechecksNoCommandsList();
|
||||
mpd_send_current_song(m_connection);
|
||||
mpd_song *s = mpd_recv_song(m_connection);
|
||||
mpd_response_finish(m_connection);
|
||||
checkErrors();
|
||||
return Song(s);
|
||||
}
|
||||
|
||||
Song Connection::GetSong(const std::string &path)
|
||||
{
|
||||
prechecksNoCommandsList();
|
||||
|
||||
Reference in New Issue
Block a user