06-09-2015, 03:42 PM | #1 |
Grand Sorcerer
Posts: 11,788
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
CC Cloud
I have finally started work on adding a "cloud connection" to CC. In the process of prototyping such a thing I have run into some issues that raise questions. I am posting this in hopes of getting some information that will guide me as I "finish" this feature.
Some basics:
Now to the questions:
On the good side, once the calibre metadata.db is downloaded the interface is very fast (ignoring covers). That raises a question: would it be useful for CC to accept manually-downloaded databases from "unusual" cloud providers? Going this route would require the user manually to download a copy of calibre's db, then later to manually download the desired books after CC gives you the file path information. Cover thumbnails would not appear except (perhaps) in book details and then only after the user intervened and downloaded the cover jpg. My feeling is that this is too much of a pain in the ^% for users to justify the development. EDIT: some updates:
Last edited by chaley; 06-14-2015 at 03:51 AM. |
06-09-2015, 04:28 PM | #2 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Calibre cloud caches all covers, as small thumbnails I think. Browsing those seems instant, once they are cached. I can check how much android storage is used....146mb on my kindle for a library of say 1500 titles
I vote for dropbox only, no browser sign in. |
Advert | |
|
06-09-2015, 10:35 PM | #3 |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
I use Titanium Backup with Box on some devices and Dropbox on others. Titanium signs me in to each with no interaction from me. Dropbox is listed as an account in Android settings and I think that's how access was requested, but Box isn't an account there. I may have had to sign in to Box once but I haven't had to since.
|
06-10-2015, 01:21 AM | #4 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
PS the initial dropbox authentication may cause you extra hassle in Kindle devices. I had much trouble getting mantano on KIndle Fire to access dropbox folders, but no trouble at all on google tablet. I did solve it eventually but did not write down the answer- from memory though it need to do some one-off token thingie via browser and the default silk browser fails to get and then hand the token to Mantano I had to do somethign like copy the failing URL and post into chrome browser on tablet... just a heads up
|
06-10-2015, 01:39 AM | #5 | |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
|
|
Advert | |
|
06-10-2015, 01:58 AM | #6 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I use Dropbox and I just installed calibre cloud and searching is very quick and as soon as I go to an author the covers are shown very quickly. These are not cached as it was not on this device until just now and all of the dates for everything is current. Additionally it is only showing 961 items so I know it is grabbing the covers out of the cloud. When I fling it to a certain area it fills the 15 covers showing from Dropbox in about 3 seconds.
I only give you this info because the cover grabs from the cloud seem to be quicker then your estimates. That said, I would love a cloud option. It would allow me to dump the majority of my library from my device and still be able to grab any book quickly without my home PC being on. Last edited by DoctorOhh; 06-10-2015 at 02:03 AM. |
06-10-2015, 02:00 AM | #7 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
Mantano app asks for one-off permission to access dropbox and pops up a screen to input dropbox credentials. it must then hand those off to silk browser for some one off process and silk pops ups with a gobbledygook URL problem. copy/paste of that or temp change of default browser works around the issue, but I suspect that the way that amazon cache all silk browser traffic gets in the way of the token processing. It could be that silk cannot directly access dropbox but I worked around the problem, rather than spend more time on it. ( I didn't really need mantano to dropbox link anyway, I was only testing it out of curiosity! ; I would use CC to dropbox though hence the heads up for specific Kindle device testing ) |
|
06-10-2015, 02:26 AM | #8 | |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
|
|
06-10-2015, 02:57 AM | #9 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
i think you will find it caches as it goes, i.e. as you scroll through the library it is generating thumbnails ans storing them, as the app setting have an option to clear cache
|
06-10-2015, 03:17 AM | #10 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
I never used it because it shows my entire library, including the 3000+ books I have without proper covers, metadata or editing. Calibre itself allows me to start in a default virtual library where all of my finished books reside. Calibre Companion easily synced this library to my device. |
|
06-10-2015, 04:17 AM | #11 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
it also lacks some other useful search faciity - could be series, could be tags, I forget which... I tried contacting the author re that but no response. |
|
06-10-2015, 05:22 AM | #12 | |
Grand Sorcerer
Posts: 11,788
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
Downloading 5 covers: Cover 1: 1160 milliseconds Cover 2: 491 milliseconds Cover 3: 587 milliseconds Cover 4: 476 milliseconds Cover 5: 571 milliseconds EDIT: I tried it on my N5. The cover download times didn't improve much, but the 200 milliseconds went to 50. This performance of around 1.5 covers per second clearly does not match what you are seeing from CalibreCloud, approximately 5 covers per second. My guess is that it is using Dropbox's thumbnail feature, something I cannot do because I need the real cover to insert into CC's database. As for searching, the reason I am concerned about performance is that for consistency I would need to use the existing CC search engine, which is similar to calibre's. CC's search engine works on 'calibre-processed' information that does not exist in calibre's database (calibre is memory-based). I think that it will take around 250 milliseconds to generate that information for a book, meaning that search will run at around 4 books per second. I have no idea if this is acceptable. I know that it won't be for some number of people. @Cybmole: thanks for the heads-up on possible problems with Fires. I will try it on mine once I get further along in development. @Everyone: so far I haven't heard any problems with this feature being dropbox-only. That really would simplify things! Last edited by chaley; 06-10-2015 at 07:23 AM. Reason: Added N5 timing info |
|
06-10-2015, 06:31 AM | #13 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Dropbox sounds fine. Being ignorant in what you're facing I wonder if search couldn't be sped up with the metadata.db file being transferred to the device?
|
06-10-2015, 07:17 AM | #14 | |
Grand Sorcerer
Posts: 11,788
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I still remain unconvinced that search is needed, given that I am using a content-server tree-based interface. Here are some screen captures from the top-level down to a series list. Unless you are looking for something that is in the middle of an item (e.g., I want the book with "pirate" somewhere in the title) then the tree index will get you there. |
|
06-10-2015, 07:40 AM | #15 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I have never used the content server and CC either. What you display is perfectly fine for what is expected. Looking forward to trying it out.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cloud Collections 101 (K4 or older -> Cloud Collections world) | badgoodDeb | Amazon Kindle | 3 | 11-05-2014 08:40 PM |
Amazon folds Kindle cloud storage into cloud drive | fjtorres | News | 4 | 04-17-2014 04:50 AM |
Amazon Announces Cloud Player and Cloud Drive | kjk | News | 152 | 04-20-2011 06:28 AM |
TO THE CLOUD! | DixieGal | General Discussions | 19 | 04-12-2011 03:52 PM |
Cloud 9 | TadW | Lounge | 3 | 11-02-2010 02:55 AM |