![]() |
#16 |
Member
![]() ![]() ![]() Posts: 19
Karma: 258
Join Date: Feb 2011
Device: evo
|
@kiwidude - The Quality check plugin still shows as 1.1 in my preferences (and the plugin updater). The new functionality is there, but the version number's wrong.
|
![]() |
![]() |
![]() |
#17 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,667
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Igladen - thanks for pointing that out. I forgot to bump it. I've put the correct zip on the first post now, so just install again.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Member
![]() Posts: 18
Karma: 46
Join Date: Dec 2008
Location: Ottawa, ON, Canada
Device: Kobo Aura
|
@kiwidude - Thanks for all the great plugins! I use just about all of them regularly, and truly appreciate all the effort you put into them.
I have a suggestion for another quality check option that I (and hopefully others) would find useful. I always do an ePub to ePub conversion on my books, primarily to adjust the fonts and to insert the metadata page (i.e. book jacket). I would be useful to be able to check for the existence of the metadata page to determine whether I have missed converting any books. |
![]() |
![]() |
![]() |
#19 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,667
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Hi dasimer, glad you like the plugins, always love getting feedback.
That sounds an interesting idea. Right now I know absolutely zero about the internals of an ePUB in terms of detecting a Calibre jacket but I'm sure if I looked into it or asked in the dev forum someone could give me a pointer. I know how to get the EPUB content (having done that for the Extract ISBN plugin), what I don't know is how to use that set of internal EPUB files to identify a jacket being amongst them. Perhaps there is a simple regex I can apply or similar. If anyone throws the answer at me I will add this sooner, otherwise I will put it on the list for a future release. I'm going to be releasing a new version of nearly every plugin this weekend anyway to support Kovid's plugin API changes coming in 0.7.53, so if anyone has any further details on this or other ideas they would like added to Quality Check this week would be as good a time as any to see them happen... |
![]() |
![]() |
![]() |
#20 |
Member
![]() Posts: 10
Karma: 10
Join Date: Mar 2011
Device: nook color
|
really great plugin! The new function just saved me so much time. Thanks!
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,667
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@jackie_w - thx for the pointers. I did a search of the code using some of your terms and found the Calibre code in here:
src\calibre\ebooks\oeb\transforms\jacket.py Looks like it uses an XPATH expression to find some meta in the spine, so I should be able to use the same approach. I will include it in the next release. |
![]() |
![]() |
![]() |
#23 |
Member
![]() Posts: 18
Karma: 46
Join Date: Dec 2008
Location: Ottawa, ON, Canada
Device: Kobo Aura
|
@kiwidude,
Thanks for considering the book jacket check. Since you asked for other suggestions, I might as well go to town and suggest that if you found the book jacket, you could also check for metadata mismatches between the jacket and the library. ... or am I just pushing my luck, now? ![]() |
![]() |
![]() |
![]() |
#24 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,667
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@dasimer - haha, if you don't ask you never know.
![]() I will take a look at it when I look into the jacket stuff to see how easy it is to do that. |
![]() |
![]() |
![]() |
#25 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
on Device: Stray OPF find and Eliminater
For whatever reason
![]() Stray OPF files get left behind when their book file is (re)moved from the device folders. My current work flow is to plod through hundreds of folders, spot and remove. In all Valid cases, there is a book format with the exact same base filename (and the date-time stamp is within a minute) located within the same folder. (Probably applies only to devices that appear/used as folders) |
![]() |
![]() |
![]() |
#26 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
![]() |
![]() |
![]() |
#27 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() ![]() My Astake ignore the presence, so Delete from the device is one source) There seems to be some Calibre process that allows me to create more orphans (I suspect it is 'Delete selected books (library view) from device'. No hard eveidnce.) |
|
![]() |
![]() |
![]() |
#28 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,667
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@theducks - ok, I think I have replicated what you are doing. If I understand correctly you are using the "Save to disc" function to put your books in a folder, because you want the metadata opf file to be there. But you are using the "Connect to folder" function to view what is in that folder, and then using the "Remove matching books from device" feature to delete books from that folder you don't want.
When I do those steps, it does indeed only delete the book format and leave behind a folder containing the .opf file, and the cover. So I guess the first question is whether this is a bug that Kovid wants to do something about - you could open a ticket and ask I guess. I would presume that you may want two things to happen: (1) when the book gets deleted its opf file (and cover?) get deleted too, and (2) it deletes the folder? If Kovid doesn't want to change this behaviour, then it would be an easy enough addition to the Quality Check plugin for something like "Clean orphaned folders" which given a root directory looks for folders that only contain .opf/jpg files and deletes them. |
![]() |
![]() |
![]() |
#29 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I connect my device and use 'Save to Disk' (device SD card in my case) with a big-ish save template the Chaley helped with ![]() If I notice the message in the On Device column, that there are 2 copies (the book ID# is the same, but a variation in the filename caused the 'dup'), I right click the title: delete selected from device. I think this is a WAD , not a bug . BTW this is not a orphaned folder on the device (but it could become one after a cleaning. so that would be another ![]() ![]() My normal, is the folder contains All books in the series (or Author for NoSeries) with their OPF (my device navigates by folders, and shows valid, viewable formats, so I eliminated a folder) |
|
![]() |
![]() |
![]() |
#30 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,667
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
As agreed with theducks I have moved the related posts above into this plugin thread from the Plugin Ideas one as I intend to support it in this plugin.
To directly respond to your latest post - indeed your workflow is very slightly different but I think effectively it is the same issue - Save to disk writes three files, remove from disk only removes one of them ![]() I had implemented a function in Quality Check which just pruned the (effectively empty) folders. I will extend that to also remove any orphaned .opf files. It already handles that if you only had one book per folder, but of course as per your template you can have multiple books in a folder and will just want the .opf files removed. I am curious though - you don't have a cover in there too. Is that because you have that particular save to disk option turned off? |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |