|
|
|
@ -714,10 +714,14 @@ void Connection::Delete(unsigned pos) |
|
|
|
|
|
|
|
|
|
|
|
void Connection::PlaylistDelete(const std::string &playlist, unsigned pos) |
|
|
|
void Connection::PlaylistDelete(const std::string &playlist, unsigned pos) |
|
|
|
{ |
|
|
|
{ |
|
|
|
prechecksNoCommandsList(); |
|
|
|
prechecks(); |
|
|
|
mpd_run_playlist_delete(m_connection, playlist.c_str(), pos); |
|
|
|
mpd_send_playlist_delete(m_connection, playlist.c_str(), pos); |
|
|
|
|
|
|
|
if (!m_command_list_active) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mpd_response_finish(m_connection); |
|
|
|
checkErrors(); |
|
|
|
checkErrors(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Connection::StartCommandsList() |
|
|
|
void Connection::StartCommandsList() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|