05-14-2012, 10:57 AM | #421 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Thx folks for the support - sounds like we have a winner.
@theducks - the existing checks in this plugin define a "calibre cover" based on certain metadata being configured in the opf manifest. It has nothing to do with the actual source of the image, just purely about whether a calibre conversion has been done on that epub at some point resulting in the cover being identifiable in a specific way. The new "Check replaceable cover" option changes this logic. Instead it is all about whether the cover image is defined in the epub in such a way that calibre "could" replace it. It is being done in exactly the same way as the actual calibre code does when you choose save to disk/send to device. So it should take the guesswork out of the lottery that takes place when you don't know if your library cover will "stick" in the epub or not, regardless of whether you have converted that epub with calibre in the past. |
05-14-2012, 11:39 AM | #422 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
@Kiwidude
for the info |
Advert | |
|
05-14-2012, 05:04 PM | #423 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.8.1 Released
Changes in this release:
|
05-15-2012, 04:36 PM | #424 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I'm guessing that one of them is absence of <meta name="cover" content="..." /> in the opf file. Also is it a series of 'and' conditions or 'or' conditions. |
|
05-15-2012, 05:00 PM | #425 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
The reason why an epub's cover is not replaceable will be displayed in the log. It will usually be one of the following three messages:
No supported meta tag or non-xml cover A cover must have a <meta name="cover" content="xxx/> defined in the opf manifest. Even if this tag is defined, the manifest item that it is linked to must be an image as defined by the media-type of the manifest item. It cannot be an xml file as some svg covers are. DRM encrypted cover If an epub has DRM encryption, and the encryption.xml file indicates that the encryption also applies to the cover image, then it cannot be replaced. Invalid cover image extension Looking at the filename extension of the image file itself, does it end in .jpg, .jpeg or .png, as these are the only image formats calibre's logic supports replacing. In the case of the "Check non-replaceable covers", failing any of these conditions means the ePub will appear in the results. In the case of "Check replaceable covers", it must pass all of these conditions to appear in the results. |
Advert | |
|
05-15-2012, 05:11 PM | #426 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
OK, thanks, I think I understand that. The few epubs I tried had the first error message.
|
05-16-2012, 10:00 AM | #427 |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Strange sorting issue
@kiwidude: I am running the "Check broken images links" option and something seems to have changed in the latest version.
Previously, the log - which I save to a text file - used to be sorted in the same way I had sorted my library: by Authors, by Titles, and so on. Now the results are not sorted at all. I'm using Library as scope. Many thanks |
05-16-2012, 10:48 AM | #428 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@PaulFiera - No changes have been made to that logic in forever. There is no ordering applied to either the processing or the displaying of the results by this plugin.
|
05-16-2012, 10:53 AM | #429 | |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
I may have found the reason. I had excluded three books from this check because the referenced images are in svg format - "Images/page0129_0000.svg" - and even though the images exist in this format and are correctly displayed, they were flagged as broken links. I removed the three books from the exclusions and now the sorting works as before. |
|
05-16-2012, 11:32 AM | #430 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Ahhhh... now the penny drops. Yes I do some set operations if you have exclusions and that will "fiddle with" the ordering. I don't explicitly specify an ordering in this plugin, but it seems that one circumstance will "break" any ordering that was applied. I will see if I can find a better way of doing that so that such ordering is preserved.
Whats the deal with the .svg links that had you excluding them, that sounds like a possible bug? Any chance you can PM me a link to one of the books (or email me - my address is in the code)? |
05-16-2012, 12:03 PM | #431 |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
PM sent
|
05-16-2012, 03:00 PM | #432 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.8.2 Released
Changes in this release:
|
05-17-2012, 02:28 AM | #433 |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Many thanks, kiwidude.
Working perfectly now |
05-17-2012, 11:27 AM | #434 | |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
What does this really mean? I've edited most of these books and the covers look OK to me. They are the covers I've chosen editing the metadata. |
|
05-17-2012, 11:33 AM | #435 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Those are the books that will GET the latest metadata cover when sent to a device. (you seem to have about 120 that won't) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |