public void PlaylistClear(string name)
{
if (name == null)
throw new ArgumentNullException("name");
name = string.Format("\"{0}\"", name);
MpdResponse response = this.getConnection().Exec("playlistclear", new string[] { name });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
}