}
for (SearchResult sr : srs) {
if (sr instanceof ArtistSearchResult) {
try {
ArtistSearchResult asr = (ArtistSearchResult) sr;
if (!artistAlreadyFound(asr.getTitle(), artists)) {
artists.add(asr.getArtist());
}
}
catch (Exception e) {
// failed to retrieve, don't bother
}