![]() |
#1 |
Groupie
![]() Posts: 198
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
|
Copying books to a "sub" library
I run several "sub" libraries under my main Calibre library. In recent Calibre updates (unfortunately I cannot say which one) I have struck a problem. When copying a book to a sub library, I select the option to remove from the original library after it is copied. If that book existed already in the library being copied to, then Calibre would let me know that I was trying to send a duplicate book.
This does not happen, and I therefore end if with duplicates in the library I copied to. Is there now something in 'Preferences' that would fix this? Secondly, suggest/ask for a plugin that could run through a library and remove books that are not able to be read or loaded. Over the past few months, I have had terrible problems with two laptops. My Calibre libraries are held and run on a 4Tb portable hard drive. Between these laptops, I have managed/mangled my calibre libraries that I have been building for years. Consequently, I have a lot of books in the main and sub libraries that will not open to read. It takes too long to go through every book trying to read it to see if it is readable. Help. mitch13 |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
To me, a 'sub' Library is just a VL of the Library. You have multiple Libraries (as I do).
Have you run Library Maintenance to detect and hopefully repair EACH LIBRARY? But the underlaying question is 'why the corruption'? How is the 'portable' 4T drive connected? BTW The Find Duplicates Plugin has a Library (compare) mode. The 'master' is the one being viewed when you launch the PI. (you specify the path of the one to look at) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Groupie
![]() Posts: 198
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
|
Thanks for the reply. The 4T drive is via a USB connection. I have used Calibre Portable for years via this connection. I think my problems have come through two temperamental laptops that have been giving me problems other than Calibre but no doubt contributor to it. My main library is currently showing in the 90,000 bracket, which is a lot more than a few months ago. The trouble is that it takes so long to run some of the rescue options and I know I now have a lot of entries that Calibre cannot load to read.
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Both phases. Phase 1 checks the structure of the DB (contents). Phase 2 looks for things the DB says (or does not) 9K took me a couple of minutes for both. (then you need to do the fixes suggested. That is the unknown time) |
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,613
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
What does that sentence actually mean? Given you're using the 'Copy to library' tool it can't be referring to Virtual libraries? Whilst calibre can support multiple 'physical' libraries, it does not provide the means to arrange or present them as a hierarchy, which is how I interpret the phrase 'under my main library'.
What purpose do these 'sub' libraries serve? If you've created something like the following, I suspect it could be contributing to your problems. Code:
Main Library │ metadata.db │ metadata_db_prefs_backup.json │ ├───Author A │ └───Book #1 (1) │ │ cover.jpg │ │ metadata.opf │ │ Book #1 - Author A.epub │ └───data ├───Sub Library #1 │ │ metadata.db │ │ metadata_db_prefs_backup.json │ │ │ └───Author B │ └───Book #2 (1) │ │ cover.jpg │ │ metadata.opf │ │ Book #2 - Author B.epub │ └───data └───Sub Library #2 │ metadata.db │ metadata_db_prefs_backup.json │ └───Author C └───Book #3 (1) │ cover.jpg │ metadata.opf │ Book #3 - Author C.epub └───data Added: I am not even sure that a tree of nested libraries would work, one thing's for sure - it would generate a lot of Check library errors and goodness knows what Restore database would do with it. Last edited by BetterRed; 12-26-2024 at 05:29 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Calibre will not allow you to make a Library in an occupied folder.
@BR If what you suspect, it was attempted by using the OS, (a big calibre no-no as the DB has no knowledge of even how books got there.) |
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,613
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
If, when Creating a new library, you create empty folder within an existing library and then select that folder as the new library you will have a new library folder within an existing library, viz:
I had my doubts toll i tried. BR |
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
So it can be done
![]() But Should you? I can't imagine what the Library Maint check spews. And WHY? What is gained since normal usage does not have the user get near the actual file folders. |
![]() |
![]() |
![]() |
#9 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,591
Karma: 7463599
Join Date: Sep 2020
Device: none
|
|
![]() |
![]() |
![]() |
#10 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,613
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The button to the left of the New location field in the Create/switch library dialogue opens File Explorer's folder select dialogue which has a folder tree navigation pane and a "New folder" button. If the user navigates to an existing library and clicks the New folder button, a new folder is created and they're given the opportunity to rename it, viz: Add an Empty Book then press 'O' — Et Voila! Note, the above won't work in Portable as it insists new libraries are created at the top level of the portable install folder… the OP is using Portable. As to WHY? If the user has separate libraries because of disparate custom metadata needs they might like to have library specific Intake and Books to edit 'sub' libraries… an obvious place to put them would be within the relevant 'master' libraries. BR |
|
![]() |
![]() |
![]() |
#11 |
Groupie
![]() Posts: 198
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
|
Betterred,
Thanks for replying. My "Sub" libraries are based on content e.g. Magazines, History, Mathematics etc, and it usually works very well. Cheers mitch13 |
![]() |
![]() |
![]() |
#12 |
Groupie
![]() Posts: 198
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
|
I can get around most of the problems with the help that has been suggested, for which I thank you all. There is one question that has not been solved. In previous levels of Calibre it was not a problem, it has changed recently but I cannot identify the version that changed it.
All my incoming books/magazines are downloaded to my main Calibre Library. Probably a majority of them stay there but there are a lot that need to be copied/removed from the main Calibre library to a "sub" library e.g. magazines. Until recently, the transfer to another library recognised if there was already an identical copy in the library being copied to and therefore stopped duplicates going into the sub library. Currently it provides no warning that it is going to send a duplicate and that becomes a great pain with duplicates all over my multi sub libraries. Does anyone know why this changed? mitch13 |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,171
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This was not changed, it was and remains controlled by the option Preferneces->Adding books->adding actions->when using copy to library check for duplicates
|
![]() |
![]() |
![]() |
#14 |
Groupie
![]() Posts: 198
Karma: 10
Join Date: Jul 2008
Location: Queensland, Australia
Device: Appraising the market
|
Ignoring duplicates when copying to anothr library.
Many thanks Koviod, I have never been into that area so not sure how it became unticked!
That is fabulous. It did mention in a query a lot earlier if it was something that that had perhaps changed in my set-up. Again, Many thanks. mitch13 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
B&N removed download option on all books in "My Nook" library | library addict | General Discussions | 1534 | 07-12-2023 10:45 AM |
Books "In Library" and "On Device" but not linked | stevehuth | Library Management | 4 | 07-20-2012 01:20 AM |
Multiple "Copy to Library" not copying covers/opf files over? | Trickery | Calibre | 9 | 10-08-2010 01:18 PM |
"Protect Page" error with Public Library EPUB books | DojoPat | Sony Reader | 28 | 07-13-2010 12:09 AM |
"clock" issues with borrowed library books? and ADE ?? | GraceKrispy | Sony Reader | 5 | 01-08-2009 03:54 AM |