releases.put(ReleaseType.UNKNOWN, new TreeSet<TorrentGroup>());
}
releases.get(ReleaseType.UNKNOWN).add(group);
}
else {
ReleaseType appearance = group.getExtendedArtists().getAppearance(artist.getId());
if (appearance == ReleaseType.ARTIST || appearance == ReleaseType.DJ){
ReleaseType type = group.getReleaseType();
if (!releases.containsKey(type)){
releases.put(type, new TreeSet<TorrentGroup>());
}
releases.get(type).add(group);
}