internal Song(CurrentPlaySong currentPlaySong) { failed = false; durationMilliseconds = DefaultDuration; path = currentPlaySong.Path; title = currentPlaySong.Title; artist = currentPlaySong.Artist; }
internal Library(CurrentPlaySong currentPlaySong) { IsForeground = false; IsLoaded = false; SkippedSongs = new SkipSongs(this); Playlists = new PlaylistCollection(currentPlaySong); CurrentPlaylist = Playlists.First(); }
public Playlist(CurrentPlaySong currentPlaySong) : this() { Songs.Add(new Song(currentPlaySong)); CurrentSong = Songs.FirstOrDefault(); CurrentSongPosition = currentPlaySong.Position; }
public PlaylistCollection(CurrentPlaySong currentPlaySong) { list = new List <IPlaylist>(Utils.RepeatOnce(new Playlist(currentPlaySong))); }