contrib icon indicating copy to clipboard operation
contrib copied to clipboard

New optional sdr location

Open mergen3107 opened this issue 2 years ago • 7 comments

Hi @Hzj-jie ,

There is an ongoing development of the new centralized sdr folder location: https://github.com/koreader/koreader/pull/10132

Just letting you know, in case you would like to update your FindHistory plugin.

mergen3107 avatar Feb 20 '23 23:02 mergen3107

Sorry, I totally missed this thread. If my understanding is correct, the new location is configurable. Does it mean setting the home as koreader/ would mitigate the change?

Hzj-jie avatar May 24 '24 20:05 Hzj-jie

Pinging @hius07 (since I don't know if you follow this repo)

Frenzie avatar May 24 '24 20:05 Frenzie

Most probably koreeader/docsettings/ , but I don't think it should be set as Home. Home is where all the books are available to browse and open, for example, in Books/

mergen3107 avatar May 24 '24 20:05 mergen3107

Yes, I am trying to understand if the functionality is totally broken or if there is a way to workaround it. And by default, the locations are still side-by-side with books, right?

Hzj-jie avatar May 24 '24 20:05 Hzj-jie

The default hasn't changed.

I imagine you could work around it (but I'm not entirely sure what it is :-) by reading the relevant location setting or something.

Frenzie avatar May 24 '24 22:05 Frenzie

We can choose between 3 locations of books metadata: book folder (default), koreader/docsettings, koreader/hashdocsettings. Changing the setting doesn't change the location of previously opened books. This plugin cannot retrieve the book path from two new locations.

hius07 avatar May 25 '24 03:05 hius07

Now the path to the book is stored in its sdr file as doc_path.

hius07 avatar May 25 '24 03:05 hius07