Quote:
Originally Posted by kovesp
Something that would be nice to have: an ordered list of multiple locations (or at least a primary and a secondary) for each book format. The first location is used if it exists, otherwise the second, and so on.
Why is this useful? Suppose we have, say for the PDF format:
- /storage/UsbDriveA/documents
- used when my kindle device is connected via an OTG cable
- /storage/ExtSdCard/PDFs
- used when the correct (i.e., one that has a /PDFs directory) MiicroSD is inserted into the device.
- /sdcard/ezPDFReader/bookdata/library
- used otherwise (happens to be the default location for ezPDFReader).
|
First note: CC does not support directly accessing OTG storage. Exception: if the storage is "mounted" (somehow, often requires root) in the file system so any app can see it.
As for the list of possible storage locations for a format (a book in PDF, EPUB, or some other form): when CC fetches a book via one of the connections it stores that book in the location specified for the format of that book. Are you suggesting that the book might exist in more than one location? Would the locations have different versions of the file? Or alternatively, are you suggesting that some files of a given format are stored in location A and others are stored in location B but never both A and B? If the latter, what is supposed to happen if a format is in location A but location A is not available? What happens when the book is deleted from CC and the "right" storage is not available?
My "feeling" is that you want the CC database to contain a lot of books where the book files are stored in different removable storage locations. For example, you might have "fiction" on SD card A and have "academic" papers on SD card B. If SD card A is inserted then CC can launch reader apps on "fiction", but launching the app it will fail for "academic". If SD card B is inserted then the inverse happens; CC can launch reader apps for "academic" but not "fiction". Does this approximate what you want to do? If so, why do you want to do this? Do you have more to store than can fit on a single SD card?
FWIW: if the above is a reasonable approximation of what you want then you can it today. Set CC's storage folder to the SD card, then be sure that the "right" SD card is inserted when you download books to CC. One problem: CC doesn't bother to verify that the format actually exists before launching the reader app, an oversight I should fix. Another problem: the "Books with missing files" could do rather severe damage to the database if the "wrong" SD card (or no SD card) is inserted.