Bug in track artists search?

Nov 2, 2012 at 11:56 PM
Edited Nov 3, 2012 at 12:04 AM


I was wondering if you can help me to get the track artists for an album? For example, I am looking at the album here:


I want to get the track artists (Four Tet, Michel Redolfi, Crazy Bald Heads, etc). To get the artist for the first track, I have tried this:

Discogs3 discogs = new Discogs3();
Release release = discogs.GetRelease(3110386);
Track[] tracklist = release.Tracklist; ReleaseArtist[] artistsArray = tracklist[0].Artists; Console.WriteLine(artistsArray[0].Name);

Unfortunately artistsArray has no entries, so I get an exception. I tried the same method using a Discogs2 object and it worked fine, so I assume it must be a bug in the Discogs3 class?

Many thanks for all your work on this excellent project,


Nov 3, 2012 at 12:28 AM

Yeah, Artists should be populated, but isn't. I just committed a new version that fixes that. If you update to the latest version and build from source, the tracklist[0].Artists will contain what you want it to.

Thanks for reporting the issue.