X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FBasicLibrary.java;h=4c32e3c2a6cbb68d85efb17a3df113026c82ef4d;hb=5083ef84efb7e001c0b5de235d3424e1b59c62f4;hp=66fb94355b538a94c900279bf0278675e6e5d9e3;hpb=3bbc86a58d68069c6eb95ec17b02daa4ca75ec7f;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/BasicLibrary.java b/src/be/nikiroo/fanfix/library/BasicLibrary.java index 66fb943..4c32e3c 100644 --- a/src/be/nikiroo/fanfix/library/BasicLibrary.java +++ b/src/be/nikiroo/fanfix/library/BasicLibrary.java @@ -319,15 +319,19 @@ abstract public class BasicLibrary { if (type != null) { story = BasicSupport.getSupport(type).process(url, pgProcess); + // Because we do not want to clear the meta cache: + meta.setCover(story.getMeta().getCover()); story.setMeta(meta); + // } else { throw new IOException("Unknown type: " + meta.getType()); } } catch (IOException e) { // We should not have not-supported files in the // library - Instance.getTraceHandler().error(new IOException( - "Cannot load file from library: " + file, e)); + Instance.getTraceHandler().error( + new IOException("Cannot load file from library: " + + file, e)); } finally { pgProcess.done(); pg.done();