View Single Post
Old 09-04-2020, 07:00 PM   #296
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
Thanks for your response.

My version of KOReader only scans the internal storage, not the SD card (which is where my metadata.calibre is located). Is there a way to get KOReader to scan the SD card?
It will scan the primary partition (normally the internal storage but can be changed in android settings). Outside the primary partition the app has no granted permissions for read&write and the behaviour will change between devices.

Normally what happens is:

1. the internal partition is mounted in /storage/emulated/0
2. the SD card is mounted in /storage/emulated/UUID
3. the app cannot read /storage/emulated

My suggestion would be to format the sdcard as the primary storage partition, but there're a few cases when that's not possible (ie: you want to use the sd card in other devices). In these cases you can skip the scan and write the file manually, using the path that contains "metadata.calibre" and "driveinfo.calibre". That file will stay until you do another scan.

The workaround should work on most android devices (sd is readable) but has some limitations (sd is not writable).
pazos is offline   Reply With Quote