responseUnmarshaller.skip();
if (!"result".equals(xmlr.getLocalName())) {
throw new DespotifyException("Expected document root to be of type <result>");
}
Result result = responseUnmarshaller.unmarshallSearchResult();
xmlr.close();
return result;
} catch (XMLStreamException e) {
throw new DespotifyException(e);