示例#1
0
 private void LoadPlaylistPlay(PlayListPlay play)
 {
     StartClock();
     player.SetPlayListElement(play.MediaFile.FilePath, play.Start.MSeconds,
                               play.Stop.MSeconds, play.Rate, playlist.HasNext());
     selectedTimeNode = play;
 }
示例#2
0
        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());
        }