Beispiel #1
0
        private void business_NowPlaying(object sender, NowPlayingEventArgs e)
        {
            Media VideoInfo = SessionCore.Instance.Business.CurrentVideo;

            txtCurrentVideo.Text = VideoInfo?.DisplayTitle;
            bool IsPrefEdit = SessionCore.Instance.RatingViewer.UpdatePreference();

            if (e.ReloadInfo)
            {
                MediaList.EditForm_Closed(VideoInfo);
            }
            else if (IsPrefEdit)
            {
                MediaList.EditForm_Closed(SessionCore.Instance.RatingViewer.Video);
            }
            SessionCore.Instance.RatingViewer.Video = VideoInfo;
        }