Exemple #1
0
        internal Song(CurrentPlaySong currentPlaySong)
        {
            failed = false;

            durationMilliseconds = DefaultDuration;
            path   = currentPlaySong.Path;
            title  = currentPlaySong.Title;
            artist = currentPlaySong.Artist;
        }
Exemple #2
0
        internal Library(CurrentPlaySong currentPlaySong)
        {
            IsForeground = false;
            IsLoaded     = false;

            SkippedSongs    = new SkipSongs(this);
            Playlists       = new PlaylistCollection(currentPlaySong);
            CurrentPlaylist = Playlists.First();
        }
Exemple #3
0
 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)));
 }