Note: This bug has been reported by a user (Thanks Gordon!).<br /><br />Regardless, the following code in ITunesToChinookDataSetConverter.cs:<br /> <br />private static int AddAlbum(TrackInfo trackInfo, ChinookDataSet ds)<br />{<br /> DataRow[] results = ds.Album.Select("Title = '" + trackInfo.AlbumName.Replace("'", "''") + "'" );<br />...<br />}<br /><br />doesn't take into account albums of identical names by different artists. So, for example, songs from Moby's "Play" and Great Big Sea's "Play" are added to the database referencing the the same artist id (in this case GBS). Adding an ArtistId qualifier in the search cleans it up.<br /><br />Update: The current iTunes converter associates an Album with the TrackArtist, but it should consider the AlbumArtist. The right solution is to remove the Album/Artist relationship and add the Track/Artist relationship so that it can covert the scenario of Album from multiple artists. Moving this to Release 2.0 since it requires schema changes.
↧