browseServiceManager.addBrowseService(SpotifyTrack.class.getSimpleName(), SpotifyTrackBrowseService.class, getConfiguration());
try {
browseMenuManager.loadMenusFromXml(getClass().getResourceAsStream("/org/socialmusicdiscovery/server/plugins/mediaimport/spotify/spotify-menus.xml"));
} catch (IOException e) {
throw new PluginException(e);
} catch (ParsingException e) {
throw new PluginException(e);
}
return true;
}