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

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-01-2018, 10:33 PM   #1
A|an
Junior Member
A|an began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2018
Device: none
[Android] Dragging Calibre Lirary folder onto SD card

Will Calibre Companion work if you simply drag the Calibre Library folder onto your device's SD card?

Last edited by A|an; 04-01-2018 at 10:47 PM.
A|an is offline   Reply With Quote
Old 04-02-2018, 04:51 AM   #2
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,724
Karma: 2655880
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by A|an View Post
Will Calibre Companion work if you simply drag the Calibre Library folder onto your device's SD card?
The CC Cloud Connection supports getting books from a locally-stored library. See our FAQ [Android] I have a copy of a calibre library on an SD card. Can CC use it?
chaley is offline   Reply With Quote
Advert
Old 05-09-2018, 08:13 PM   #3
ShaunBlake
Junior Member
ShaunBlake began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2018
Device: Nexus 6P; Windows 10
Quote:
Originally Posted by chaley View Post
The CC Cloud Connection supports getting books from a locally-stored library. See our FAQ [Android] I have a copy of a calibre library on an SD card. Can CC use it?
Tried that on Nexus 6P; CC couldn't see the folder. Does it require that the device be rooted?

(I've given up and copied the library to OneDrive though I'm unhappy; if somebody wants to snoop, I want them to kick MY door down.)
ShaunBlake is offline   Reply With Quote
Old 05-10-2018, 06:26 AM   #4
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,724
Karma: 2655880
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by ShaunBlake View Post
Tried that on Nexus 6P; CC couldn't see the folder. Does it require that the device be rooted?
No, rooting isn't necessary. CC uses the Android Storage Access Facility. When you "connect" to a "local library" using the cloud connection it opens an Android file browser. You then navigate to the folder containing the calibre metadata.db. See the attached screen captures.

Note: CC can use only storage that the Android file browser can see, which is typlcally internal memory and a "real" SD card. OTG-mounted drives aren't visible.
Attached Thumbnails
Click image for larger version

Name:	Clipboard05.jpg
Views:	81
Size:	53.4 KB
ID:	163906   Click image for larger version

Name:	Clipboard04.jpg
Views:	75
Size:	69.3 KB
ID:	163907  
chaley is offline   Reply With Quote
Old 05-10-2018, 04:10 PM   #5
crane3
Addict
crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.crane3 ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1977728
Join Date: Sep 2014
Location: Calif
Device: Fire hdx 8.9, Tab S2, Tab Pro 8.4, Aura ONE
How about doing the reverse, sort of. I may want to increase the size of the SD card to accommodate other things.

If I copy the CC lib from the sd to main memory, then remove & replace the SD with a larger size & copy the CC lib back to the SD card, will I need to do anything in CC?

IOW, is CC also looking for the SD card using the SD card "serial number id"? or do I just need to do the format/folder location again? as that probably be faster than reloading from CAlibre......
crane3 is offline   Reply With Quote
Advert
Old 05-10-2018, 04:25 PM   #6
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,724
Karma: 2655880
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by crane3 View Post
How about doing the reverse, sort of. I may want to increase the size of the SD card to accommodate other things.

If I copy the CC lib from the sd to main memory, then remove & replace the SD with a larger size & copy the CC lib back to the SD card, will I need to do anything in CC?
Almost certainly yes, you will need to do something in CC. The problem is that Android treats each SD card as a separate entity so changing cards is not transparent.

Fortunately, (probably) all you will need to do in CC is use CC's "Formats and folders" setting to point at the library copy on the new SD card. CC will (probably) see that the old library is no longer available and that new folder is a library, and will update itself without further ado.
Quote:
IOW, is CC also looking for the SD card using the SD card "serial number id"? or do I just need to do the format/folder location again? as that probably be faster than reloading from CAlibre......
As said above, CC doesn't look for anything special about the card. Instead it uses a special "token" given by Android to access the data on the SD card. If that token changes, as it almost certainly will if the SD card changes, then CC must be given permission again. You can use CC's "Formats and folders" to get that permission.

And yes, much of this feels like magic, but I can't do anything about it. Since Android "Lollipop" CC hasn't been forced to use Android facilities to access SD cards, which give back to CC an opaque access path. That path can become invalid for a plethora of reasons all out of CC's control, and the only way to fix it is to ask again for access.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre & Covers: Adding books through Calibre vs dragging and dropping? VirgoGirl Calibre 12 06-08-2014 05:34 AM
[Android App] Calibre Companion and my 16 GB Micro SD Card kazbates Devices 2 10-13-2012 05:20 PM
[Android App] Calibre Companion: Storage folder selection NiLuJe Devices 11 08-24-2012 10:09 AM
Dragging Cover Images Into Calibre Jeshire Library Management 2 05-23-2012 07:59 PM
Calibre to Android device - remove sending to eBooks/import folder? bosun120 Calibre 1 09-23-2011 04:12 AM


All times are GMT -4. The time now is 03:28 AM.


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