mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
EPUB/MOBI Catalogs: Increase the maximum thumbnail size to 3 inches from 2 inches
This commit is contained in:
parent
5101ca89de
commit
4669ca7d8b
@ -726,7 +726,7 @@ The default pattern \[.+\]|\+ excludes tags of the form [tag], e.g., [Test book]
|
|||||||
<double>1.000000000000000</double>
|
<double>1.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<double>5.000000000000000</double>
|
<double>3.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="singleStep">
|
<property name="singleStep">
|
||||||
<double>0.100000000000000</double>
|
<double>0.100000000000000</double>
|
||||||
@ -771,7 +771,7 @@ The default pattern \[.+\]|\+ excludes tags of the form [tag], e.g., [Test book]
|
|||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
<buttongroups>
|
<buttongroups>
|
||||||
<buttongroup name="cover_options_bg"/>
|
|
||||||
<buttongroup name="merge_options_bg"/>
|
<buttongroup name="merge_options_bg"/>
|
||||||
|
<buttongroup name="cover_options_bg"/>
|
||||||
</buttongroups>
|
</buttongroups>
|
||||||
</ui>
|
</ui>
|
||||||
|
@ -33,7 +33,7 @@ class EPUB_MOBI(CatalogPlugin):
|
|||||||
file_types = {'azw3', 'epub', 'mobi'}
|
file_types = {'azw3', 'epub', 'mobi'}
|
||||||
|
|
||||||
THUMB_SMALLEST = "1.0"
|
THUMB_SMALLEST = "1.0"
|
||||||
THUMB_LARGEST = "2.0"
|
THUMB_LARGEST = "3.0"
|
||||||
|
|
||||||
cli_options = [Option('--catalog-title', # {{{
|
cli_options = [Option('--catalog-title', # {{{
|
||||||
default='My Books',
|
default='My Books',
|
||||||
@ -349,7 +349,7 @@ class EPUB_MOBI(CatalogPlugin):
|
|||||||
log.warning("coercing thumb_width from '%s' to '%s'" % (opts.thumb_width, self.THUMB_LARGEST))
|
log.warning("coercing thumb_width from '%s' to '%s'" % (opts.thumb_width, self.THUMB_LARGEST))
|
||||||
opts.thumb_width = self.THUMB_LARGEST
|
opts.thumb_width = self.THUMB_LARGEST
|
||||||
opts.thumb_width = "%.2f" % float(opts.thumb_width)
|
opts.thumb_width = "%.2f" % float(opts.thumb_width)
|
||||||
except:
|
except Exception:
|
||||||
log.error("coercing thumb_width from '%s' to '%s'" % (opts.thumb_width, self.THUMB_SMALLEST))
|
log.error("coercing thumb_width from '%s' to '%s'" % (opts.thumb_width, self.THUMB_SMALLEST))
|
||||||
opts.thumb_width = "1.0"
|
opts.thumb_width = "1.0"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user