07-28-2010, 06:38 PM | #46 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
|
07-28-2010, 07:02 PM | #47 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
To solve this, we need to know if what is entered in the metadata edit screens (bulk and single) is being saved. |
|
Advert | |
|
07-28-2010, 07:31 PM | #48 |
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
|
I've just read this entire thread, and I'm wondering about the "save to disk" action you keep taking. Is it possible that you've saved into the Calibre library storage folder? My reading of your early explanations suggest this.
When I first started using Calibre I found that option tremendously confusing. It's poorly named -- it's actually an export (copy), for use with non-recognized devices or for other sharing. It seems like it should be a "save my changes" or "update my library" function, but it's not. It can be used to export your entire library filtered to, say, a single format, then reimported back into Calibre after deleting the old library, thus shrinking and simplifying it by removing other conversions or sources. If you did save into the Calibre library folder, it would explain why you had "quadruples" of folders in the library, all with different folder names. I think you've moved your library already, but it's also possible that there were naming collisions that corrupted your sources and that permissions were mangled -- and that some of this was carried over to the new location. Just a thought. At this stage, I'd do an uninstall and a fresh install with a different library location on a local disk. Then import maybe six or eight books by three or four authors to experiment with so you're not juggling too many variables. |
07-28-2010, 07:36 PM | #49 |
Groupie
Posts: 192
Karma: 436584
Join Date: Jul 2010
Location: the beautiful Pacific Northwest
Device: Kindle Oasis, Pixel 2, Kindle Fire HD 8
|
Update and Updated Metadata.db link
Thank you guys, all of you, for your input.
Deep Breath. I spent the last few hours completely re-editing the metadata for my existing calibre file, with the view that clearly, what I was doing wasn't working. So, knowing that there is a tweak (that I don't have) I decided to do something pretty simple, spend the time to be thorough, and then come back here with the "fixed" database and the "fixed" i hope metadata.db file which i hope will acurrately reflect what I describe below. It seems that there is a problem, at least in my installation of Calibre, where having your own rules for what data you enter in to the "author sort" fields and what order you put the names in the "author" field creates havoc. It seems that I have cured at least a portion of the problem by systematically goign through me Calibre database (through the GUI!) and bulk-editing where possible and single-editing where only a single item existed for that author, such that for ALL entries, the following is true: Field Entry Author = Author's name in first_name last_name order Author sort = left blank Author sort automatically? check box = checked Where the result is that the list in all cases does display as firstname lastname, and does sort in all cases uplon lastname Which -- is definitely an improvement over what I had before. STill not what I want, but I can definitely work with it this way. So.. that being the case (it LOOKS like things are working), I went ahead and.... again... updated the rest of the metadata including cover art and ISBN numbers and summaries and series index with numbers where appropriate. So.. the metadata.db file I am about to share SHOULD display in all cases that the author name is in first_name last_name order and the list if you recreate it and sort on author SHOULD sort by last name (where "Anne McCaffrey" appears in a list not at the top but before Herman Melville and after (not immediately) Arthur C. Clarke. To Answer the earlier question about what happens if I add a new author with bad metadata, edit that metadata, exit otu of Calibre, and re-enter calbire: a. If I add Piers Anthony's 3-part series Battle Circle, use my old methodology of Anthony, Pier in both author fields and enter series index info for the files, what happens is the same gobbledygook I originally posted with, where the 3 different books appear in strangely different places when I sort on my whole library. but! b if I add Piers Anthony's Battle Circle series and use the new methodology, with firstname lastname order in the Author field and let Calibre stick whatever the hell it wants in the Author-Sort field, I get Piers Anthony in the list of authors in an "A" placement in the list in all 3 cases for that series. and (deep breath held while doing this one) c. if I then quit out of Calibre and restart the application, click on "author" to sort alphabetically, the order of authors goes as one would expect. meaning records go like this: Aesop Louisa May Alcott Piers Anthony Isaac Asimov Jane Austen Mark Bould Dan Brown etc etc Where there is one and only one place in the list where a person can find books by Jane Austen. Not 2, 3, 5 or if I had 10 books by her (which would be difficult!) 10 different places in the list. Jane Austen is now happily grouping with Jane Austen and she is not pretending to Clique with Jack London nor does she mysteriously follow Anne McCaffrey. And Sir Arthur is also staying in a single and appropriate place. So... I hope your research into the metadata.db below will corroborate my story. Next is the question, what tweak do I need and where do I get it, so that I can display authors my way and not get shown the highway? And... I'm glad to know that I shouldn't have to re-convert or save to disk in order for my metadata.db to get updated with my changes. But... I have lost my metadata changes so many times now I am afraid to finish this post without asking, how do ensure that I don't have to go do this metadata edit process over again? Bulk changing author names is not as bad of a task as going and collecting ISBNs again, re-downloading cover art again, and ensuring again that every entry in my database has both an epub and a lit file associated with that entry. I would dearly love never to have to do this work again for these files (currently, i put off the conversion portion of this work until after we figure out if there's more wrong with my installation than just this.) Ok here's the updated metadata.db link. And, in here the author should always be firstname lastname and the authorsort should be what Calibre makes it, meaning lastname, firstname. The rest of the metadata for each record may or may not have been updated, but for Author name and Author Sort fields, the above statement should be true without fail. http://www.mediafire.com/file/277k9f...17/metadata.db |
07-28-2010, 07:43 PM | #50 | |
Groupie
Posts: 192
Karma: 436584
Join Date: Jul 2010
Location: the beautiful Pacific Northwest
Device: Kindle Oasis, Pixel 2, Kindle Fire HD 8
|
Save to Disk - What I did
Quote:
I do not know what created so many separate folders in the calibre file structure for a single author beyond the initial import of books into the database. As several have posted here, when you change the authorname data in the Gui, it SHOULD change the folder structure to reflect those changes, leaving no extraneous folders in its wake. But, in practice, what I had when I began this thread was a folder for every iteration of authorname that had ever existed including odd versions which would never occur in a proper databases record (e.g., corrupted metadata on import remains in the database even after being corrected.) Not sure how to fix that one. I am hoping that having moved my calibre database to a new location on my hard drive, the old corrupt database can now be eliminated safely and I need not (hopefully) even look into this one because it should be * clean. ...and, my "save to disk" and "convert file" behaviors I hope will only need to be continued in the rarest of cases because if I understand everyone here correctly, I should not have to do either function for my metadata.db to be correct. It should correct itself when I click "ok" after changing metadata in the metadata edit dialog window. |
|
Advert | |
|
07-28-2010, 07:52 PM | #51 | ||||||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Info on the options is in that file. Use notepad to edit it or another ascii editor. |
||||||
07-28-2010, 07:54 PM | #52 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
07-28-2010, 08:04 PM | #53 | |||||
Groupie
Posts: 192
Karma: 436584
Join Date: Jul 2010
Location: the beautiful Pacific Northwest
Device: Kindle Oasis, Pixel 2, Kindle Fire HD 8
|
Quote:
This metadata.db looks correct to me. Yay! Quote:
What I want, and what I can't get calibre to do, is to let me identify that the author should display as authorlastname comma authorfirstname and it should sort based on authorlastname and not on authorfirtname, no matter where authorfirstname appears in the display. This problem persists whenever i edit the metadata to reflect what I want, and never do I specify my own data for authorsort at the same time telling the program to sort automatically. Quote:
Quote:
Quote:
Quote:
|
|||||
07-28-2010, 08:09 PM | #54 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@Merischino... on a precautionary note...
Another caveat for you so you don't get your carefully edited Author field accidentally overwritten... If you use the [Fetch metadata from server] button in the [Edit Metadata] window - to get book summary etc. Make sure the box (bottom left) labelled "Overwrite author and title with author and title of selected book" is unchecked.
|
07-28-2010, 08:20 PM | #55 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
# The algorithm used to copy author to author_sort
# Possible values are:
# invert: use "fn ln" -> "ln, fn" (the original algorithm)
# copy : copy author to author_sort without modification
# comma : use 'copy' if there is a ',' in the name, otherwise use 'invert'
author_sort_copy_method = 'invert'
Code:
# The algorithm used to copy author to author_sort
# Possible values are:
# invert: use "fn ln" -> "ln, fn" (the original algorithm)
# copy : copy author to author_sort without modification
# comma : use 'copy' if there is a ',' in the name, otherwise use 'invert'
author_sort_copy_method = 'copy'
|
|
07-28-2010, 08:26 PM | #56 | |||||||||||
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Last edited by Starson17; 07-28-2010 at 08:42 PM. |
|||||||||||
07-28-2010, 08:47 PM | #57 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Using "comma", if metadata has the author as "Smith, John" then it sorts under Smith. If it has author "John Smith", it still sorts under Smith. Using "copy" it sorts under John in the latter case. |
|
07-28-2010, 09:04 PM | #58 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
07-28-2010, 09:06 PM | #59 | ||||||||||
Groupie
Posts: 192
Karma: 436584
Join Date: Jul 2010
Location: the beautiful Pacific Northwest
Device: Kindle Oasis, Pixel 2, Kindle Fire HD 8
|
I think you misunderstand me
Before I get into the nitty gritty, I think I should preface this by telling you that I believe you are misunderstanding me.
In all cases, I know that Calibre has a default behavior and that as a software program in the absence of information from the user there are a set of rules it follows. Such that, importing books means it populates fields with whatever metadata (however correct or not, however complete or not) it finds in the source file. and, prior to any user entry, calibre has a set of rules for how it will treat each record in its database absent correction or update from a user. It is also my understanding that when I hit "e" and get a metadata correction form with fields which I can change or edit data, or enter data where there is none, that my user-entered changes should overrite or supercede whatever the default behavior was that Calibre used absent my corrections/changes/entries. That said, when up til and including now, I go into Calibre and I add a book from Anne McCaffrey that has incorrect metadata (for example, the title is a string of useless information like "data saved 02-4-12 v.x200" when what should be in that field is the title of a book. My expectation is that when I enter the title of the book into that field, erasing that meaningless string, Calibre should from that moment forward display the "title" in the "title field" in all database results tables, and that it should no longer display that meaningless string. now, speaking for the author or author-sort field. Let's say "author" was entered as the title incorrectly upon import. I would like the display in lists to show the author in a Lastname, Firstname format e.g. McCaffrey, Anne. So, in the Author (not the author sort) field, I enter exactly what I want to see in the list. Whatever calibre displayed before I made that change, whatever rules it followed, it should now as a result of my entry always list this particular record's authoer as McCaffrey, Anne. I understand that if I do nothing to correct the author-sort field, Calibre will perform a default procedure on what is in the "author" field, taking what's after the space and putting iti n the front, adding a comma, and putting whatever was before the space at the end. This is Calibre's default. Absent information from me, this is what Calibre will do. WITH information from me, where I leave the author-sort field blank and I check the "automatically sort" checkbox, this is also what calibre will do. WITH information from me, where I do NOT check that box, and I DO enter specific data which is different from what calibre's default behavior is, namely if I enter "McCaffrey, Anne" into the author-sort box, what I expect is that then it will Sort this record in a list of authors such that it will appear in the Middle of the list in a "m" location while displaying the author's name as "McCaffrey, Anne". Wat I have been explaining is that this last statement is false in all cases in my installation of calibre. I cannot make Calibre behave in this manner unless or until I install some tweak which I understand exists and which I understand is not included in default installs of Calibre. [QUOTE] Quote:
Quote:
Quote:
End conclusion? "Calibre isn't designed to do that" without a tweak. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Hence, this thread. Quote:
Again, I am not trying to be disagreeable. I am just trying to understand. And I do appreciate you taking the time and effort to read through this thread and provide feedback. |
||||||||||
07-28-2010, 09:11 PM | #60 |
Groupie
Posts: 192
Karma: 436584
Join Date: Jul 2010
Location: the beautiful Pacific Northwest
Device: Kindle Oasis, Pixel 2, Kindle Fire HD 8
|
Jackie - thank you!
Starson - thank you! I think I'm going to forgo the editing/tweaking that file until at least I better understand what is happening overall with my installation. There may as yet be something else wrong that is affecting what I see happening. It seems to be operating outside expected behavior and maybe something is corrupted, in which case I should probably leave well enough alone until either I do a clean install and make the weak and THEN add books... or maybe something else. i dont know. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smashwords tech difficulties grrrrrr | kebuzf | General Discussions | 7 | 09-28-2010 01:10 PM |
Calibre metadata.calibre not allowing updates | Chuckels550 | Calibre | 10 | 08-09-2010 05:12 PM |
calibre command line utilities and calibre defaults | astrodad | Calibre | 2 | 08-07-2008 03:27 PM |
Unutterably Silly technical difficulties | pshrynk | Lounge | 238 | 07-28-2008 06:00 PM |
DRM causing difficulties for libraries | Bob Russell | News | 0 | 06-12-2006 08:57 AM |