do not report story name as progress name
authorNiki Roo <niki@nikiroo.be>
Thu, 30 Apr 2020 21:12:18 +0000 (23:12 +0200)
committerNiki Roo <niki@nikiroo.be>
Thu, 30 Apr 2020 21:12:18 +0000 (23:12 +0200)
library/BasicLibrary.java
library/LocalLibrary.java
supported/BasicSupport.java
supported/BasicSupport_Deprecated.java
supported/Cbz.java

index 82f3fa28a0f53c6c94671e86ef491670f871145c..d435f8d7ec7fd3e2f09242339eefb9ff6fa74d93 100644 (file)
@@ -587,7 +587,6 @@ abstract public class BasicLibrary {
                }
 
                Story story = save(support.process(pgProcess), pgSave);
-               pg.setName(story.getMeta().getTitle());
                pg.done();
 
                return story.getMeta();
index aec89721753252783a6b3f9c3468e4afd4b7f9d1..6720972682939785226de86a201ef2c4c4c7d68f 100644 (file)
@@ -718,10 +718,6 @@ public class LocalLibrary extends BasicLibrary {
                }
 
                for (File infoFileOrSubdir : infoFilesAndSubdirs) {
-                       if (pgFiles != null) {
-                               pgFiles.setName(infoFileOrSubdir.getName());
-                       }
-
                        if (infoFileOrSubdir.isDirectory()) {
                                addToStories(stories, null, infoFileOrSubdir);
                        } else {
index 7dbd1365aa1970f2b08000420728f85b65e7c1a8..35a6ac353be34fe8c52607fdb9f963d895c2603b 100644 (file)
@@ -347,8 +347,6 @@ public abstract class BasicSupport {
                pgMeta.done(); // 10%
                pg.put("meta", story.getMeta());
 
-               pg.setName(story.getMeta().getTitle());
-
                Progress pgGetChapters = new Progress();
                pg.addProgress(pgGetChapters, 10);
                story.setChapters(new ArrayList<Chapter>());
@@ -394,7 +392,6 @@ public abstract class BasicSupport {
                        pgChaps.done();
                }
 
-               pg.setName(story.getMeta().getTitle());
                pg.done();
 
                return story;
index 98b74db5d0567f9d415b6da23a3d849a79faa8ed..47cb7a2c94ed2b965e865e398638d683a8967898 100644 (file)
@@ -269,8 +269,6 @@ public abstract class BasicSupport_Deprecated extends BasicSupport {
                                pgMeta.setProgress(pgMeta.getMax()); // 10%
                        }
 
-                       pg.setName("Retrieving " + story.getMeta().getTitle());
-
                        setCurrentReferer(url);
 
                        Progress pgGetChapters = new Progress();
index cf6033523a05cbb509ebab2052c2d285cfdffd4d..a6188ec55085467b1306f5a9ac91e0083bdf014d 100644 (file)
@@ -73,8 +73,6 @@ class Cbz extends Epub {
 
                pgMeta.done(); // 10%
                
-               pg.setName(meta.getTitle());
-
                File tmpDir = Instance.getInstance().getTempFiles().createTempDir("info-text");
                String basename = null;
 
@@ -197,9 +195,7 @@ class Cbz extends Epub {
                        }
                }
 
-               pg.setName(meta.getTitle());
                pg.done();
-               
                return story;
        }