/// <summary> /// Start playing the first track in this playlist. /// </summary> public void PlayFirstTrack() { Invoke((Action) delegate { playlist.PlayFirstTrack(); }); }
private void PlayPlaylist(IITPlaylist pl) { if (pl.Tracks.Count != 0) { pl.PlayFirstTrack(); pl.SongRepeat = ITPlaylistRepeatMode.ITPlaylistRepeatModeAll; pl.Shuffle = false; } }
public Track Play() { _playlist.PlayFirstTrack(); return(Songs > 0 ? TrackList[0] : null); }