Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2013, 09:21 AM   #1
crdf
Connoisseur
crdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animals
 
crdf's Avatar
 
Posts: 54
Karma: 6910
Join Date: Jul 2013
Device: Kindle Touch
Question Q: Adding books without creating multiple authors?

Hi guys and sorry if this has been discussed.

Calibre looks like a really good problem but gosh I am unable to do it what I want. Maybe I haven't done enough research, but asking people is always easier.

I made an experiment. I had a folder with few books by the same author.
I added those books to calibre and it created a separate author for each book and a separate folder for each author and sometimes just for the book titles.

I'm guessing this is because of the way Calibre reads the data (metadata). Can you guys please advise what settings I should use so that all the books are under the same author and in the same folder (subfolder are ok, but not a folder for each book).

Thank you.
crdf

Last edited by crdf; 07-02-2013 at 09:27 AM.
crdf is offline   Reply With Quote
Old 07-02-2013, 10:06 AM   #2
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
crdf,
The question you asked cannot be answered directly because it depends on the books that you want to add. There are three ways to do this:

1)With some books you will get valid metadata from inside the ebook file. For other books, the metadata inside is useless. There is no way to know for sure without looking inside the book (which might be too advanced for you just yet) or simply adding the book and seeing what you get.

2) Other books have the metadata incorporated within the ebook's filename. There are several different naming schemes that are in use, so adding these books requires an appropriated regex for each naming scheme. If the regex doesn't sufficiently match the scheme, the metadata that is imported will be partially or totally wrong. Regardless, any variation(s) in data will result in non-conforming records (like the author issue you've already seen).

You could take a look at this older topic, Tyrannosaurus Regex for a regex posted by me (but created by multiple people) that is pretty good at handling an Author - Series Series_Index - Title filename scheme. That is a very complex regex. There are similar regexes for other schemes posted in here somewhere.

3) Finally, it is possible to obtain metadata from the internet from a variety of websites. This requires getting the Author, Title and (usually) the ISBN metadata correct before you can make use of this feature. Generally this should be done slowly and carefully until you are more familiar with the feature as it overwrites metadata.

None of these methods are perfect. You will want to manually edit your book records to arrange things to best suit your needs.
Sabardeyn is offline   Reply With Quote
Advert
Old 07-02-2013, 10:07 AM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
If you fix the authors once they are in calibre, the underlying directory structure will automatically be fixed as well. To do this, select all the books that should have the same author, press the edit metadata button and enter the correct authors name. Or select it from the drop down list. When you press the OK button, the metadata will be updated and the files renamed and moved as needed.
davidfor is offline   Reply With Quote
Old 07-02-2013, 11:41 AM   #4
fidvo
Addict
fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.
 
Posts: 309
Karma: 1645952
Join Date: Jun 2012
Device: none
If you're asking about the folder structure in Calibre's library on your hard drive, my advice to you can be summed up in two words. Don't touch.

For a more detailed explanation, read this.
fidvo is offline   Reply With Quote
Old 07-02-2013, 11:55 AM   #5
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: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Besides the 'don't touch (and you don't really need to even go there in 99% of the cases)

Multiple (similar) Authors is usually because of differences in Naming
E. E. Smith
E. E. "Doc" Smith
E.E. Smith
E E Smith
Edward Elmer Smith

Use the 'Tag Browser' Authors section
Find the unwanted variant: Right click Rename

You will need to type the desired name as there is no lookup help to 'remap to an existing name'
theducks is offline   Reply With Quote
Advert
Old 07-02-2013, 12:53 PM   #6
crdf
Connoisseur
crdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animals
 
crdf's Avatar
 
Posts: 54
Karma: 6910
Join Date: Jul 2013
Device: Kindle Touch
Sabardeyn so far that regexp works very nice while importing folders.

davidfor thank you for the helpful tips. I liked the metadata edit and it worked as well. Now I have only one folder not 26 for the author.

theducks the problem was probably because not all books had a proper metadata, Calibre used titles for authors names. That is why I prefer taking the name from the folder because I have already done that with another program and have sorted my folders.

Now it would be nice If I find a way to extract series info as well.

Thank you all for the help so far.

Edit: I see there is (?P<series_index>\d+) in the regexp provided from Sabardeyn. Is it possible there is just no data on the series?

Edit 2: Few more questions:

1. How can I remove author name from title name?
2. Can I assign genre to author?

Last edited by crdf; 07-02-2013 at 01:07 PM.
crdf is offline   Reply With Quote
Old 07-02-2013, 03:39 PM   #7
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: 31,047
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:
Originally Posted by crdf View Post
Edit 2: Few more questions:

1. How can I remove author name from title name?
2. Can I assign genre to author?
1) select all books with 1 Kind of author - Title formatting
Bulk Metadata edit: Search and replace tab
This is where you can Trim/Move/modify field contents in bulk
You can write a REGEX to match the current data pattern and apply it
Just remember, some kinds of changes will take 3 or 4 passes to reach the end results.

Repeat book selection loop for each new pattern

You can save your searches if you think you will need them later.

BACKUP YOUR LIBRARY before starting. If things go wrong (bulk changes can be dangerous, fast ) , a restore might be needed. There is no other UNDO
theducks is offline   Reply With Quote
Old 07-02-2013, 04:08 PM   #8
crdf
Connoisseur
crdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animals
 
crdf's Avatar
 
Posts: 54
Karma: 6910
Join Date: Jul 2013
Device: Kindle Touch
Thumbs up

Thank you theducks.
crdf is offline   Reply With Quote
Old 07-02-2013, 06:30 PM   #9
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by crdf View Post
Sabardeyn so far that regexp works very nice while importing folders.

davidfor thank you for the helpful tips. I liked the metadata edit and it worked as well. Now I have only one folder not 26 for the author.

theducks the problem was probably because not all books had a proper metadata, Calibre used titles for authors names. That is why I prefer taking the name from the folder because I have already done that with another program and have sorted my folders.

Now it would be nice If I find a way to extract series info as well.

Thank you all for the help so far.

Edit: I see there is (?P<series_index>\d+) in the regexp provided from Sabardeyn. Is it possible there is just no data on the series?

Edit 2: Few more questions:

1. How can I remove author name from title name?
2. Can I assign genre to author?
If you have the books in folder name with author correct you can bulk import each folder and then bulk edit metadata
Takes a bit longer but easier than hunting down the errors
Helen
speakingtohe is offline   Reply With Quote
Old 07-03-2013, 07:22 AM   #10
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
crdf,
Yes, it is possible there is no series info for a particular book.

But one thing to be very careful of with that regex is that all the fields are separated by the exact pattern of " - " (space dash space). If other characters are used in the filename, the data will not be imported incorrectly. Or, if the filenames follow a different field pattern (like: Title - Author - Series Series_Index) then data will not be imported correctly.
Sabardeyn is offline   Reply With Quote
Old 07-03-2013, 10:51 AM   #11
crdf
Connoisseur
crdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animalscrdf is kind to children and small, furry animals
 
crdf's Avatar
 
Posts: 54
Karma: 6910
Join Date: Jul 2013
Device: Kindle Touch
Thank you Sabardeyn, but still this regexp gives less error then the default one.

When I search for a book that I have in few formats, all the formats are shown in the "formats" column and there is only one entry for the book. That is great, but can I remove just some of the formats for only selected books? Edit metadata - right upper corner - remove formats. Right? Similar with the bulk option.
crdf is offline   Reply With Quote
Old 07-03-2013, 11:57 AM   #12
CWatkinsNash
IOC Chief Archivist
CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.
 
CWatkinsNash's Avatar
 
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
Quote:
Originally Posted by crdf View Post
That is great, but can I remove just some of the formats for only selected books? Edit metadata - right upper corner - remove formats. Right? Similar with the bulk option.
Select the desired books in the library view, then:

Right click > Remove Books > Remove files of a specific format from selected books.

A window opens showing which formats are available for deletion. Select the format to delete, click ok.
CWatkinsNash is offline   Reply With Quote
Old 07-03-2013, 10:10 PM   #13
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Yes you can use the Edit Metadata screen to delete formats. Or you can use the method that CWatkinsNash suggested. Both will work.

Just make sure you highlight the correct book(s) with her suggestion. It's easy to change the highlighting and not realize you have done so.
Sabardeyn is offline   Reply With Quote
Old 07-03-2013, 10:53 PM   #14
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: 31,047
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:
Originally Posted by Sabardeyn View Post
Yes you can use the Edit Metadata screen to delete formats. Or you can use the method that CWatkinsNash suggested. Both will work.

Just make sure you highlight the correct book(s) with her suggestion. It's easy to change the highlighting and not realize you have done so.
At least the newer versions of Calibre now show the number of books selected down on the bottom (status line)
theducks is offline   Reply With Quote
Old 07-04-2013, 09:00 AM   #15
Claudio_ch
Trying hard, very hard
Claudio_ch began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2013
Location: Switzerland
Device: Samsung
Hi, I am new here.
Before posting this ticket I tried to find the answer looking around the various posts and threads. Not find anything that solves my problem I come to ask for help here even if the thread is not exactly the proper one, please excuse me if I did it wrong.
I have quite a lot of files in a format readable by the regex I already used or modified, but when I have the format Surname Name - Title.format and use the standard regex (?P<author>[^_]+?) - (?P<title>.+)
I obtain in return in the Author(s) column field
Name Surname and in the author_sort Surname,Name.
I didn't found any explanation on how to do it.
Second request, how can I bulk correct the hundreds of books already inserted in the wrong way?

Thank you in advance for amy help
Claudio_ch is offline   Reply With Quote
Reply

Tags
author catalog, folders


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find easily books with multiple authors? wladdy Calibre 4 06-20-2014 01:32 PM
Make books appear in multiple locations instead of creating hybrid folders Feather_Qwill Library Management 7 06-02-2013 04:45 AM
Multiple selection of books in Adding MattOnTheNet Library Management 5 08-03-2012 03:30 AM
Touch - Adding Multiple Books to Collection nynaevelan Amazon Kindle 6 11-21-2011 10:39 AM
Adding books by titles rather than authors on calibre? truewt Calibre 6 07-02-2011 05:14 PM


All times are GMT -4. The time now is 02:00 AM.


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