private void btnDiscogsMatch_Click(object sender, RoutedEventArgs e)
        {
            this.UpdateRelease();

            DiscogsReleaseMerger merger = new DiscogsReleaseMerger(this, this.CollectionManager, this.release, this.imagesEditor);
            for (int i = 1; i <= this.release.DiscCount; ++i)
            {
                var tracks = this.release.Tracklist.Where(t => t.Disc == i);
                var discogsItems = tracks.Select(t => new Tuple<Track, string>(t, Path.GetFileName(t.RelativeFilename)));
                merger.AddDisc(discogsItems.ToArray());
            }
            merger.Merge();

            this.detailsEditor.Release = null;
            this.detailsEditor.Release = this.release;
            this.RefreshAllDiscs();
        }
        private void btnDiscogsMatch_Click(object sender, RoutedEventArgs e)
        {
            this.UpdateRelease();

            DiscogsReleaseMerger merger = new DiscogsReleaseMerger(this, this.CollectionManager, this.DatabaseRelease, this.imagesEditor);
            foreach (var disc in this.Release.Discs)
            {
                merger.AddDisc(disc.Select(t => new Tuple<Track, string>(t.Track, t.SourceItem.Name)));
            }
            merger.Merge();

            this.detailsEditor.Release = null;
            this.detailsEditor.Release = this.DatabaseRelease;
            this.RefreshAllDiscs();
        }