Пример #1
0
 public void Insert(int index, ITrack track)
 {
     PlayListItem item = new PlayListItem(track);
     Tracks.Insert(index, item);
     if (ItemAdded != null)
         ItemAdded(item);
 }
Пример #2
0
 void HandlePlaylistChanged(PlayListItem track)
 {
     WebInterface.SendMessageAll(new PlaylistNotification(Playlist.Active));
     Utils.Logger.Log("Sent playlist notification.");
 }