Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2012, 09:57 AM   #391
paulfiera
Addict
paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.
 
paulfiera's Avatar
 
Posts: 387
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
Quote:
Originally Posted by kiwidude View Post
Something like this perhaps... ?
It coudn't get better than that !
paulfiera is offline   Reply With Quote
Old 05-08-2012, 10:18 AM   #392
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I ran the QC for xpgt links.

After it was done the search bar said:
marked:epub_inline_font_face
instead of: inline_xpgt_links
theducks is offline   Reply With Quote
Old 05-08-2012, 10:34 AM   #393
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Beta for next version

Here's a version for you to play with containing the new "Search ePub" feature. Let me know how it goes... the search text is a regular expression, the last 10 are remembered.

Thx theDucks, thats a cosmetic issue but I've included the fix in this version.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_11_SearchEpub.png
Views:	284
Size:	13.7 KB
ID:	86201  

Last edited by kiwidude; 05-14-2012 at 01:48 PM.
kiwidude is offline   Reply With Quote
Old 05-08-2012, 10:56 AM   #394
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kiwidude View Post
Here's a version for you to play with containing the new "Search ePub" feature. Let me know how it goes... the search text is a regular expression, the last 10 are remembered.

Thx theDucks, thats a cosmetic issue but I've included the fix in this version.
Thanks, I had already fixed (hacked ) mine
theducks is offline   Reply With Quote
Old 05-08-2012, 03:37 PM   #395
Pierre Menard
Zealot
Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.Pierre Menard ought to be getting tired of karma fortunes by now.
 
Posts: 118
Karma: 712690
Join Date: Apr 2012
Device: Kobo Aura HD, Nook HD+, Nook Simple Touch
Quote:
Originally Posted by kiwidude View Post
Here's a version for you to play with containing the new "Search ePub" feature. Let me know how it goes
Fantastic, thanks! I do think I may have found an issue, though perhaps not specific to this search.

I went to search my most recently added books. I highlighted 25 books, set the search scope to "Selected book(s)," and searched for "sigil" with "OPF manifest" checked. I got the following error:
Quote:
calibre, version 0.8.50
ERROR: Unhandled exception: <b>NameError</b>:global name 'check_has_jacket' is not defined

Traceback (most recent call last):
File "calibre_plugins.quality_check.dialogs", line 49, in do_book_check
File "calibre_plugins.quality_check.check_epub", line 155, in evaluate_book
NameError: global name 'check_has_jacket' is not defined
Then I filtered my library by things added in the last day (yielding the same books as above, plus a few more), set a "restrict to" for those search results, changed the search scope to "Library," and re-ran the same thing. This time, no error.

Eventually I realized that one of the books was a mobi file (I don't usually have them, so I hadn't even thought to look). And I could run the plug-in search with "selected titles" on any individual title in the group except that one. I know the plug-in doesn't work on mobi files, but so far when I'd used it it would just ignore them. That doesn't seem to happen now with the "selected title(s)" option.
Pierre Menard is offline   Reply With Quote
Old 05-08-2012, 04:16 PM   #396
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@Pierre - yeah thats a simple copy/paste error thanks, will be fixed in the next version. You will get it any time you select a book which does not have an epub format (or the physical epub file is missing, being out of sync with your library). So stick to books with epubs (or set the search scope to be whole library) and you should be fine.

I'm in the process of adding a couple of MOBI checks - "Check missing EBOK cdetype" and "Check missing ASIN identifier". I'll put a new beta including that up shortly...
kiwidude is offline   Reply With Quote
Old 05-08-2012, 05:32 PM   #397
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Beta including Check MOBI stuff

Ok, here is a new beta version to replace the one I posted earlier. This has my first attempt at the checking of MOBI files for EBOK and ASIN, which was requested recently on this thread by CRussel, for users who have a Kindle Fire.

I don't have such a device myself so I have had to guess at a few things in conjunction with Kovid's tips in his post, but I *think* it is right. Hopefully someone (CRussel?) can give it a whirl and let me know if the results you see gel with what you know about books that do and don't place correctly on your Fire.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_3_Check_mobi.png
Views:	271
Size:	16.8 KB
ID:	86214  

Last edited by kiwidude; 05-11-2012 at 06:23 AM. Reason: Remove attachment as later version in thread
kiwidude is offline   Reply With Quote
Old 05-08-2012, 09:38 PM   #398
ElizabethN
reader, ebook junkie
ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.
 
ElizabethN's Avatar
 
Posts: 113
Karma: 436806
Join Date: Dec 2007
Location: western nebraska
Device: in use kindle oasis 2nd and 3rd gen, kobo forma, boox poke5
Quote:
Originally Posted by kiwidude View Post
Ok, here is a new beta version to replace the one I posted earlier. This has my first attempt at the checking of MOBI files for EBOK and ASIN, which was requested recently on this thread by CRussel, for users who have a Kindle Fire.

I don't have such a device myself so I have had to guess at a few things in conjunction with Kovid's tips in his post, but I *think* it is right. Hopefully someone (CRussel?) can give it a whirl and let me know if the results you see gel with what you know about books that do and don't place correctly on your Fire.
Thank you! I'm currently using java mobi meta editor find & fix ebok/asin issues but having the ability to check from inside calibre would be great.

After much trial & error and examination with mobi meta editor one weekend, I found that I need the following to have non-amazon mobi files show up under books rather than documents on the fire...file must have Field 501 CDEContentType = EBOK and Field 113 ASIN = value, “fake” asin works, Field 504 ASIN not needed...so far field 504 only seems to matter if you want to "share" rather than "sync" files on kindle keyboard.

With calibre release 0.8.50, using the AZW3 (kf8) format with sharing unchecked to convert non-mobi files for the fire has so far resulted in files with EBOK in 501 & an "asin" in 113.

I still have many older mobis to look at before sending them to the kindle keyboard, so I'll try the beta version on some of those later tonight or tomorrow.

Thanks again!
ElizabethN is offline   Reply With Quote
Old 05-08-2012, 11:35 PM   #399
ElizabethN
reader, ebook junkie
ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.
 
ElizabethN's Avatar
 
Posts: 113
Karma: 436806
Join Date: Dec 2007
Location: western nebraska
Device: in use kindle oasis 2nd and 3rd gen, kobo forma, boox poke5
Beta works for me - now have a list of mobi files without cdetype and/or asin in the EXTH header that I can clean up before sending to a device.

I went through and validated accuracy by using mobi meta editor on several files, at approx 2000 files I didn't check all.

The 6 files that were showing on the fire in books but that didn't have EBOK and/or ASIN per the report turned out to be 4 books with manually edited EXTH headers and 2 that were from amazon.

this is the only unusual item on the log that was generated during the cdetype report - don't know why the search included one of my Goodread shelves.

Missing EBOK tag: GR currently-reading - calibre
cdetype: NWPR



Now I just need to re-read through the "open with" plugin to figure out if I can add mobi meta editor

https://www.mobileread.com/forums/sho...d.php?t=165729

to the customization list. Something for another day.

Thanks again.
ElizabethN is offline   Reply With Quote
Old 05-09-2012, 03:43 AM   #400
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
"GR currently-reading - calibre" is an ebook in your library, presumably a catalog of some kind? The author being calibre.

Did you find any books in your log that did not have EXTH headers at all (they show as a red error in the log results). I wasn't sure what to do about those (or what that means). Does a MOBI without an EXTH work on the Fire, or should I include it in the output results of the check as a file the user must do something about?
kiwidude is offline   Reply With Quote
Old 05-09-2012, 04:12 AM   #401
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by kiwidude View Post
Does a MOBI without an EXTH work on the Fire, or should I include it in the output results of the check as a file the user must do something about?
These must be very early MOBI, or perhaps even PalmDOC, ebooks. See Wiki: MOBI. I don't know if they will work on the Fire, but if so they almost certainly will show up as Docs rather than Books.

Thanks for the MOBI checks, I tested them but all my MOBIs passed both checks. This is the expected result, since they all show up ok on the Fire.
wallcraft is offline   Reply With Quote
Old 05-09-2012, 05:42 AM   #402
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Thx Wallcraft. Sounds like I should include them in the "missing" results then, which they are not currently.

Which brings me onto some more questions:
  1. Is there a need for separate ASIN and EBOK checks? What would people prefer - as it is now or a single check which had the details of what was missing in the log? I don't know what I would call a single check though. If I called it something device specific like "Check invalid for Kindle Fire" then it causes a headache when Amazon releases its next generation of devices...
  2. ElizabethN found an interesting case - catalogs generated by calibre. If you generate in MOBI, it sets the cdetag to be NWPR. What happens to these on a Kindle Fire? Is that desirable? Should I exclude books in your library with the "Catalogue" tag so they don't end up in the results, or should they be included?
  3. How are users going to "remedy" mobi files that need changing? Obviously a MOBI->MOBI conversion is one way, though potentially extreme. I see ElizabethN is mentioning a manual process of a third party tool. It seems to me that perhaps there could either be an addition to the "Fix" menu, or maybe even a "Modify MOBI" plugin. I am hesitant to suggest the latter because it opens up all sorts of cans of worms for the future (like people wanting to then be able to do similar things they can do with Modify ePub such as updating metadata, covers, smarten punctuation etc). That is way more than I want to think about (and since I always keep ePub and my MOBI files are converted from that master ePub I personally would never use it which makes me even less enthusiastic about the time spent on it). So "maybe" an entry on the Fix menu of this plugin is something I would consider... maybe...
  4. If automating such a "fix", replacing the cdetag with EBOK should be straightforward. But what about a missing asin? Where does that come from? Does the value matter?
kiwidude is offline   Reply With Quote
Old 05-09-2012, 01:02 PM   #403
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by kiwidude View Post
[*]Is there a need for separate ASIN and EBOK checks? What would people prefer - as it is now or a single check which had the details of what was missing in the log? I don't know what I would call a single check though. If I called it something device specific like "Check invalid for Kindle Fire" then it causes a headache when Amazon releases its next generation of devices...
I've just had a chance to play with this and personally I would like for them to stay separate but I have no problem with going along with the consensus of the masses.

I do have a question for you, is there a way to add an option of adding EBOK checks to ignore so that they do not repeatedly show up in the results as problems? For example, I have PDOC and EBSP types, they are correct as they are but they keep showing up as problem files.
nynaevelan is offline   Reply With Quote
Old 05-09-2012, 01:05 PM   #404
ElizabethN
reader, ebook junkie
ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.
 
ElizabethN's Avatar
 
Posts: 113
Karma: 436806
Join Date: Dec 2007
Location: western nebraska
Device: in use kindle oasis 2nd and 3rd gen, kobo forma, boox poke5
Quote:
Originally Posted by kiwidude View Post
"GR currently-reading - calibre" is an ebook in your library, presumably a catalog of some kind? The author being calibre.

Did you find any books in your log that did not have EXTH headers at all (they show as a red error in the log results). I wasn't sure what to do about those (or what that means). Does a MOBI without an EXTH work on the Fire, or should I include it in the output results of the check as a file the user must do something about?
oops - it was a calibre created catalog - so old that I had forgotten about it. Gone now.

only 1 book had no EXTH header, old file; original was prc (ironically fire shows files as .prc rather than .mobi in the fire book folder). for that book, transferring the mobi without conversion resulting in a document file on the fire, converting it (mobi-mobi) and sending the updated mobi to the fire resulted in a book file.

for someone who is using the check to figure out why a mobi file won't transfer to the fire as a book (or won't sync on a kindle keyboard), the plugin should show the file as one that needs fixing/updating or at least reviewing.
ElizabethN is offline   Reply With Quote
Old 05-09-2012, 01:34 PM   #405
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by nynaevelan View Post
I do have a question for you, is there a way to add an option of adding EBOK checks to ignore so that they do not repeatedly show up in the results as problems? For example, I have PDOC and EBSP types, they are correct as they are but they keep showing up as problem files.
So you are saying you have docs which are NOT of type EBOK, but you don't want to change them, right?

Just run the check, select the books you want to not see again and use the "Exclude from check..." option
kiwidude is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Search the Internet kiwidude Plugins 436 05-12-2025 09:02 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 29 04-02-2024 10:05 PM
[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


All times are GMT -4. The time now is 07:13 PM.


MobileRead.com is a privately owned, operated and funded community.