Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2010, 11:05 AM   #1
DrJanet
MacOS 10.6.x, iPhone 3G
DrJanet began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: iPhone
Author Sort is messing things up

Hi,

Thank you for Calibre - it's like iTunes for ebooks; you've done a great implementation. Unfortunately, the actions of the Author Sort field is severely limiting the app's usefulness for me. I have read in earlier posts that it cannot be deactivated (too bad), but, is there any way to modify or over-ride it? Or, can we just chose to sort on the authors field directly?

Here's the problem: I have imported over 2500 books, with a few thousand more to go. The file names all had the format of AuthLastName, FirstName & 2ndAuthor - Series - Title. So they alphabetized by the authors' last name.
ex. Bradley, Marion Zimmer & Ross, Deborah J - (Darkover Clingfire Trilogy 1) - The Fall of Neskaya (.rtf v1.0).rar

When imported, Calibre correctly breaks the filename down to put the authors and series into the author field and the title into the title field, which is fine. (Of course I would love to be able to set - as a delimiter and direct Caliber to put the series, and series order into other fields, but that's for the future wishlist; see the MS Excel UI for this ;o) So I end up with the author's name looking like this: Bradley, Marion Zimmer & Ross, Deborah J - (Darkover Clingfire Trilogy 1).

Author Sort seems to assume that the text string following the last space is really the authors' last name, and that the rest is the FirstName, so it ends up as 1), Bradley, Marion Zimmer & Ross, Deborah J - (Darkover Clingfire Trilogy totally screwing up the alphabetizing order which was correct to begin with. Checking the Swap author firstname and lastname box in the Add prefs seems to have no effect on this behaviour. Worse, when I edit the metadata by hand (which isn't really viable with this many books, anyway), and paste the authors name into the author sort field, it reverts back to the original incorrect entry. The only fix is to remove everything from the author field (there is no place to add additional authors, btw) and swap the first and last name. It's just not feasible with this many books.

So, please tell me there's another fix for this, or will be in the future. Thanks.
DrJanet is offline   Reply With Quote
Old 01-05-2010, 11:06 AM   #2
DrJanet
MacOS 10.6.x, iPhone 3G
DrJanet began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: iPhone
BTW, I'm using the Mac version.
DrJanet is offline   Reply With Quote
Advert
Old 01-05-2010, 12:05 PM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Normnally the Author field is expected to be in the form FirstName LastName. When I do this the Author Sort field gets set as expected.

Until Calibre treats FirstNames(s) and LastName as distininct fields I do not think that a tidy solution that suits everyone is possible.
itimpi is offline   Reply With Quote
Old 01-05-2010, 12:07 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,862
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can add multiple authors by using the & delimiter and edit the author sort field directly using the edit meta information dialog. You can also customize how metadata is read from filenames view Preferences->Add/Save
kovidgoyal is offline   Reply With Quote
Old 01-05-2010, 12:08 PM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by itimpi View Post
Until Calibre treats FirstNames(s) and LastName as distininct fields I do not think that a tidy solution that suits everyone is possible.
As of version 0.6.31 there is a checkbox in configuration for ADD/SAVE that swaps the authors firstname and lastname. It works great for authors without a middle name or initial. There are still problems with those.
Starson17 is offline   Reply With Quote
Advert
Old 01-05-2010, 12:35 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DrJanet View Post
Hi,

Thank you for Calibre - it's like iTunes for ebooks; you've done a great implementation. Unfortunately, the actions of the Author Sort field is severely limiting the app's usefulness for me. I have read in earlier posts that it cannot be deactivated (too bad), but, is there any way to modify or over-ride it? Or, can we just chose to sort on the authors field directly?

Here's the problem: I have imported over 2500 books, with a few thousand more to go. The file names all had the format of AuthLastName, FirstName & 2ndAuthor - Series - Title. So they alphabetized by the authors' last name.
ex. Bradley, Marion Zimmer & Ross, Deborah J - (Darkover Clingfire Trilogy 1) - The Fall of Neskaya (.rtf v1.0).rar

When imported, Calibre correctly breaks the filename down to put the authors and series into the author field and the title into the title field, which is fine. (Of course I would love to be able to set - as a delimiter and direct Caliber to put the series, and series order into other fields, but that's for the future wishlist; see the MS Excel UI for this ;o) So I end up with the author's name looking like this: Bradley, Marion Zimmer & Ross, Deborah J - (Darkover Clingfire Trilogy 1).

Author Sort seems to assume that the text string following the last space is really the authors' last name, and that the rest is the FirstName, so it ends up as 1), Bradley, Marion Zimmer & Ross, Deborah J - (Darkover Clingfire Trilogy totally screwing up the alphabetizing order which was correct to begin with. Checking the Swap author firstname and lastname box in the Add prefs seems to have no effect on this behaviour. Worse, when I edit the metadata by hand (which isn't really viable with this many books, anyway), and paste the authors name into the author sort field, it reverts back to the original incorrect entry. The only fix is to remove everything from the author field (there is no place to add additional authors, btw) and swap the first and last name. It's just not feasible with this many books.

So, please tell me there's another fix for this, or will be in the future. Thanks.
Calibre does not parse out Series and series_index from file names by default.
You probably need to edit out by hand and enter additional fields.
Series: Darkover Clingfire Trilogy
Book: 1

There is even less standardization in title naming with series than there is for serial books.
Star Wars: The Return of the Jedi or Return of the Jedi?
Just try and do a Meta-Data fetch on some of these compound titles.

Database Normalization is a bear to accomplish
theducks is offline   Reply With Quote
Old 01-06-2010, 11:02 AM   #7
DrJanet
MacOS 10.6.x, iPhone 3G
DrJanet began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: iPhone
Quote:
Originally Posted by kovidgoyal View Post
You can add multiple authors by using the & delimiter and edit the author sort field directly using the edit meta information dialog. You can also customize how metadata is read from filenames view Preferences->Add/Save

Thanks for your reply. I see what you are saying about multiple authors. Of course with these authors one still has to tweak it:

Authors: Bradley, Marion Zimmer & Lackey, Mercedes
Author Sort: Zimmer, Bradley, Marion & Mercedes, Lackey,

This is manageable, but my main problem is with the other several thousand books I have. They are, unfortunately, already named in the format I have mentioned. Swapping the 1st & last name wouldn't work due to the extraneous info in their titles, and bringing them in without the sway yields correctly parsed data in the title & authors fields. Then author sort comes along and screws it all up.

So, I'll ask again, is there any way to modify, work around it or over-ride it, without having to edit each entry manually? If not, is a fix for this something we are likely to see in the future? I don't mind paying for such a useful application.
DrJanet is offline   Reply With Quote
Old 01-06-2010, 11:06 AM   #8
DrJanet
MacOS 10.6.x, iPhone 3G
DrJanet began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: iPhone
Quote:
Originally Posted by itimpi View Post
Until Calibre treats FirstNames(s) and LastName as distininct fields I do not think that a tidy solution that suits everyone is possible.
Yes, that's why I would want to at least disable it, or have the choice to sort on the Authors field directly. Swapping the names is even messier in my case due to the extra info in the file names. Thanks.
DrJanet is offline   Reply With Quote
Old 01-06-2010, 11:13 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,862
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm afraid manual correction is your only option at this point.
kovidgoyal is offline   Reply With Quote
Old 01-06-2010, 11:17 AM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DrJanet View Post
Thanks for your reply. I see what you are saying about multiple authors. Of course with these authors one still has to tweak it:

Authors: Bradley, Marion Zimmer & Lackey, Mercedes
Author Sort: Zimmer, Bradley, Marion & Mercedes, Lackey,

This is manageable, but my main problem is with the other several thousand books I have. They are, unfortunately, already named in the format I have mentioned. Swapping the 1st & last name wouldn't work due to the extraneous info in their titles, and bringing them in without the sway yields correctly parsed data in the title & authors fields. Then author sort comes along and screws it all up.

So, I'll ask again, is there any way to modify, work around it or over-ride it, without having to edit each entry manually? If not, is a fix for this something we are likely to see in the future? I don't mind paying for such a useful application.
So, how many wrong name order Author combinations (assuming the Extraneous stuff got removed)?
Sort your Library by the Author column. Highlight the same names (desired to be exactly the same) and use Bulk Meta-data edit to fix the group in 1 step, only 300 to go.
theducks is offline   Reply With Quote
Old 01-07-2010, 09:34 AM   #11
DrJanet
MacOS 10.6.x, iPhone 3G
DrJanet began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: iPhone
Quote:
Originally Posted by theducks View Post
So, how many wrong name order Author combinations (assuming the Extraneous stuff got removed)?
Sort your Library by the Author column. Highlight the same names (desired to be exactly the same) and use Bulk Meta-data edit to fix the group in 1 step, only 300 to go.
Lots ;o) Sorting by Author is a non-starter since Author Sort totally mixes them up. So far, if I decide to use Calibre and invest the time, I would have to do a search on each author, then apply bulk edits. The kicker is that my books are already in the proper order by author in the folders on my drive, so the cost/benefit ratio of Calibre is close to 1. Thanks.
DrJanet is offline   Reply With Quote
Old 01-07-2010, 09:37 AM   #12
DrJanet
MacOS 10.6.x, iPhone 3G
DrJanet began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: iPhone
Quote:
Originally Posted by theducks View Post
Calibre does not parse out Series and series_index from file names by default.

Database Normalization is a bear to accomplish
Tell me about it! i work in healthcare IT and data normalization is one of the biggest stumbling blocks to creating an electronic medical record. Thanks for your reply.
DrJanet is offline   Reply With Quote
Old 01-07-2010, 09:43 AM   #13
DrJanet
MacOS 10.6.x, iPhone 3G
DrJanet began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: iPhone
Quote:
Originally Posted by kovidgoyal View Post
I'm afraid manual correction is your only option at this point.
Oh, too bad. Do you have any plans for continuing to work on Calibre and possibly modifying this in the future? If so, I have some other UI suggestions I would be happy to share with you, if you like. It is really a very nice piece of software that is certainly worth improving upon. Thank you.
DrJanet is offline   Reply With Quote
Old 01-07-2010, 10:07 AM   #14
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by DrJanet View Post
Oh, too bad. Do you have any plans for continuing to work on Calibre and possibly modifying this in the future? If so, I have some other UI suggestions I would be happy to share with you, if you like. It is really a very nice piece of software that is certainly worth improving upon. Thank you.
You have several options:

First, there is manual changing, but that's not viable.

Second, you can rewrite the open code.

Third, you can bulk preprocess your books to rename them to the way that calibre prefers (firstname lastname). That's probably the easiest for you. I suggest Booksorter. I've also used batch files to do this job. I made a temporary copy of the books, bulk renamed and then imported them.

Fourth, you can use calibredb to output the opf file metadata, process it with SED to fix your author names, and use calibredb again to bring it back in. I did this on thousands of books, and it's slow, but it works.

BTW, you wrote"Of course I would love to be able to set - as a delimiter and direct Caliber to put the series, and series order into other fields, but that's for the future wishlist."

I'm not sure if you realize it, but it's quite easy to automatically put the series and series_index into other fields using the regex expression in Add/Save. A search on "regex" here will give you expressions to match your current filename format and bring in those fields correctly.

Good Luck.

Last edited by Starson17; 01-07-2010 at 10:11 AM.
Starson17 is offline   Reply With Quote
Old 01-07-2010, 11:16 AM   #15
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DrJanet View Post
Lots ;o) Sorting by Author is a non-starter since Author Sort totally mixes them up. So far, if I decide to use Calibre and invest the time, I would have to do a search on each author, then apply bulk edits. The kicker is that my books are already in the proper order by author in the folders on my drive, so the cost/benefit ratio of Calibre is close to 1. Thanks.
You mis-understood me.
Sort the Displayed list to show side by side by side.
This changes nothing except the display order on the screen.
Now you can see the similars. I fix Publisher info this way
Baen Books, Baen Pub., Baen Publishers, Baen. All get Highlighted and set to my standard: Baen Books. in a few clicks.
theducks is offline   Reply With Quote
Reply

Tags
author sort


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Author sort knyc Calibre 3 09-25-2010 05:04 AM
Author Sort thomasmorus Calibre 39 08-27-2010 04:55 PM
Author Sort wexdan Calibre 2 10-22-2009 03:21 PM
Author Sort polly Calibre 6 10-04-2009 08:22 AM
Author(s) & Author Sort BobF Calibre 11 01-02-2009 05:01 PM


All times are GMT -4. The time now is 12:20 AM.


MobileRead.com is a privately owned, operated and funded community.