Quantcast
Channel: MobileRead Forums - Calibre Companion
Viewing all 1138 articles
Browse latest View live

OneDrive iOS sync to subfolder called "Calibre" imposibile

$
0
0
Hello.
I tried setting it up to use cloud but it doesn't detect the subfolder called "Calibre" on my OneDrive.
Can somebody help?
Thanks!

How to Rebuild a 20,000+ Calibre Companion Library on an Android Device

$
0
0
On a recent trip to Greece and Turkey I accidently deleted my 20,000+ Calibre Companion ebook library. I won’t go into the details about A) Why I have that many ebooks on a tablet (I create ebooks for a living; is the short answer) or B) How I accidently deleted my library. That is, other than to say, that COVID-19 was partially to blame. I had to free up space to install various apps to prove I was vaccinated AND recently tested. And had to load large PDFs of my test results on to my tablet. One such app was veriFLY and another the Viking app (The trip was a cruise around the Aegean Sea).

I want to make it clear that I didn’t actually lose the ebooks themselves since, luckily, they were stored on an external SD card. But Calibre Companion was pretty much unusable since my backup was two years old (I will be much more diligent about backing it up going forward).

When I got home I thought I would take the opportunity to rebuild the entire Calibre Companion library on my android tablet (A Samsung Tab A 8” running Android Pie (9)). When I first started using CC in December 2012 I never anticipated my library growing from under a 1,000 books to over 20,000 (95Gb), so I was using the default template in CC, which puts all the ebooks in a single directory. Somewhere around the time I reached 18,000 books I noticed a tremendous slowdown on transferring books to the tablet. I thought I would at least rebuild it more efficiently, with subdirectories for each author, which would speed things up. What would even be faster would be to have folders for each letter of the alphabet and author directories within those of authors whose last names start with that letter.

I pondered different ways of rebuilding my CC library, such as moving my entire Calibre library to a folder on the external SD card and using CC’s option to use another device or SD card as a cloud library. The downside of this method is the obvious one of needing at least enough free space roughly twice the size of your library and the fact that it would take days to move, since CC would still have to move every ebook as well as its accompanying metadata. The upside of it is there would be no connection issues as as there would be with using the Calibre content server or a cloud service.

In the end what worked was surprisingly simple (only in retrospect, I must add). I exported my entire Calibre library using Calibre’s “Save to Disk” feature using a template that would match CC’s own template for saving the directory structure. I got some help from help from capink and chaley on this. I must also add that I’m running Calibre 4.23 on a Windows 7 media server. I was unaware that the template language had changed with version 5 of Calibre.

The “Save to Disk” template I used was:
{authors:'re(sublist($, 0, 1, '&'), '\.$', '')'}/{title:re([—®™],_)} - {authors:re(\.$,)}
To match CC’s template:
{first_author}/{title} – {authors}

There are some replacements in the Calibre template where certain special characters are handled differently by the two applications. I also made sure use the above template in CC’s settings: File names > Use CC template everywhere. That was key to making this work.

It took about two and a half hours to export the books out of Calibre. I then moved this to the directory of books on my tablet’s 256Mb SDXC card inserted into my computer’s USB 3 port using a USB 3 card reader. This took about an hour and a half. I then inserted the SDXC card back into my android tablet and made sure CC was looing for books in the directory I had created.

I then connected to my Calibre library’s content server to push over the metadata for the books. I then made sure to select “Automatic management” in “Metadata management” under Calibre’s “Sending Books to devices” preferences. It doesn’t matter what Calibre’s template is here in these preferences since CC would be using its own template.

It then took about four hours to get the metadata pushed over to Calibre Companion. As long as Calibre finds the book on the device, it won’t send the file, just the metadata (At least I believe it was Calibre and not the CC app that makes that call. Correct me, anybody, if I’m wrong on this.)

After what seemed a painfully long time, all 20,000+ books showed up in my Calibre companion library. I checked to make sure that CC could match all the metadata to files by running the “Books with missing files” menu item in CC. Turns out that only 11 books couldn’t be matched to files. It turns out that those 11 books had single typographical quotes instead of a single straight quote somewhere in the titles. Since I was still connected to the Calibre server, I replaced the typographical quotes with straight quotes so that the file names would be handled correctly by CC. I then updated the cached metada and bada bing, bada boom, CC found the files. All 20,000+ books are back in Calibre Companion.

If you’ve read this far and you don’t have a library the size of mine, I would warn you that’s a pain in the ass to maintain. For one, you have to have a tablet to which you can add fairly large external SD cards (that eliminates iPads) and you have to have a hardware/android combination that allows you to use the external SD card as internal storage for apps. Before Android 5, I had to root my Android device and might have to again in the future as Google keeps adding restrictions to the use of external SD cards by apps.

Anyway, I hope you found this informative. Of course, I can’t guarantee that anyone else who tries this method will have the same success I had. There are just too many variations of hardware and Android versions for a single solution for all.

Connection to Google Drive fails after first use

$
0
0
Hi,
I'm using cloud connect of Calibre Companion to connect with my Google Drive account. I could connect, retrieve my Calibre database, and download books. But then after I quit the app, wait about an hour, then opened the app and tried connecting again, I got the error message below.

"Cloud provider internal error
CC is unable to communicate with the cloud provider. The cloud
connection will close. On the next connect you will be required to
re-authenticate with the provider. (Attempt to invoke virtual method
java.util.List com.multipie.cclibrary.Cloud.Google.Children.getlt ems()'
on a null object reference)"

The only way I could connect again was to "Reset cloud connection" and added and authenticated my Google Drive on Calibre Companion again. After I re-added and re-authenticated my Google Drive, the app would be able to connect to Google Drive, but then if quit the app, the same problem happened again.

Does anyone have this problem or have any suggestion how to fix this? Thank you.

Attached Thumbnails
Click image for larger version

Name:	Screenshot_20211128-214512.jpg
Views:	N/A
Size:	55.8 KB
ID:	190496  

CC not connecting to calibre

$
0
0
I recently purchased new computer. It is Windows 10. I transferred my Calibre LIbrary to the new computer with no problems. But now I can't get my iphone or Kindle Fire to connect through Wireless Device in CC on either device.

iphone 11 iOS version 14.8.1

kindle fire HD 8 8th generation

iphone - when I connect, I get the Connected box but it just hangs up with the message "starting initial sync" and calibre never recognizes a connection. After about a minute the message goes away.

kindle - when I connect, it searches for a minute then I get the Failed to connect message.

I have restarted both devices, the computer and calibre to no effect. Please help :help:

Calibre Companion not Working - Upgrade Needed no Upgrade

$
0
0
Hi All

I went to use CC today on my Samsung S21 Ultra, I get a message saying

"Please update this app from the Amazon Appstore" this gives me a quit or update button

The update button takes me to the store which shows I have the latest version

Quit exits the app

It won't let me do anything else with the app.

Anyone got any ideas on how to fix this?

Thanks

HELP please: Moving library between two devices

$
0
0
Hello,
i just bought a new tablet and I'm trying to recreate my 12000 ebooks library connecting Calibre Companion app on my new device to Calibre on my Mac. I moved my microsd from the old device to the new one but no book appears. If I try a wireless connection between the new device and Calibre, after few minutes waiting this appears:
"There was a timeout while communicating with the device in function: Device did not respond in reasonable time".
Is it something that can be done or i have to reset the microsd and re upload all the books?
Thank you very much in advance for any help, i'm desperate!!!
Best regards.

nable to transfer via MTP Nexus 7

$
0
0
Kovid Goyal,
It is some time since I have contacted you, then you resolved the problem. Now here we are again.
I have used Calibre for more years than I can remember, now I have a bug which only appeared on 5.30.0 loaded on 28/10. Suddenly Calibre did not see my Nexus 7. OK on PTP but not on MTP. This problem also with other devices as well.Tried various cables, about 15 in all, still no luck. I could not even see it under system files. Then tried it on another PC, working fine. I resorted to using FileMaster APP to install and remove books.
Last week upgraded to 5.33.2 and MTP appeared once again on system files. But Calibre still did not see the device. I thought of uninstalling Calibre, but that does not remove all files and could possibly not resolve the problem. I could try 5.30.0 but I think that might make matters worse. Have you any suggestions please?

Dave

Can't access Box account from CC

$
0
0
Hello:

I recently tried accessing my Box online account (that's where I keep my library) from CC. I provide my username/password for Box, then I provide the 2FA code. After this step the CC app gets stuck at authentication stage. Nothing happens, just a word "Authenticating" on the screen.

Is the app broken? Am I missing anything?

Library is Read Only

$
0
0
I just got a new Android 11 tablet and I am getting the error "Library is read only". The forum points to a solution at http://faq.calibrecompanion.co/index...lution_id=1096

My @#$%^&* browser insists that this is insecure, even though I have told it to allow insecure data on this site it still isn't working. I will continue to fight with my browser, but in the meantime if anyone can post the content of that FAQ here I would really appreciate it. I am so fed up with trying to make the browser work, even though I have told it that the site is fine. Thanks in advance.

Download ebook covers on Cloud Connection (OneDrive)

$
0
0
Gentlemen,

I have CC installed and configured on my Samsung J5 Metal (Android 7.1.1).

My CC setup is complete and works perfectly in the Content Server Connection.

However, in Cloud Connection (OneDrive), everything works fine, including the Metadata, which is fully respected and faithful to Caliber, except for the download of synchronized ebook covers: the longer I stay connected, no ebook cover has been downloaded.

If anyone can help, I'd be grateful.:cool::cool:

CC unable to connect with calibre library stored on local storage

$
0
0
I've used CC for several years on a Samsung tablet where a calibre library is stored on a memory card and everything worked fine. I went to reset the cloud connection to local storage and CC is unable to locate and connect to the calibre database. It appears to be timing out and then hangs.

This never happened before. Does anyone have a recommended fix or workaround since any kind of application support appears to be "spotty".

debug log?

$
0
0
How do you get the debug log for cc on android? The FAQ site isn't working anymore

CC won't open Kobo app (iOS)

$
0
0
I'm using the latest iOS version on my iPad and cannot get any books in CC to open in Kobo. I long-press the book I want to add, select Kobo app from the list of apps that pop-up but nothing happens. The screen stays the same.

Any clues?

Calibre Companion Cloud Issues

$
0
0
Hello-

I am having issues setting up Calibre on my PC through Dropbox, then getting it connected to Calibre Companion on my Android phone then able to read using MoonReader+. However from what I can tell my have it connected correctly on the PC at least I can see all my books in the Calibre app on my PC from the computer server.

I have Calibre Companion set up for Drop Box and logged in. But when it has me sync Calibre Companion with the library on Drop Box that I have just setup with Dropbox. The library is not there.

I have no idea where it is or what I did or where to even start to look to get it back....

PLEASE HELP!!!!!

Best Moon+ CC Filename Template to Keep It Short, Cross-Sync & Disambiguate

$
0
0
Hi,

Normally I use the default CC template when ticking the filename option that's best for Moon+ Reader to allow easy cross-device syncing. I think it's just {title} - {authors}. Until now that has been fine and dandy as I have modern Android devices with exFAT microSDs and cross-sync is perfect.

Enter Onyx Leaf to ruin my life. That overpriced hunk of junk forces FAT32 on OTG storage (it only has OTG, no internal slot). Using my current template, I can only fit about 9100 files in root (or in a directory). I have written an extensive post on Reddit in the Onyx forum to demonstrate the depths of my experiments (TL;DR. it's not me, or my cards, it's FAT32 and long filenames. It's fundamentally a terrible choice for a late 2021 device).

So today I've had the idea, what if I make a different template? I don't know what to try though. I have a large library - about 10.5K so I need to keep a mind on disambiguation (i.e. title alone might not be enough), plus still make sure it will sync fine with Moon+ Reader still across my many devices as I still frequently use Android itself too BUT be as short as it can be while still fulfilling the first two criteria there so I can actually use an outdated FAT32 card to some point in future when it will cut out but at least a shorter filename will allow me to put my full library on and add new for awhile

I've seen "ID" as one of the template options...will that be any good for Moon+? That would seem to be the shortest w/disambiguation too (in my head) but I'm suspicious if Moon+ will like that. It's be great to not have to find this out the hard way and redo all my devices lol.

Would love any help. Thanks.

CC has downloaded fine to OTG SD card but will not open files (java.lang.error)

$
0
0
Hi,

Didn't know if I should post here or Onyx. Both would have been best but I know I'm not supposed to duplicate posts.

Thanks to Chaley's help I did get my large 10.5K library down through CC onto my Onyx Leaf using (sadly) a FAT32 SD card connected by OTG using Content Server and a subfolders template. It went super fast and everything seemed successful. Metadata correctly read, library looking like all my other Android devices. Until I tried to open the books.

No matter what I try, I get this error java.lang.IllegalArgumentException: Failed to find configured root that contains /my file path then ebook file name.epub that sort of flashes up a bunch of times then "book is missing".

I tried Cloud, Content Server and Wireless to get books down (all at first then just a few to run tests). I also tried to restore a full version of backed up database on a pre-loaded SD Card of books from my Tab S6 and then just change the path to the OTG SD Card which usually works for me on regular Samsung devices but that won't work either. Same java error.

I've tried different sized SD cards (quick summary: Onyx takes 128GB and 256GB as FAT32 but some apps just won't work with it properly, e.g. ReadEra won't load my library from them, it will from a small sample from an 8GB card making this increasingly looking like an expensive brick for my purposes. No CC and no ReadEra). Even the 8GB wouldn't work with CC.

I don't know what to do or what it is. I see people periodically saying they have issues but I've never had any issues with CC and nothing a specific as this. I have a bad feeling it's just the garbage implementation/Leaf's fault.

Path wise it's /mnt/media_rw/SD Card Number/Folder. This seems antiquated for Android 10. This could be an external permission thing I just don't know Onyx is quite foreign to me even getting behind their skin into Android settings they're far more basic than I'm used to w/Samsung.

Version of CC: I've got a 5.4.4.20.apk from somewhere that I don't remember that I tried. Also tried the one from the Google Play Store Pro version that I paid for years ago in my Family Library that's 5.4.4.19.

Holding out faint hope the boffins here have suggestions. Thanks for any help.

P.S. I can't even access the SD card via Moon+ or KOReader either. That's to be expected but my cheap Samsung devices handle ReadEra and my audiobook app via OTG just fine unlike Onyx. Options just super limited on this device overall, sadly. Not meant for data horders.

Alternative to CC

Can't select Calibre library on Dropbox

$
0
0
I can connect to CC ok, but I get a message that database was corrupted and the app drops me on the main directory of my dropbox.

I try to press on the main menu to bring up the list of folders (so I can select the Calibre directory), but nothing comes up. It sort of bounces up like it's going to show me all the folders, but closes again.

This problem only occurs when I shut my Android device altogether (not sleep). CC works fine as long as I don't shut down.

Timeout on Sync

$
0
0
I have been a happy Calibre Companion user for many years. I have used it on a Nexus 7 (2012 Android 4.4.4) and a Galaxy Tab A (Android 7.1.1) without any problems.

I just installed it on My Galaxy A03S Smartphone (Android 11) and it will not sync. I didn't have any problem loading 4093 books. When I reconnect, it runs for about 5 minutes and stops with an error:

There was a timeout while communicating with the device in function: Device did not respond in reasonable time

Traceback (most recent call last):
File "calibre\devices\smart_device_app\driver.py", line 678, in _receive_from_client
File "calibre\devices\smart_device_app\driver.py", line 594, in _read_string_from_net
File "calibre\devices\smart_device_app\driver.py", line 579, in _read_binary_from_net
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre\gui2\device.py", line 512, in _books
File "calibre\devices\smart_device_app\driver.py", line 59, in _synchronizer
File "calibre\devices\smart_device_app\driver.py", line 1299, in books
File "calibre\devices\smart_device_app\driver.py", line 59, in _synchronizer
File "calibre\devices\smart_device_app\driver.py", line 658, in _call_client
File "calibre\devices\smart_device_app\driver.py", line 690, in _receive_from_client
calibre.devices.errors.TimeoutError: There was a timeout while communicating with the device in function: Device did not respond in reasonable time

Any help would be greatly appreciated :help:
dbart

Chromebook SD Card Book File Missing! error

$
0
0
I have installed Calibre Companion on a Chromebook. I want to use my SD Card as the location for my library. I was easily able to do this on an Android tablet, but it does not seem to be working on a Chromebook.

I installed Calibre Companion, connected to my Calibre server and sent several files to my Chromebook. This all works fine.

However, when I go to any of the books and click "read" I get an error message at the bottom of the screen: "Book File Missing!".

If I use the function "Books with Missing Files" it shows a list with ALL the books I just sent.

But, if I use the file manager to look at the directory I'm using for my library, all the files are there!

Any suggestions to why Calibre Companion can do everything but open the book to read?
Viewing all 1138 articles
Browse latest View live