con.setRequestProperty("User-Agent", "JMP3renamer MusicBrainz Plug-in " + MusicBrainz.VERSION);
InputStream in = con.getInputStream();
Object o = unm.unmarshal(in);
Metadata md = (Metadata) o;
ReleaseList rl = md.getReleaseList();
if (rl != null) {
List<Release> list = rl.getRelease();
for (Release release : list) {
MusicBrainzAlbum mba = new MusicBrainzAlbum();
mba.setTitle(release.getTitle());
Artist artistName = release.getArtistCredit().getNameCredit().get(0).getArtist();
mba.setArtist(artistName.getName());