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); }