public Repeat ( bool repeat ) : void | ||
repeat | bool | If the MPD should repeat the playlist. |
return | void |
public void Repeat(bool repeat)
{
MpdResponse response = this.getConnection().Exec("repeat", new string[] { repeat ? "1" : "0" });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
}