Пример #1
0
        public void RemoveTracks(IEnumerable <Track> tracks)
        {
            int [] indices = tracks.Select(t => t.Index).ToArray();
            ThrowIfDuplicates(indices);

            ThrowHelper.ThrowIfError(
                LibSpotify.sp_playlist_remove_tracks_r(Handle, indices, indices.Length));
        }