View Single Post
Old 08-16-2014, 09:02 AM   #1490
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by WS64 View Post
To 1, I have to think of something.
Right now the automatic search will stop after it found the first library. And I for sure don't want it to search through my whole file system, I have too many books on it, this takes too long...
You can of course select a different library in the "set defaults" menu, but right now you have to manually select it. We already have a file chooser somewhere in the Koreader code, I'll think of something.

To 2, this might be a problem if your search brings back too many results, but I am not sure. And this gets more complicated, if I sort them you probably also want to define some sort criteria. Again, I have to think about something here.

To 3, yes, this will be harder to implement, but I thought about this too. Not only for series, same goes for tags.

To 4, SEARCH_LIBRARYPATH would make sense, yes. I guess I'll do that...
The nil values are a problem, there is another in defaults.lua right now. For the library this actually is no problem anymore, in one of the last releases I changed the behaviour: If you have a nil value Koreader will search for the file and will enter it into the default list (but it will not automatically save it!). If it does not find one you actually don't have one, then there would be no reason to change the value from nil to something else. And if it finds one you can change it back to another one in case you have more, see 1.

But the whole search/default settings are brand new and I still change things there all the time!
As I understand it calibre's "Send to Device" has only two "devices", for the Kobo; one for the "Main" device and one for an "A drive" SD card. It looks to me that calibre will put a "calibre.metadata" in the root of the devices and create subfolders where it puts the actual author folders with the books inside.

So, there should be only the two places to find that file(s). It appears that you can use a template to tell calibre where you want the book files stored, I am guessing but it seems likely that that would not change where the calibre.metadata file is placed.

Some of the search results are determined by the wording of the search request. Using two letters, or half a word will give you much broader results than using a whole word that is specific to the results you are looking for.

Being able to use "Regular Expressions" would be great but would be overkill for most ebook libraries.

Luck;
Ken

Last edited by Ken Maltby; 08-16-2014 at 09:13 AM.
Ken Maltby is offline   Reply With Quote