Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2021, 08:44 AM   #1
Incanus
Incanus
Incanus doesn't litterIncanus doesn't litterIncanus doesn't litter
 
Incanus's Avatar
 
Posts: 275
Karma: 210
Join Date: Oct 2017
Location: Chile
Device: Boyue Likebook T80D
KOReader Calibre Search Adjustment

When I try KOReader Calibre Search to use tags or series metadata, the search button prompts the use of the internal memory as search drive/directory.

However, my Calibre library is on a (card drive)\Calibre directory on my external SD card.

How can I change that setting so it will search on my external SD card?

Awaiting your kind reply,

Enviado desde mi SM-G950F mediante Tapatalk
Incanus is offline   Reply With Quote
Old 02-14-2021, 02:08 PM   #2
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,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by Incanus View Post
When I try KOReader Calibre Search to use tags or series metadata, the search button prompts the use of the internal memory as search drive/directory.

However, my Calibre library is on a (card drive)\Calibre directory on my external SD card.

How can I change that setting so it will search on my external SD card?

Awaiting your kind reply,

Enviado desde mi SM-G950F mediante Tapatalk
It is already supported. I added it in mid-december. See https://github.com/koreader/koreader/pull/6996.

Please use a recent version (v2021.01.1 or nightly) and rescan your calibre libraries. It should find libraries in both internal partiton and sdcard.
pazos is offline   Reply With Quote
Advert
Old 02-14-2021, 02:11 PM   #3
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,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Now, if you want to use the calibre wireless client, the solution won't work for you. Apps on android cannot use the filesystem on the external sdcard

And that's why when you set a new wireless inbox you will always be prompted to place it in the internal partition.

Blame Google, not me
pazos is offline   Reply With Quote
Old 02-14-2021, 04:19 PM   #4
Incanus
Incanus
Incanus doesn't litterIncanus doesn't litterIncanus doesn't litter
 
Incanus's Avatar
 
Posts: 275
Karma: 210
Join Date: Oct 2017
Location: Chile
Device: Boyue Likebook T80D
The thing is, with Calibre Companion I'm storing my /Calibre library on the SD Card without any problems.

KOReader reads e-books from it: it also browse the files on it (if you click the cabinet icon): the (newly installed) 2021.01.01 android installed version does (I'm using a Boyue Likebook Mars on Android 8.1.0) and so the previous versions did too.

However, when searching, the new 2021.01.01 version still won't find the (sd card)/Calibre library.

Am I missing something here?

Thanks in advance,

Enviado desde mi SM-G950F mediante Tapatalk
Incanus is offline   Reply With Quote
Old 02-14-2021, 04:48 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Read-only vs. read+write access, and a giant pile of unmaintainable hacks.

----

As far as the Calibre metadata search goes, when you said "searching", did you mean an actual search directly, or the "scan for a Calibre library" in the Plugin's settings, as @pazos mentioned?

Last edited by NiLuJe; 02-14-2021 at 04:51 PM.
NiLuJe is offline   Reply With Quote
Advert
Old 02-14-2021, 04:57 PM   #6
Incanus
Incanus
Incanus doesn't litterIncanus doesn't litterIncanus doesn't litter
 
Incanus's Avatar
 
Posts: 275
Karma: 210
Join Date: Oct 2017
Location: Chile
Device: Boyue Likebook T80D
Both (I think):

Calibre -> Search settings -> manage libraries

and

Find a book via calibre metadata

If KOReader browses the (sd card)/Calibre files and also reads the e-books therein, why the above won't work?

Curious,

Enviado desde mi SM-G950F mediante Tapatalk

Last edited by Incanus; 02-14-2021 at 06:55 PM.
Incanus is offline   Reply With Quote
Old 02-14-2021, 06:57 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Is there actually a Calibre metadata file on the SD card "Library"?
NiLuJe is offline   Reply With Quote
Old 02-14-2021, 07:21 PM   #8
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,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Ah! You want to scan CC library? In that case a big NOPE. CC doesn't use metadata.calibre or deviceinfo.calibre. There's no way for KOReader (or any other program) to know that these books belong to a calibre library.

To be clear: that's the status on android for this plugin

Works from external sdcard
  1. Scan calibre libraries created with calibre (with folder driver, MTP or device drivers)

Works from internal sdcard and/or phone partition
  1. Scan calibre libraries created with calibre (with folder driver, MTP or device drivers)
  2. Send books and manage the library wirelessly from calibre.

Will never work
  1. Repurpose metadata from formats other than calibre's default json scheme

Quote:
Originally Posted by Incanus View Post
The thing is, with Calibre Companion I'm storing my /Calibre library on the SD Card without any problems.
Yes, apps can write documents on the sdcard using the Storage Access Framework. Sadly granting permissions to write on a specific directory won't give you access to the filesystem. And KOReader relies a lot on filesystem access. In fact it uses the same code in all the platforms it supports.

Writting glue code that emulates filesystem access on top of crappy google stuff is, IMHO, out of the scope of the program.

Of course if somebody comes with a sane patch we can merge it but I have the feeling that it is easier to write a new program from scratch for android using the same libraries that KOReader uses than proxy'ing the crappy storage framework to behave like a proper filesystem.
pazos is offline   Reply With Quote
Old 02-14-2021, 07:46 PM   #9
Incanus
Incanus
Incanus doesn't litterIncanus doesn't litterIncanus doesn't litter
 
Incanus's Avatar
 
Posts: 275
Karma: 210
Join Date: Oct 2017
Location: Chile
Device: Boyue Likebook T80D
Well, this means that I can keep using CC for search & sort my Calibre library and still enjoy KOReader as a good reader.

If it ever comes to the point where CC is no longer a library management option, I now know how to get such functionality from KOReader.

That's good enough for me.

Thank you all for your prompt replies and most valuable information!

Kind regards,

Enviado desde mi SM-G950F mediante Tapatalk
Incanus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Calibre and Koreader fpn KOReader 3 08-20-2020 10:49 AM
Koreader et Calibre Hakujou Software 7 07-12-2019 03:18 PM
Koreader Kobo OPDS Search JackED42 KOReader 1 09-24-2016 04:18 PM
KoReader OPDS Search JackED42 Kobo Developer's Corner 1 09-23-2016 10:31 PM
Calibre Shelves in KOReader bunglegrind KOReader 2 03-29-2016 09:16 AM


All times are GMT -4. The time now is 03:42 PM.


MobileRead.com is a privately owned, operated and funded community.