View Single Post
Old 09-05-2020, 08:48 AM   #300
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by wanderson View Post
This sounds like a misfeature, at least. Why can't I just point KOReader to the metadata? I don't need it to scan since I already know where it it.
If your question is: why can't I just point to the metadata using the UI? the answer is because nobody implemented this. Patches welcome.

If your question is: how could I just point to the metadata? the answer is in my first answer: you need to do it by hand.

Create a file called "calibre-libraries.lua" with the content

Code:
return {
    ["/path/to/calibre/dir/"] = true
}
and place it in koreader/cache. It will stay as is and will survive updates but you'll need to do the trick again if you perform another scan or clear cache from developers option.

About android being a stupid platform: I agree, the lack of way to programatically retrieve the path of the sdcard is BS and forcing users to use SAF instead of the filesystem API is a PITA.
pazos is offline   Reply With Quote