git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remote: do not ping all the time
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
InfoReader.java
diff --git
a/src/be/nikiroo/fanfix/supported/InfoReader.java
b/src/be/nikiroo/fanfix/supported/InfoReader.java
index f589e6f30787e8fe6c8e4841e4cf0f94e3b36724..57f021f203e68450c9926e372fb02f4d484fde9c 100644
(file)
--- 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.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 {
// not complete: no "description" tag
public class InfoReader {
@@
-25,8
+25,7
@@
public class InfoReader {
}
if (infoFile.exists()) {
}
if (infoFile.exists()) {
- InputStream in = new MarkableFileInputStream(new FileInputStream(
- infoFile));
+ InputStream in = new MarkableFileInputStream(infoFile);
try {
return createMeta(infoFile.toURI().toURL(), in, withCover);
} finally {
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);
name = name.substring(0, pos);
basefile = new File(basefile.getParent(), name);
-System.out.println(">>> " + basefile);
cover = BasicSupportHelper.getImage(null, sourceInfoFile,
basefile.getAbsolutePath() + ext);
}
cover = BasicSupportHelper.getImage(null, sourceInfoFile,
basefile.getAbsolutePath() + ext);
}