public void UpdateCurrentSong() { UpdateCurrentSongIndex(); NotifyPropertyChanged("CurrentSong"); CurrentSong.UpdateTitleAndArtist(); ViewModel.Current.ChangeSliderMaximumAndSliderValue(); }
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; }