X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fsupported%2FInfoText.java;h=9ede84483aadbae697d2c04b19980fa682fbc945;hb=62c63b0724f4bc45999cb2e7186b4b3ada479a0a;hp=8d4d97d935dc4ed263c80b20a836c790bcf683bd;hpb=a7d266e6616349169d03e93780fb656754089dd0;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/supported/InfoText.java b/src/be/nikiroo/fanfix/supported/InfoText.java index 8d4d97d..9ede844 100644 --- a/src/be/nikiroo/fanfix/supported/InfoText.java +++ b/src/be/nikiroo/fanfix/supported/InfoText.java @@ -27,8 +27,9 @@ class InfoText extends Text { @Override protected MetaData getMeta(URL source, InputStream in) throws IOException { try { - MetaData meta = InfoReader.readMeta(new File(new File(source - .toURI()).getPath() + ".info")); + MetaData meta = InfoReader.readMeta( + new File(new File(source.toURI()).getPath() + ".info"), + true); // Some old .info files don't have those now required fields... String test = meta.getTitle() == null ? "" : meta.getTitle(); @@ -66,7 +67,7 @@ class InfoText extends Text { file = new File(url.toURI()); file = new File(file.getPath() + ".info"); } catch (URISyntaxException e) { - Instance.syserr(e); + Instance.getTraceHandler().error(e); file = null; }