X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FBasicLibrary.java;h=a9b6ef3b1e19e0c259a49d136311605e19c1fa85;hb=88664350f0b3849538d4f41f7c3d56d81d03e1a4;hp=206e80f360dfcb82927cbec0eb7762b2b652c05e;hpb=efa3c511f39ab1432675e3b75b9b7b32d579f1c3;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/BasicLibrary.java b/src/be/nikiroo/fanfix/library/BasicLibrary.java index 206e80f..a9b6ef3 100644 --- a/src/be/nikiroo/fanfix/library/BasicLibrary.java +++ b/src/be/nikiroo/fanfix/library/BasicLibrary.java @@ -353,6 +353,7 @@ abstract public class BasicLibrary { .getType()); URL url = file.toURI().toURL(); if (type != null) { +System.out.println("selected support: "+BasicSupport.getSupport(type, url)); story = BasicSupport.getSupport(type, url) // .process(pgProcess); // Because we do not want to clear the meta cache: @@ -517,6 +518,7 @@ abstract public class BasicLibrary { */ public synchronized Story save(Story story, String luid, Progress pg) throws IOException { + // Do not change the original metadata, but change the original story MetaData meta = story.getMeta().clone(); story.setMeta(meta);