public Swap ( int nr1, int nr2 ) : void | ||
nr1 | int | The index of the first track. |
nr2 | int | The index of the second track. |
return | void |
public void Swap(int nr1, int nr2)
{
MpdResponse response = this.getConnection().Exec("swap", new string[] { nr1.ToString(), nr2.ToString() });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
}