diff --git a/README.md b/README.md index e357e89..6a40934 100644 --- a/README.md +++ b/README.md @@ -256,7 +256,7 @@ OUTPUT SETTINGS: Output generated file to specified directory or file -t TITLE, --title TITLE Comic title [Default=filename or directory name] - --comicinfotitle Write title from ComicInfo.xml + --metadatatitle Write title from ComicInfo.xml or other embedded metadata -a AUTHOR, --author AUTHOR Author name [Default=KCC] -f FORMAT, --format FORMAT diff --git a/gui/KCC.ui b/gui/KCC.ui index 586dcc0..8925343 100644 --- a/gui/KCC.ui +++ b/gui/KCC.ui @@ -585,12 +585,12 @@ - + - Write Title from ComicInfo.xml + <html><head/><body><p>Write Title from ComicInfo.xml or other embedded metadata.</p></body></html> - ComicInfo Title + Metadata Title diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index c96f128..9a55193 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -268,8 +268,8 @@ class WorkerThread(QThread): options.maximizestrips = True if GUI.disableProcessingBox.isChecked(): options.noprocessing = True - if GUI.comicinfoTitleBox.isChecked(): - options.comicinfotitle = True + if GUI.metadataTitleBox.isChecked(): + options.metadatatitle = True if GUI.deleteBox.isChecked(): options.delete = True if GUI.spreadShiftBox.isChecked(): @@ -882,7 +882,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): 'colorBox': GUI.colorBox.checkState().value, 'eraseRainbowBox': GUI.eraseRainbowBox.checkState().value, 'disableProcessingBox': GUI.disableProcessingBox.checkState().value, - 'comicinfoTitleBox': GUI.comicinfoTitleBox.checkState().value, + 'metadataTitleBox': GUI.metadataTitleBox.checkState().value, 'mozJpegBox': GUI.mozJpegBox.checkState().value, 'widthBox': GUI.widthBox.value(), 'heightBox': GUI.heightBox.value(), diff --git a/kindlecomicconverter/KCC_rc.py b/kindlecomicconverter/KCC_rc.py index 27229a7..736376c 100644 --- a/kindlecomicconverter/KCC_rc.py +++ b/kindlecomicconverter/KCC_rc.py @@ -12198,53 +12198,53 @@ qt_resource_struct = b"\ \x00\x00\x00X\x00\x02\x00\x00\x00\x04\x00\x00\x00\x07\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x01\xe4\x00\x00\x00\x00\x00\x01\x00\x02S.\ -\x00\x00\x01\x88;p\xbcB\ +\x00\x00\x01\x97\x0a\xfc2A\ \x00\x00\x02\x22\x00\x00\x00\x00\x00\x01\x00\x02\xa7\xc8\ -\x00\x00\x01\x88;p\xbcB\ +\x00\x00\x01\x97\x0a\xfc2@\ \x00\x00\x02\x0e\x00\x00\x00\x00\x00\x01\x00\x02}\xcd\ -\x00\x00\x01\x88;p\xbcB\ +\x00\x00\x01\x97\x0a\xfc2@\ \x00\x00\x01\xfa\x00\x00\x00\x00\x00\x01\x00\x02rj\ -\x00\x00\x01\x89\x89D9.\ +\x00\x00\x01\x97\x0a\xfc2@\ \x00\x00\x00X\x00\x02\x00\x00\x00\x04\x00\x00\x00\x0c\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\xa6\x00\x00\x00\x00\x00\x01\x00\x01(\x97\ -\x00\x00\x01\x88;p\xbcB\ +\x00\x00\x01\x97\x0a\xfc2A\ \x00\x00\x00\xbc\x00\x00\x00\x00\x00\x01\x00\x011\xef\ -\x00\x00\x01\x96\x16b\x1f\x99\ +\x00\x00\x01\x97\x0a\xfc2A\ \x00\x00\x00\x8c\x00\x00\x00\x00\x00\x01\x00\x01\x1d\x90\ -\x00\x00\x01\x88;p\xbcB\ +\x00\x00\x01\x97\x0a\xfc2A\ \x00\x00\x00\xd0\x00\x00\x00\x00\x00\x01\x00\x01:\x05\ -\x00\x00\x01\x88;p\xbcB\ +\x00\x00\x01\x97\x0a\xfc2A\ \x00\x00\x00X\x00\x02\x00\x00\x00\x03\x00\x00\x00\x11\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x02f\x00\x00\x00\x00\x00\x01\x00\x02\xda\x14\ -\x00\x00\x01\x88;p\xbcJ\ +\x00\x00\x01\x97\x0a\xfc2D\ \x00\x00\x028\x00\x00\x00\x00\x00\x01\x00\x02\xc4\x17\ -\x00\x00\x01\x88;p\xbcI\ +\x00\x00\x01\x97\x0a\xfc2D\ \x00\x00\x02N\x00\x00\x00\x00\x00\x01\x00\x02\xcdt\ -\x00\x00\x01\x88;p\xbcI\ +\x00\x00\x01\x97\x0a\xfc2D\ \x00\x00\x00X\x00\x02\x00\x00\x00\x08\x00\x00\x00\x15\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x01\x1c\x00\x00\x00\x00\x00\x01\x00\x01P\xb1\ -\x00\x00\x01\x88;p\xbcJ\ +\x00\x00\x01\x97\x0a\xfc2D\ \x00\x00\x012\x00\x00\x00\x00\x00\x01\x00\x01yY\ -\x00\x00\x01\x97\xc9|\x88\xde\ +\x00\x00\x01\x98\x1f\x9862\ \x00\x00\x01V\x00\x00\x00\x00\x00\x01\x00\x01\x9d\x9a\ -\x00\x00\x01\x88;p\xbcI\ +\x00\x00\x01\x97\x0a\xfc2D\ \x00\x00\x01\xb8\x00\x00\x00\x00\x00\x01\x00\x01\xf6n\ -\x00\x00\x01\x94\xb4\xd4\xf0a\ +\x00\x00\x01\x97\x0a\xfc2D\ \x00\x00\x01\x9e\x00\x00\x00\x00\x00\x01\x00\x01\xb1'\ -\x00\x00\x01\x88;p\xbcH\ +\x00\x00\x01\x97\x0a\xfc2C\ \x00\x00\x01\x04\x00\x00\x00\x00\x00\x01\x00\x01LR\ -\x00\x00\x01\x88;p\xbcF\ +\x00\x00\x01\x97\x0a\xfc2B\ \x00\x00\x00\xe8\x00\x00\x00\x00\x00\x01\x00\x01?\xe9\ -\x00\x00\x01\x88;p\xbcH\ +\x00\x00\x01\x97\x0a\xfc2C\ \x00\x00\x01x\x00\x00\x00\x00\x00\x01\x00\x01\xa6\xf1\ -\x00\x00\x01\x88;p\xbcH\ +\x00\x00\x01\x97\x0a\xfc2C\ \x00\x00\x00X\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1e\ \x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00h\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ -\x00\x00\x01\x88;p\xbcH\ +\x00\x00\x01\x97\x0a\xfc2C\ " def qInitResources(): diff --git a/kindlecomicconverter/KCC_ui.py b/kindlecomicconverter/KCC_ui.py index e74aec9..c367024 100644 --- a/kindlecomicconverter/KCC_ui.py +++ b/kindlecomicconverter/KCC_ui.py @@ -316,10 +316,10 @@ class Ui_mainWindow(object): self.gridLayout_2.addWidget(self.outputSplit, 3, 1, 1, 1) - self.comicinfoTitleBox = QCheckBox(self.optionWidget) - self.comicinfoTitleBox.setObjectName(u"comicinfoTitleBox") + self.metadataTitleBox = QCheckBox(self.optionWidget) + self.metadataTitleBox.setObjectName(u"metadataTitleBox") - self.gridLayout_2.addWidget(self.comicinfoTitleBox, 7, 0, 1, 1) + self.gridLayout_2.addWidget(self.metadataTitleBox, 7, 0, 1, 1) self.qualityBox = QCheckBox(self.optionWidget) self.qualityBox.setObjectName(u"qualityBox") @@ -582,9 +582,9 @@ class Ui_mainWindow(object): #endif // QT_CONFIG(tooltip) self.outputSplit.setText(QCoreApplication.translate("mainWindow", u"Output split", None)) #if QT_CONFIG(tooltip) - self.comicinfoTitleBox.setToolTip(QCoreApplication.translate("mainWindow", u"Write Title from ComicInfo.xml", None)) + self.metadataTitleBox.setToolTip(QCoreApplication.translate("mainWindow", u"

Write Title from ComicInfo.xml or other embedded metadata.

", None)) #endif // QT_CONFIG(tooltip) - self.comicinfoTitleBox.setText(QCoreApplication.translate("mainWindow", u"ComicInfo Title", None)) + self.metadataTitleBox.setText(QCoreApplication.translate("mainWindow", u"Metadata Title", None)) #if QT_CONFIG(tooltip) self.qualityBox.setToolTip(QCoreApplication.translate("mainWindow", u"

Unchecked - 4 panels
Zoom each corner separately.

Indeterminate - 2 panels
Zoom only the top and bottom of the page.

Checked - 4 high-quality panels
Zoom each corner separately. Try to increase the quality of magnification. Check wiki for more details.

", None)) #endif // QT_CONFIG(tooltip) diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 694f0b1..4b55f04 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -945,7 +945,7 @@ def getComicInfo(path, originalpath): except Exception: os.remove(xmlPath) return - if options.comicinfotitle: + if options.metadatatitle: options.title = xml.data['Title'] elif defaultTitle: if xml.data['Series']: @@ -1270,8 +1270,8 @@ def makeParser(): help="Output generated file to specified directory or file") output_options.add_argument("-t", "--title", action="store", dest="title", default="defaulttitle", help="Comic title [Default=filename or directory name]") - output_options.add_argument("--comicinfotitle", action="store_true", dest="comicinfotitle", default=False, - help="Write Title from ComicInfo.xml") + output_options.add_argument("--metadatatitle", action="store_true", dest="metadatatitle", default=False, + help="Write Title from ComicInfo.xml or other embedded metadata") output_options.add_argument("-a", "--author", action="store", dest="author", default="defaultauthor", help="Author name [Default=KCC]") output_options.add_argument("-f", "--format", action="store", dest="format", default="Auto",