Exemplo n.º 1
0
        public void UpdateCurrentSong()
        {
            UpdateCurrentSongIndex();

            NotifyPropertyChanged("CurrentSong");
            CurrentSong.UpdateTitleAndArtist();

            ViewModel.Current.ChangeSliderMaximumAndSliderValue();
        }
Exemplo n.º 2
0
        public Playlist(CurrentSong currentSong)
        {
            Name         = Library.IsLoaded ? "None" : "Loading";
            absolutePath = emptyOrLoadingPath;

            Loop    = LoopKind.Off;
            Shuffle = ShuffleKind.Off;

            songs = new List <Song>()
            {
                currentSong.Song
            };
            shuffleList = new List <int>()
            {
                0
            };

            songsIndex = 0;
            songPostionMilliseconds = currentSong.PositionMilliseconds;
        }