Fix CBZ: do not include the first page twice
[nikiroo-utils.git] / src / be / nikiroo / fanfix / data / MetaData.java
index 06cf625d3a66e59056d124e0172ab14c7f482e0a..189277d9480fb8ef4abf3f5b6b8646a5d74d303e 100644 (file)
@@ -27,6 +27,7 @@ public class MetaData implements Cloneable, Comparable<MetaData> {
        private boolean imageDocument;
        private long words;
        private String creationDate;
+       private boolean fakeCover;
 
        /**
         * The title of the story.
@@ -355,6 +356,27 @@ public class MetaData implements Cloneable, Comparable<MetaData> {
                this.creationDate = creationDate;
        }
 
+       /**
+        * The cover in this {@link MetaData} object is "fake", in the sens that it
+        * comes from the actual content images.
+        * 
+        * @return TRUE for a fake cover
+        */
+       public boolean isFakeCover() {
+               return fakeCover;
+       }
+
+       /**
+        * The cover in this {@link MetaData} object is "fake", in the sens that it
+        * comes from the actual content images
+        * 
+        * @param fakeCover
+        *            TRUE for a fake cover
+        */
+       public void setFakeCover(boolean fakeCover) {
+               this.fakeCover = fakeCover;
+       }
+
        public int compareTo(MetaData o) {
                String oUuid = o == null ? null : o.getUuid();
                return getUuid().compareTo(oUuid);