try +1
authorNiki Roo <niki@nikiroo.be>
Fri, 10 Aug 2018 16:52:17 +0000 (18:52 +0200)
committerNiki Roo <niki@nikiroo.be>
Fri, 10 Aug 2018 16:52:17 +0000 (18:52 +0200)
src/be/nikiroo/fanfix/library/BasicLibrary.java
src/be/nikiroo/fanfix/supported/BasicSupport.java

index e62416bcca9fd1112bbf8ade0175dc008dcd142d..a9b6ef3b1e19e0c259a49d136311605e19c1fa85 100644 (file)
@@ -353,10 +353,9 @@ 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);
-                                               System.out.println("orig meta: "+meta);
-                                               System.out.println("story retrieved: "+story);
                                                // Because we do not want to clear the meta cache:
                                                meta.setCover(story.getMeta().getCover());
                                                story.setMeta(meta);
index 8154a15e600564e3bfb1da2d9211030512efc72b..ed92b2f37821342771f27eb22841ca53a6aa994b 100644 (file)
@@ -294,6 +294,7 @@ public abstract class BasicSupport {
 
                Story story = new Story();
                MetaData meta = getMeta();
+System.out.println("meta from support get: "+meta);
                if (meta.getCreationDate() == null || meta.getCreationDate().isEmpty()) {
                        meta.setCreationDate(StringUtils.fromTime(new Date().getTime()));
                }