public void PlaylistDelete(string name, int id)
{
if (name == null)
throw new ArgumentNullException("name");
name = EscapeString(name);
MpdResponse response = this.getConnection().Exec("playlistdelete", new string[] { name, id.ToString() });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
}