12-08-2020, 02:53 PM | #16 |
Wizard
Posts: 1,615
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
A proof of concept metadata search shouldn't be too hard to whip up, on the basis of some simple stuff along these lines:
Code:
SELECT * FROM bookinfo WHERE filename REGEXP 'README.*' Also see https://github.com/koreader/koreader/issues/6922 Edit: GLOB is supported out of the box, forget REGEXP. Last edited by Frenzie; 12-08-2020 at 03:19 PM. |
12-08-2020, 03:58 PM | #17 | |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
Quote:
In KoReader, the "extract and cache book information" produces all the metadata necessary for a useful search function, and it's odd the metadata is unavailable for search after extracting it, only for displaying the files in a list. For a useful search function, a database with the book title, description, author would already be enough. No need to keep that up to date all the time, only when a file is replaced. Some kind of "speed up book information database" function could help delete orphaned metadata, for instance, to remove the metadata of those files that no longer exist on the device. Last edited by mst; 12-08-2020 at 04:34 PM. |
|
Advert | |
|
12-08-2020, 03:59 PM | #18 | |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
Quote:
Caching just the full book title, author, and description would suffice and speed up the metadata gathering process. Last edited by mst; 12-08-2020 at 04:35 PM. |
|
12-08-2020, 04:54 PM | #19 | |
Wizard
Posts: 1,615
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
What doesn't exist yet is a GUI to facilitate queries like in the attached screenshot. |
|
12-09-2020, 02:13 AM | #20 | |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
Quote:
Now, editing the metadata directly on the Kobo is probably more involved and another story. Last edited by mst; 12-09-2020 at 02:54 AM. |
|
Advert | |
|
12-09-2020, 05:56 AM | #21 | |
Evangelist
Posts: 440
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
Quote:
I really don't understand people who like to wait and wait and wait... |
|
12-09-2020, 07:07 AM | #22 |
Zealot
Posts: 122
Karma: 43580
Join Date: Apr 2016
Device: KPW3, Kobo Clara HD, Onyx Boox Nova 2
|
You can use this script to organize your books into directories based on tags https://pastebin.com/tPGTcjYc. You need to modify *hierarchy* variable to fit your liking, create new "Column build from columns" in calibre. Enter the resulting "program" from the script into the "Template" field (of the custom column). When you connect your device to calibre click "Configure this device" -> Save Template -> {#lookup name} of your column.
You can see more on how it works and what it does in. https://manual.calibre-ebook.com/tem...custom-columns https://manual.calibre-ebook.com/tem...l-program-mode |
12-09-2020, 10:01 AM | #23 | |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
Quote:
Of course I prefer KoReader but have to switch into Nickel once in a while because of the missing metadata search functionality in KoReader, so that scan and wait time is a necessary evil, unfortunately. Last edited by mst; 12-09-2020 at 10:07 AM. |
|
12-10-2020, 06:04 AM | #24 |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
Calibre bookshelves on KoReader
Apologies in advance, it seems I'm missing something, but I still have trouble finding my epubs in KoReader on my Kobo Clara HD by Calibre bookshelves.
Could a patient soul walk me through the process of putting books from Calibre to my device so I can browse them by bookshelves? Would greatly appreciate this. |
12-10-2020, 06:50 AM | #25 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
The calibre plugin in KO has 3 options:
- Find books - Browse series - Browse tags Find books will browse them by title, authors or paths based on your configuration in the plugin. Browse tags / series will do the same with their respective calibre columns. In all cases you can introduce a search value to grep the results or leave it empty to get all the results for a given search. Some examples: - Find books: "" -> All books - Find books: "pattern" -> Books which pattern in title, authors or path. - Browse series: "" -> All series - Browse series: "pattern" -> Series that match the pattern - Browse tags: "" -> All tags - Browse tags: "pattern" -> Tags that match the pattern There's no hidden behaviour. Just these three options. |
12-10-2020, 07:29 AM | #26 |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
Thank you, Pazos. It's still unclear, though.
To put a book on the device, I connect it via USB and then click "send to device" in Calibre. When I do this with only one book, I see a folder in the root of the device with the author's name and the epub file in it. Each book gets its own folder in the root of the device. Still, I can't browse tags properly. How should I "configure the device" in Calibre so that the tags transfer to the device? How should I set up "collections" or bookshelves so I can browse by bookshelves I created in Calibre? What can I do to only see the tags and bookshelves that I created in Calibre? Because still, I see a wild jumble of tags when I try to browse by tags on KoReader. Last edited by mst; 12-10-2020 at 07:37 AM. |
12-10-2020, 07:54 AM | #27 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Fix your calibre tags first. Choose a single book. Adds the tags you want in the calibre TAGS column. Send the book to the device.
Go to find by books, insert the name of the book. Check that you can see the book. Long press the book: check that the info displayed by the book is the same as you see in calibre. Good, now repeat for your entire library. Remember only a few calibre metadata is used. No custom columns. Last edited by pazos; 12-10-2020 at 08:19 AM. |
12-10-2020, 08:27 AM | #28 |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
Thanks a lot, Pazos! I see the tags now, and the other tags have disappeared. It's a miracle!
The next step are the bookshelves, because they are the main organizing principle in my library on Calibre. I have bookshelves like "Fiction", "Biographies", "History", etc. I see you just created them as tags. I created them as series now, so they should be available on the device. However, I now see the tags, but not the series, even though I enabled "set series information" in the device configuration. Do I need to refresh some cache before I see the series information also? Really appreciate your help and patience. Last edited by mst; 12-10-2020 at 09:32 AM. |
12-10-2020, 09:40 AM | #29 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
"Bookshelves" are a Nickel concept. There's no direct equivalent.
On the other hand, you must be creating your Bookshelves out of *something* in Calibre, and that something is usually another piece of metadata than we *can* work with. Since you mentioned tags, that works, as long as you're disciplined in how your Calibre library is tagged, so you're not drowned in a sea of useless tags. (e.g., back when I actually bothered about Collections (the Kindle's equivalent of Nickel bookshelves), I based them on a set of very specific tags, which where prefixed with a specific character. I still keep those to this day to group books by genre, so I have tags like +Fantasy, +Mystery, etc. And those pop up at the top of our "Browse by tags" results thanks to the magic of alphabetical sorting ). I've never actually used Bookshelves on Kobo though, because, in practice, I find that they just bog down both Nickel & Kindle, and a plain Search by other metadata is just much faster. (Which means I can't tell whether my "tags with a prefix" idea works with the Kobo driver. It worked on Kindle because the Kindle Collections plugin was very specifically engineered for that kind of trickery). Last edited by NiLuJe; 12-10-2020 at 09:43 AM. |
12-10-2020, 09:44 AM | #30 |
Connoisseur
Posts: 73
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
|
The +XYZ tags are a great idea, many thanks!
I made a custom category in Calibre that I called "bookshelves" and then forget that it was custom. I am converting this to series now and see how that works. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amazon metadata search not finding books | GreywolfofKansas | Calibre | 4 | 03-03-2019 07:02 PM |
Issue with finding audiobook metadata on Amazon | angelyne | Calibre | 6 | 10-21-2018 08:52 AM |
Problems finding Comic Book metadata in Calibre | American_Desi | Calibre | 50 | 04-10-2018 08:25 AM |
Not finding Metadata | spanishguy | Library Management | 11 | 03-16-2011 07:24 PM |
Help finding Metadata Names and Values? | Sabardeyn | ePub | 3 | 04-02-2010 11:16 PM |