X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fsupported%2FInfoReader.java;h=57f021f203e68450c9926e372fb02f4d484fde9c;hb=67837328c9ded45b23691e2a3ebdb29c75f157f2;hp=f589e6f30787e8fe6c8e4841e4cf0f94e3b36724;hpb=9ac581ab3a604e678e693fc650bffe96f7edd0d0;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/supported/InfoReader.java b/src/be/nikiroo/fanfix/supported/InfoReader.java index f589e6f..57f021f 100644 --- a/src/be/nikiroo/fanfix/supported/InfoReader.java +++ b/src/be/nikiroo/fanfix/supported/InfoReader.java @@ -14,7 +14,7 @@ import be.nikiroo.fanfix.Instance; import be.nikiroo.fanfix.bundles.Config; import be.nikiroo.fanfix.data.MetaData; import be.nikiroo.utils.Image; -import be.nikiroo.utils.MarkableFileInputStream; +import be.nikiroo.utils.streams.MarkableFileInputStream; // not complete: no "description" tag public class InfoReader { @@ -25,8 +25,7 @@ public class InfoReader { } if (infoFile.exists()) { - InputStream in = new MarkableFileInputStream(new FileInputStream( - infoFile)); + InputStream in = new MarkableFileInputStream(infoFile); try { return createMeta(infoFile.toURI().toURL(), in, withCover); } finally { @@ -110,7 +109,6 @@ public class InfoReader { name = name.substring(0, pos); basefile = new File(basefile.getParent(), name); -System.out.println(">>> " + basefile); cover = BasicSupportHelper.getImage(null, sourceInfoFile, basefile.getAbsolutePath() + ext); }