NEVERMIND - I can't be bothered with mods who are unable to address the issue - and instead choose to berate someone looking for help for something that wasn't even related to the issue in the first place!
Because - no - Calibre WASN'T "behaving" - it was only showing the covers for half of the books - because - for the other half - it was creating a new, empty, sub-folder, in the newly-manifested, incorrectly labelled, author folder- and claiming that the cover should be in that empty folder - and not in the correctly labelled author folder - where the covers actually existed - the folder that that actually had the book, cover and metadata in!
I've edited the metadata in calibre, and removed the brackets and alternative name - and guess what - calibre put them all in one folder, and ALL of the covers show!
If I then edit the metadata to re-add the pen-name in brackets - and it recreates two folders, with some in over, and some in the other, and - I'm back to the original issue - it only shows the covers for the files listed in ONE folder!
Leaving the below - as SOME people actually tried to help and I appreciate THEIR emotional labour!
Hi all - I can't see anyone else with the same issue anywhere else, so I'm coming here to beg for advice!
Main question - how do I ensure all books by the same author show up in the same folder in the Calibre folder structure? They all have the same author, and author sort in the metadata, but Calibre makes random folders with nothing in them!
This is happening for a couple of authors - but I'm just using one as an example:
I have a number of books with author: "Sherrilyn Kenyon (Kinley MacGregor)", with author_sort as: "Kenyon, Sherrilyn".
There is a folder in my calibre for: "Sherrilyn Kenyon (Kinley MacGregor)", which has the correct folders for all of the Sherrilyn Kenyon books in.
However - as I scroll through the books on Calibre, it seems to randomly decide that SOME of the books (not all) should be in a different folder - so it will create a NEW folder without the closing bracket: "Sherrilyn Kenyon (Kinley MacGregor". This second folder has folders with the same name (and same reference number) eg: "The Warrior (10825)" in both folders.
The new folder (without the bracket on), will create the sub-folder "The Warrior (10825)", but it won't have anything in, or sometimes will create a metadata file, but the book, metadata and cover files are all in the appropriate folders in the original folder (with both brackets). However, as I scroll through the books on calibre, if it creates a new folder for it, then it links to the empty folder (which doesn't have the book in) and won't show the cover (that is saved in the original folder!)
If I scroll through all 82 books in Calibre, 66 of them will duplicate to the new folder, but won't have anything in!
I've tried renaming both folders so they are the same (with, and without, the second bracket), I've double-checked that all the metadata for the author, and author-sort are all identical, and I can't work out why certain ones do the new folder thing, and some don't, and how to get them all to the same folder.
Please understand that folder structure Calibre uses for storing actual books is opaque, private storage never meant to be accessed directly, except for a single book, with Calibre opening it for you. There is no guarantee that future versions of that structure will be tha same. Changing anything there might "de-synchronize" Calibre metadata database and it's backing storage.
Calibre has good GUI with myriad of sorting and filtering options, including saving filter and sort configurations as "virtual libraries". There is a decent wen content server, with many third-party apps for browsing it in even more flexible way than simply from a web browser. There is also a rich command-line API. Use those.
"There is a decent wen content server, with many third-party apps for browsing it in even more flexible way than simply from a web browser. There is also a rich command-line API. Use those."
I don't know what ANY of those mean - other than 3rd party apps. I use the Calibre GUI for everything other than adding covers. If I try to do that WITHIN Calibre - it says it can't find covers...
I don't need any of those. I just want my covers to show on the book that is associated with it.
The only reason I use it is when I go to update the covers on books. If I want to save a cover to a folder, I save it from goodreads into the folder.
If I have two copies of the book, and one has the cover, and the other doesn't, and I want to copy the cover from one to the other, I do it from within the folder structure.
But in this scenario - the cover is saved in the "Sherrilyn Kenyon (Kinley MacGregor)" folder, but if you select the book in Calibre, it instantly creates a new subfolder and links to it in the "Sherrilyn Kenyon (Kinley MacGregor" folder (and the subfolder is totally empty, so obviously doesn't show the cover).
Do. Not. Mess. With. The. Library. As has been pointed out, you are not meant to be poking around at the internal structure of the library. Despite your claim, there was a post on this literally yesterday so I'm not going to rehash it again. I can offer technical reasons why it operates like it does, but first we need to know what your goal is? What are you trying to accomplish in the end? Anything you are trying to do is almost certainly better done through means other than modifying the folder structure. If this is another "cuz I wanna" post like yesterday then this one will be locked as well.
I'm literally just trying to save a cover image from Goodreads into the folder. I wouldn't even have a clue how else to add the cover.
Open folder from Calibre ("O") copy and paste folder location. Close folder.
Rightclick - save as: "paste folder location", rename to "cover.jpg"
Sorted...
Except - Calibre has now got two different folders for the same author - one with an end bracket (which has everything in), and one without (which has the same sub-folders, but the sub-folders are empty) - and it seems to randomly pick and choose which one links to the actual book associated with the Calibre listings.
I'm literally just trying to save a cover image from Goodreads into the folder. I wouldn't even have a clue how else to add the cover.
Yep, there is a better and more correct way. Right click on the book in Calibre and select Edit metadata -> Edit metadata individually. In there you can use the tool to search for and select a new cover or copy the cover you want with a right click from a webbrowser and then right click the cover in the Edit pane and select Paste cover. This changes the cover image in Calibre's metadata but does not change the cover in the ebook itself until you Polish it and have that tool embed the new cover into the file. Your method did nothing to the actual cover inside of the ebook file.
I've tried this, and it can't find it online (as per my other comment) - and it takes AGES to confirm it can't find it (spinning wheels of death) - whereas I can find it on goodreads within seconds: https://www.goodreads.com/book/show/252028083-the-forgotten
So for each one, I'd have to save it somewhere ELSE - to then go into the metadata, and associate it with the cover image - and then delete it from the somewhere else... Instead of just saving it in the folder? And that's a "better" way? (OK - I'll grant, it sounds like it is the "more correct" way - but when I'm working through 63700+ books, it's NOT a "better" way).
But the issue is that I don't know why it started creating a second folder for half of the books for this one author in the first place!
I ONLY attempted to work with the folder name(s) to match AFTER Calibre started manifesting an incorrect author folder (without the closing bracket) and putting a random selection of this author's books in there instead of in the appropriate folder, AND AFTER I tried to "fix" it through the metadata information within Calibre itself.
If you can't - or won't - help - please just say - I don't need the "you shouldn't mess with the folder system" lecture - a) it's too late for that, b) CALIBRE messed with the folder system first - I was trying to FIX it by ensuring all the books from the same author was in the same folder - and that was ONLY after using Calibre itself to ensure they all had the same author, and author sort information), and c) I've been saving covers the same way since 2009 and it's only now that it's become an issue. I'm autistic, and when something works, and works well, then I will use that method, until I hit an issue. I've now hit an issue. I can't find an answer elsewhere - I hoped people on here would be more understanding.
All I want to do is fix this issue and move forward.
Thank you to those who are actually interested in helping to work out why Calibre started this in the first place. I don't care that my attempts to fix it didn't work - I want to know why it did it (so I don't do it again) - and what I need to do to fix it this time.
But the issue is that I don't know why it started creating a second folder for half of the books for this one author in the first place!
Because it's the library and not meant for human meddling. Going through Calibre itself should keep any important information with the book records as it decides. You don't need to know or change anything in the library if the information is correct in Calibre itself.
I ONLY attempted to work with the folder name(s) to match AFTER Calibre started manifesting an incorrect author folder (without the closing bracket)
You shouldn't care as long as it shows correctly in Calibre itself. Stop looking at the library directly.
I was trying to FIX it by ensuring all the books from the same author was in the same folder
There was nothing broken except for your expectations. Again, again, again, you are not meant to be poking around in the library. If you still don't like that, go take it up with Kovid himself and see what he has to say.
b) CALIBRE messed with the folder system first
There's nothing broken about the folders, you just didn't understand them.
If you can't - or won't - help - please just say
Accept the facts or give up, but drop the attitude. This is getting to be the same as the post from yesterday and if it continues this post will also be locked.
I don't need telling off - like a bloody child - for stuff that wasn't even the original issue.
Issue: Calibre making random folders and not associating half the books with the right folder.
Me: try to fix IN Calibre - didn't make a difference Me: try to fix in folders - didn't make a difference
You: Ignore the original issue You: Treat me like a fricking child and blast me for trying to fix the issue that Calibre started in the first place!
If it hadn't been creating random bloody folders - I'd never have needed to touch the folder names - and yet THAT is the bit you choose to focus on, and still epically fail to help with the original situation!
And "my claim" was that I can't find another post where Calibre is randomly duplicating folders - not trying to rename the reference numbers (as per yesterday's post).
It's the first time since 2009 (when the first nook e-book reader come out?) that I've had this issue...
I have a stupid question since we're on the topic of folder libraries. I don't mess with it since I am aware of the general 'dont mess with it' advice but I accidentally added an epub file to the main library folder and I was about to delete it but it showed up on calibre? So I didn't mess with it anymore.
Would that affect anything? I went about my normal routine and successfully edited the book, its metadata, and got it transferred to my kobo. I haven't opened calibre after that so I'm not sure if it changed anything or what.
7
u/bazoo513 7d ago
Please understand that folder structure Calibre uses for storing actual books is opaque, private storage never meant to be accessed directly, except for a single book, with Calibre opening it for you. There is no guarantee that future versions of that structure will be tha same. Changing anything there might "de-synchronize" Calibre metadata database and it's backing storage.
Calibre has good GUI with myriad of sorting and filtering options, including saving filter and sort configurations as "virtual libraries". There is a decent wen content server, with many third-party apps for browsing it in even more flexible way than simply from a web browser. There is also a rich command-line API. Use those.