try +1
[fanfix.git] / src / be / nikiroo / fanfix / library / BasicLibrary.java
index 206e80f360dfcb82927cbec0eb7762b2b652c05e..a9b6ef3b1e19e0c259a49d136311605e19c1fa85 100644 (file)
@@ -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);