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!
|