04-06-2020, 05:53 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2020
Device: Likebook T-80
|
Calibre rescans entire SD card each time device is connected
I have a Boyue Likebook Mars with an external SD card on which I store the books that I load from Calibre. I've noticed this odd behavior from Calibre where it rescans the whole file system on the card each time I connect the device, taking anywhere from 10 to 25 minutes.
Calibre is on version 4.13 running on Ubuntu Linux, I've fiddled with the different options for metadata management and configured the device and SD card to scan only specific folders, but each connection still involves a full scan (at least, going by the "Found object <folder>" messages that show up for the fetching book list task in the jobs window). Is there anything I can do to speed up this process? |
04-06-2020, 08:06 PM | #2 |
Well trained by Cats
Posts: 30,421
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
DON'T remove the 2 files Calibre writes into the root of each storage medium.
Those are the scan results and matching device ID - Library link. Those scan must complete and the resultant files written or it start all over |
Advert | |
|
04-06-2020, 10:39 PM | #3 |
creator of calibre
Posts: 44,426
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Is this an MTP device?
|
04-07-2020, 04:56 PM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2020
Device: Likebook T-80
|
I had let it run to completion initially but that didn't seem to help. For fun this afternoon, I tried removing the Calibre metadata files, connecting the device, allowing Calibre to scan to completion, manually sent metadata from the device menu, ejected through Calibre and reconnected the device and it still began a full scan of the SD card.
|
04-07-2020, 05:00 PM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2020
Device: Likebook T-80
|
|
Advert | |
|
04-07-2020, 10:23 PM | #6 |
creator of calibre
Posts: 44,426
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you've configured it to scan only particular folders, I dont see how it would be scanning them all. Does this happen only on the SD card or the main memory as well?
|
04-08-2020, 10:02 AM | #7 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2020
Device: Likebook T-80
|
It appears to only be the SD card, based on the directory names shown in the jobs window. The debugging log writes out that some of the other main directories are excluded, but the entire ebooks directory is definitely rescanned.
|
04-08-2020, 10:15 AM | #8 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
probably because calibre does not have write permission for the SD card, so it cannot place the necessary 2 scan results files there ?
|
04-08-2020, 10:20 AM | #9 |
creator of calibre
Posts: 44,426
Karma: 24044628
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
could be a bug I dont have an mtp devices that support sd cards to test with though.
|
04-08-2020, 10:38 AM | #10 | |
Wizard
Posts: 2,119
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
First run fsck on the sd card. see for how to do: https://manual.calibre-ebook.com/faq...-connect-to-it if that does not fix then reformat the sd card using the reader. last try a different sd card. bernie Last edited by gbm; 04-08-2020 at 10:41 AM. |
|
11-02-2021, 12:33 AM | #11 |
Member
Posts: 19
Karma: 80308
Join Date: Oct 2016
Device: Kobo, Android Mantano, Linux PC, Kindle
|
I have the same issue. It's a glitch in the way Calibre works.
Calibre won't let you configure which directories to scan for any MTP device, unless that device is plugged in. When you plug in the device, Calibre immediately kicks off a full scan of the device. This may take more than an hour. While that full scan is running, you can't configure Calibre. Catch-22! So, the only way I can see to do this is: 1. Plug in the device 2. Calibre will detect it and kick off a full device scan job. 3. Be patient and let the job complete (minutes to hours). 4. When the job completes, leave the device plugged in. 5. Use Configure, Plugins, Device, MTP to set which directories to scan Once you've done the above the first time, it should be fast the next time. |
11-03-2021, 09:35 AM | #12 | |
the rook, bossing Never.
Posts: 12,286
Karma: 89822819
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
I installed KOReader using Mars Browser to Git for ARM apk and installed the APK from Mars Filemanager. KOReader uses the file Calibre creates to do its searches. My Android Lenovo LCD tablet is also MTP and 256 G SD card rather than 32 G Byte, so first time was a lot worse than the Mars. It is fine now. I use Lithium for ePub and Xodo for PDF on it. I use the supplied ereader on the Mars for PDFs and only use KOReader for epubs. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Device Connected -> Calibre Closes | nexisrocks | Calibre | 1 | 08-02-2019 07:41 AM |
Is it safe to allow calibre scan my entire device? | drmadhupk | Calibre | 13 | 08-11-2014 12:56 AM |
Calibre and Linux / PRS-T1 / Cannot send: No device is connected | piojosnos | Devices | 4 | 01-23-2012 11:48 PM |
Device management really slow when device = connected folder | nickdma | Calibre | 5 | 12-27-2010 02:41 PM |
calibre syncs ENTIRE device every time | cinco | Calibre | 11 | 12-11-2010 05:26 PM |