/** * Attempts to fetch information from VLC's web interface. * * @return True on success, false otherwise */ private boolean fetchInformation() { information.clear(); List<String> res; List<String> res2; try { res = Downloader.getPage( "http://" + IdentityManager.getGlobalConfig().getOption(getDomain(), "host") + "/old/info.html"); res2 = Downloader.getPage( "http://" + IdentityManager.getGlobalConfig().getOption(getDomain(), "host") + "/old/"); parseInformation(res, res2); return true; } catch (MalformedURLException ex) { return false; } catch (IOException ex) { return false; } }