if (type != null) {
story = BasicSupport.getSupport(type, url) //
.process(pgProcess);
+System.out.println("after process: "+story);
// Because we do not want to clear the meta cache:
meta.setCover(story.getMeta().getCover());
story.setMeta(meta);
pg.addProgress(pgMeta, 10);
Story story = processMeta(true, pgMeta);
MetaData meta = story.getMeta();
+
+System.out.println("Meta from Cbz support: "+meta);
pgMeta.done(); // 10%
Story origStory = getStoryFromTxt(tmpDir, basename);
if (origStory != null) {
story.setChapters(origStory.getChapters());
+ if (origStory.getMeta().getCover() == null) {
+ origStory.getMeta().setCover(story.getMeta().getCover());
+ }
story.setMeta(origStory.getMeta());
} else {
story.setChapters(new ArrayList<Chapter>());
meta.setCover(images.get(imagesList.get(0)));
meta.setFakeCover(true);
}
-
+
+System.out.println("Meta from Cbz support at end: "+meta);
} finally {
IOUtils.deltree(tmpDir);
if (zipIn != null) {
name = name.substring(0, pos);
basefile = new File(basefile.getParent(), name);
-System.out.println(">>> " + basefile);
cover = BasicSupportHelper.getImage(null, sourceInfoFile,
basefile.getAbsolutePath() + ext);
}