public PlaylistMove ( string name, int id, int nr ) : void | ||
name | string | The name of the playlist. |
id | int | The id of the track to move. |
nr | int | The position to move the track to. |
return | void |
public void PlaylistMove(string name, int id, int nr)
{
if (name == null)
throw new ArgumentNullException("name");
name = EscapeString(name);
MpdResponse response = this.getConnection().Exec("playlistmove", new string[] { id.ToString(), nr.ToString() });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
}