Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-02-2021, 05:41 AM   #1
Xwang
Connoisseur
Xwang began at the beginning.
 
Posts: 74
Karma: 10
Join Date: Sep 2012
Device: none
Change Linux appimage to store history data in the same way as the android app

Hi!
I've installed Koreader on my android tablet and on my linux pc with the appimage.
On both devices there is a copy of a Calibre library (about 80GBs).
I noted that the android app stores its configuration data into /sdcard/koreader/
while the linux one stores in ~/.config/koreader.
The two folders contains the same directories, but android stores history data (small .lua files for each book) in the /sdcard/koreader/history folder while linux one adds a subfolder named as the file and terminating with .sdr inside the Calibre library book subfolder.
Is it possible to config the linux app to store those files in the same way as the app does (inside ~/.config/koreader/history), instead?
Xwang is offline   Reply With Quote
Old 04-02-2021, 05:15 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: 803
Karma: 1357911
Join Date: Apr 2014
Device: BQ Cervantes 4
The behaviour is the same in all platforms.

If the storage is writable by the app each book has its own sidecar folder with metadata (hence .sdr). If the storage is readable the metadata is stored into a central folder. The path of the folder is platform specific.

If the question is: is it possible to store metadata in a central folder even if the storage is writable?. The answer is no without hacking the code.

I think there was an answer somewhere on github made by poire-z that points to a few code changes to make it happen but I cannot find it right now
pazos is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
reader store android app uk thomasn75 Sony Reader 0 07-05-2013 04:42 AM
$1 on Apple's App Store is 89¢ on Kindle and 23¢ on Android wizwor News 17 04-24-2012 01:07 AM
New app store for android powered e-readers markT4 Kobo Tablets 5 01-18-2012 01:37 PM
Android Android news stumbles upon not-yet-released Amazon Android App store sarah11918 enTourage Archive 7 03-22-2011 01:07 PM


All times are GMT -4. The time now is 12:26 AM.


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