08-20-2016, 02:39 PM | #1 |
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Managing multiple libraries in Calibre
I'm starting to contemplate breaking out my Calibre Library into more than one volume.
There are several reasons for this. One is the size of the library. I have the master library on the HD, and a backup on a USB thumb drive. After I've added books and updated the metadata, I use an open source program called Free File Sync to mirror the changes on the HD copy to the thumb drive. I've already had to migrate to a larger thumb drive, and at some point may need to do so again. Another, related to the first, is content. My normal eBook viewer is a 7" Android tablet, viewed using the open source FBReader for Android. By preference, I get ePub, but sometimes there isn't an ePub version. Some things I only see in Mobi format (which can be converted to ePub, but since FBReader handles ePub and Mobi, I usually don't bother.) More often, the content is only available as PDF, and some of those are huge (like stuff from Archive.org, where 100MB or larger file size is not uncommon.) In general, I don't even try to read PDFs on the tablet. FBReader has a PDF viewer plugin that works well in that it will display the PDFs, but the 7" screen makes trying to read them painful, and the big ones take an approximation of forever to open. So I'm looking at splitting out the Calibre Library by content type, with ePub and Mobi in one library instance, and PDF and other things in a second. The ePub/Mobi library is that one that would contain things to be added to the tablet. There would be a second backup USB thumb drive for the PDFs and the like. (I'm aware of and am experimenting with Virtual Libraries. That's handy for selecting titles to potentially add the the tablet, but doesn't address the physical size of the library problem.) One issue I don't see a way to address is being able to get a top level overview that shows all volumes in both libraries. I can live without it if I must, but it would be nice to have a list of everything I could search to see what I have. Another is the best way to use Calibre to do the split. Is anyone else using Calibre to manage multiple physical libraries? What sort of strategy do you use to do so? ______ Dennis |
08-20-2016, 04:35 PM | #2 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
IMHO the overview part of this is the issue.
Physical Libraries can be on any (full access) local drive As to Moving Files: Select Books: Right-click: Copy to Library:<name> (optional delete after copy) The Selection process gets tricky. Basic Q Do you want to move ANY book (all formats) that HAS a PDF? I used a custom column to track Master (source) formats as a tool against future conversions, wher I want to use the Original as the source. If you have only PDF, piece of cake (chocolate ) ; Use the Tag Browser to select PDF in the custom col or search: formats:PDF and Not formats:EPUB The goal is to get only the books that exist solely as a PDF I believe Betteread has large libraries |
08-20-2016, 05:04 PM | #3 | |||||
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
Quote:
If by some chance there are multiple formats including PDF, I think I want to move the PDF but leave the others. Quote:
Quote:
So the first cut will likely be moving all ePub/Mobi to a different library, and what's left is the other library. The ePpub/Mobi library is the one that will sync with the tablet. Quote:
I still have the issue of a top level listing of what is in both libraries, just to see whether I have the title at all. (Hmmm. Calibre holds the data in a SQLite database. There are likely tools for exporting from SQLite to CSV...) ______ Dennis |
|||||
08-20-2016, 09:21 PM | #4 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@DMcCunney - How big is your library? My initial reaction to splitting a library into multiples based on format and the capacity of backup thumb drives is - no, no, don't do that!!
I prefer to use good quality hard disks for backup rather than thumb drives - 2TB drives in a USB 3 disk dock. My calibre libraries consume ~700GB (one them has lots of large files - video, audio and image collections), the non calibre data is ~400GB. I use something similar to FFS to do the backups called Goodsynch. Cloud is another option - I believe Amazon gives unlimited storage for US$60pa. My line speeds are too slow to consider using cloud storage for anything other than casual use. Have you considered using Calibre Companion on your Android devices. It interoperates with desktop calibre and it can access a calibre library kept in Dropbox and OneDrive accounts - not sure about Amazon. My use of multiple libraries relates to custom columns and how I use standard columns. I have three 'permanent' libraries - Main, Media and Journals. My Main library (~85K books) has 6 custom columns, my Media library (~12K books) has 26 custom columns, and my Journals library (~6K books) has the Journal Name in the Author column and the Journal Issue No/Date in Title column and 11 custom columns. All three libraries have a number of Virtual Libraries and book list Views (View Manager plugin). I tried combining them into into a single library, and contriving schemes to partition the Virtual Libraries and Views. But I found it far too cumbersome with limited benefit, so I reverted to multiple libraries. I use X1 or Windows Search for content searching. In the context of calibre I use the Drop Search Results and Reading List PIs to store the search results. I bridge the libraries via links from calibre Books and Authors to Evernote Notes, and via Chrome shortcuts from Evernote Notes to calibre server Author and Book URLs. I would do this irrespective of the number of libraries. BR |
08-20-2016, 10:25 PM | #5 | ||||||
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
99+ GB
I am not trying to use Calibre as a general purpose library and indexing utility, though I'm aware I could. The stuff indexed by Calibre is all essentially text in one format or another. Quote:
Yes, there are portable HDs. But those are mostly spinning platter devices, and things with moving parts break. I've had one old low capacity USB thumbdrive fail on me, and they are cheap and getting cheaper. (The 128GB USB3 thumbdrive that currently holds the backup Calibre library instance cost about $16. Storage is down to under ten cents a GB and dropping. I'm probably getting another 128GB thumbdrive and duplicating the current Calibre drive as a "belt and suspenders" move.) Quote:
Quote:
It appears CC can do that sort of thing, but only for volumes transferred via Wifi. I have thousands of volumes on the tablet transferred via USB cable, and I really don't want to redo everything just to use CC. I'm not especially interested in keeping this sort of thing on Dropbox or OneDrive. I make increasing use of Google Drive for stuff I want access to from anywhere, but that tends to be stuff I want to provide access to to others as well because we are collaborating on the projects the stuff is for. Quote:
Quote:
Back when, I ran Google Desktop under Windows as a content searching tool, because it could open and index content in archives with the right plugins. Finding files isn't a problem. Finding specific information in files is another matter. (In the old days, it was all text and I'd just use grep. No longer...) Quote:
If you want to get a single top level list of what's in all three of your libraries, how do you do it? ______ Dennis Last edited by DMcCunney; 08-20-2016 at 10:29 PM. |
||||||
08-20-2016, 11:12 PM | #6 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
A 1T laptop (2.5") sized (external case) drive is nicely portable. Not as small as flash, but very nice performance even if only USB2.
As a Bonus, you can install Calibre Portable and still use the Library with the Desktop version, thus giving the ability to use the Library at any Windows computer |
08-20-2016, 11:31 PM | #7 | ||
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
Quote:
But that would be for use on someone else's machine. Mine all have Calibre on them, under Windows and Linux. I just basically need the stuff I am likely to sync to my tablet on the thumb drive that travels, which means ePub/Mobi, and it will be quite some time before a 1TB drive will be required to handle that. (An additional constraint is tablet capacity. The max MicroSD card size the current one takes is 32GB.) ______ Dennis |
||
08-20-2016, 11:36 PM | #8 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are never going to have builtin tools that present a unified view of multiple libraries in calibre. After all separate libraries are *separate*
But you can use the create catalog function in calibre to create a csv of all books in any library and them use whatever tool you like to process that csv. |
08-20-2016, 11:45 PM | #9 | ||
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
Quote:
If I can get it into a CSV, I can get that into something that presents the view I want. I essentially have two needs: A top level unified view of possible multiple libraries. (I don't have them yet, but am likely to.) A way to see what all is on my tablet based on the metadata Calibre places there when it transfers books, without invoking my eBook viewer. Create catalog and output to CSV handles first. Suggestions on the second are gratefully accepted. ______ Dennis |
||
08-21-2016, 12:06 AM | #10 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
theducks, on shirt pocket drives.
@David - theducks post reminded of something I know of a calibre user who has zillions of fan fiction stories and a boatload of custom columns who keeps a 'backup' copy of their calibre library on a portable drive. When they travel they attach the portable drive to their Samsung Tab, and then they access the library via CC's Cloud feature. As I understand it, CC's Cloud interface uses the calibre library/database directly, its read only of course. And this maybe the clincher for you, I'm fairly certain they maintain the backup copy with FFS over USB cable! You may need this plugin ==>> Save Composite Custom Columns ------------------------ I use Chrome for calibre-server because it's not Firefox, which is also my main browser, I'm thinking of switching to Edge or firewalled Midori for calibre-server access. ------------------------ I've never needed (or even wanted) a single top level list. I create CSV's via the Catalogue feature, or via the calibredb --list command. If I selected just common columns I guess I could concatenate the output of multiple calibredb commands into a single file. I use nirsoft's CSVFileView to view the CSV files (IMO spreadsheets are overkill), it has an export to HTML feature which is useful for sharing with others. ------------------------ When I travelled a lot I preferred shirt pocket drives to thumb drives, they were bigger capacity wise and for me at least less easily lost. As a consequence of always losing them I tend to buy cheap thumb drives which fade like newsprint left in the sun I have a few 20+ year old SCSI drives that are still readable. ------------------------ There's a search tool called Recoll that runs on Windows and Linux, and there's a Recoll plugin for calibre - not sure what its status is, a peek suggests 'uncertain'. I think Docfetcher also runs on Linux and Windows. For some document types (but not ebook formats - except PDF) X1 shows results with search terms highlighted, which is the main reason I have it. I keep a searchable copy of everything, most of my 'books' originate as PDF, DOC(X), or ODT documents, but if I 'only' have something else (ePUB or Mobi etc) I convert to TXT or DOCX. Maybe one day someone will write an IFilter for ePUB at least. BR Last edited by BetterRed; 08-21-2016 at 12:49 AM. |
08-21-2016, 01:50 AM | #11 | |||||||||
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
(Mind you, I can use a portable drive directly with my tablet. I have a USB portable backup drive. I can plug it into a USB hub, and attach the hub via an OTG Adapter to the tablet microUSB port. The tablet is rooted, and I have a driver installed that can mount the portable drive and access the NTFS file system on the drive. I need to use a powered hub because the tablet can't power the drive via USB. It lacks the power to do so. If I plug the drive in without a powered hub, the tablet will see it, but it will go away again.) Quote:
Quote:
I have Midori here, but you might want to look at Qupzilla. It's an open source browser based on Webkit and Qt, and available for a lot of things, including Windows, Linux, OS/X and OS/2. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
______ Dennis |
|||||||||
08-21-2016, 06:23 AM | #12 |
null operator (he/him)
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
If you have/had your calibre library FFS backup on an NTFS formatted memory stick, and you plugged it into the OTG adapter, then I would think you could use Calibre Companion's Cloud (CCC) feature to access it on your tablet? See ==>> What cloud providers does CC support?. Note the last one - local storage.
Edge is part of the furniture, so might as well use it. All I need for calibre server is a simple tabbed browser - Mosaic with tabs would do. Just not sure if MS's use of Edge for their 'apps' might interfere with my use of it for calibre server - hence maybe Midori or similar. But I'm waiting to see what Calibre 3.0 includes before I go any further with replacing Chrome BR |
08-21-2016, 09:38 AM | #13 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just FYI, the server in calibre 3.0 requires a modern browser. I doubt very much that a Qt WebKit based browser would work (the browser engine in Qt WebKit is several years old).
|
08-21-2016, 01:02 PM | #14 | |
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
I was inaccurate in my earlier post. Qupzilla is now based on QtWebEngine ______ Dennis |
|
08-21-2016, 01:10 PM | #15 | ||
New York Editor
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
Quote:
______ Dennis |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dealing with Multiple Calibre libraries | samoanbiscuit | Calibre Companion | 4 | 08-27-2014 09:35 AM |
Managing multiple device libraries asynchronously | HaoZeke | Library Management | 14 | 07-25-2014 06:32 PM |
Multiple libraries on Calibre server? | omf | Library Management | 4 | 02-15-2014 05:59 PM |
Managing libraries with multiple KTs and one desktop | sophiek | Kobo Reader | 5 | 08-11-2012 06:08 PM |
Multiple Calibre Libraries on Mac OS X | Starganderfish | Calibre | 3 | 05-24-2010 05:21 AM |