private void LoadPlaylistPlay(PlayListPlay play) { StartClock(); player.SetPlayListElement(play.MediaFile.FilePath, play.Start.MSeconds, play.Stop.MSeconds, play.Rate, playlist.HasNext()); selectedTimeNode = play; }
private void LoadPlaylistPlay(PlayListPlay play) { if (OpenedProject != null) { guiToolkit.ErrorMessage(Catalog.GetString( "Please, close the opened project to play the playlist.")); Stop(); return; } StartClock(); player.SetPlayListElement(play.MediaFile.FilePath, play.Start.MSeconds, play.Stop.MSeconds, play.Rate, playlist.HasNext()); selectedTimeNode = play; playlist.SetActive(play); playlistWidget.SetActivePlay(play, playlist.GetCurrentIndex()); }