Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2011, 09:48 AM   #1
jvik
Member
jvik began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2011
Location: Phoenix, AZ
Device: Nook
Bulk Metadata Editing not working

I'm pretty new to calibre, so it's probably something simple I'm doing wrong. I'm running the 7.37 version of calibre.

Adding books to calibre, my file-system naming convention has been
last-name, first-name - title
and I get "last-name, first-name" in the Authors field. So I'm trying to use the bulk editing feature for metadata to change that to "first-name last-name", but it's not working either with regex mode or character match mode.

I have 10 books by Pete Overshoe selected. The author field is set to "Overshoe, Pete". In both Character match and regex mode, when I set the search field to Authors, the Book 1 ... List shows the value as "Overshoe | Pete". After setting the search for and replace fields appropriately for the mode I'm using, if I enter "Overshoe, Pete" in the test text, the test result correctly shoes "Pete Overshoe", but the book list results remain unchanged and if I apply the changes there is no result.

I'm pretty sure I was able to do this in 7.35. Is this a bug in the new version?

Thanks for any suggestions.
jvik is offline   Reply With Quote
Old 01-04-2011, 09:51 AM   #2
jvik
Member
jvik began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2011
Location: Phoenix, AZ
Device: Nook
I know that with the example I used - all books by a single author - I could just set the author with the basic metadata page, but the real goal is to be able to do it for multiple authors with regular expressions.

Thanks.
jvik is offline   Reply With Quote
Old 01-04-2011, 09:56 AM   #3
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,778
Karma: 1212746
Join Date: Jan 2010
Location: France
Device: Many android devices
Works for me. See the attached screenshot.

Edit: changed screenshot to use regexps against more than one author.
Attached Thumbnails
Click image for larger version

Name:	Clipboard02.jpg
Views:	67
Size:	125.7 KB
ID:	64084  

Last edited by chaley; 01-04-2011 at 10:02 AM.
chaley is offline   Reply With Quote
Old 01-04-2011, 10:14 AM   #4
jvik
Member
jvik began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2011
Location: Phoenix, AZ
Device: Nook
Huh! You're right - that works. So then my question becomes: Why does the comma that's in the actual author field display as a pipe symbol in the books list? Silly me, I was trying to match the character that was in the author field:-)
jvik is offline   Reply With Quote
Old 01-04-2011, 10:26 AM   #5
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,778
Karma: 1212746
Join Date: Jan 2010
Location: France
Device: Many android devices
The comma/| stuff comes from how calibre manipulates lists of things. In list form, each 'thing' is complete and self contained. In string form, all of the 'things' are put together, separated by commas. The two are intended to be interchangeable, which creates a problem if a 'thing' contains a comma. "Bar, Foo" would become "Bar" "Foo".

For tags, the problem is avoided by forbidding commas in a tag. This doesn't work for authors, so the problem is avoided by converting commas to vertical bars.

This process is rather a pain inside calibre, because we need to be aware of what form we are using. In early versions of S/R, it was too complicated in search/replace to deal with both the interchange of single- and multiple-valued fields and bar conversion. That could be changed now that S/R is more intelligently dealing with multiples using the user-settable separator. I will look at it.

Probably more than you wanted to know.
chaley is offline   Reply With Quote
Old 01-04-2011, 10:34 AM   #6
jvik
Member
jvik began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2011
Location: Phoenix, AZ
Device: Nook
Actually, exactly what I wanted to know. That makes sense. Thanks.
jvik is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing Metadata in Bulk ballast Calibre 5 08-15-2010 04:14 PM
Indivdual editing metadata has mysteriously stopped working for me speakingtohe Calibre 3 06-14-2010 02:46 AM
unexpected behavior when bulk editing curantil Calibre 1 06-07-2010 07:45 PM
metadata in bulk Lorraine Froggy Calibre 1 11-14-2009 10:42 PM
Editing Metadata in Bulk Question lwpack Calibre 10 07-20-2009 12:40 AM


All times are GMT -4. The time now is 05:23 AM.


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