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 12-18-2014, 07:12 AM   #1
dc696969
Member
dc696969 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2013
Location: Preston, UK
Device: Kindle
Bulk update of metadata

I have a library with a custom column called Quality - which is used and formatted like the standard Rating column. Both fields are populated - but never both for the same book.

I would like to select all books where Rating is blank (easy enough) and set it equal to Quality.

I will then remove the Quality custom field.

How do I go about setting Rating equal to Quality for the selected books?
Thanks
dc696969 is offline   Reply With Quote
Old 12-18-2014, 07:27 AM   #2
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,021
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 dc696969 View Post
I have a library with a custom column called Quality - which is used and formatted like the standard Rating column. Both fields are populated - but never both for the same book.

I would like to select all books where Rating is blank (easy enough) and set it equal to Quality.

I will then remove the Quality custom field.

How do I go about setting Rating equal to Quality for the selected books?
Thanks
Bulk Metadata Edit: Search and Replace
theducks is offline   Reply With Quote
Advert
Old 12-18-2014, 07:41 AM   #3
dc696969
Member
dc696969 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2013
Location: Preston, UK
Device: Kindle
Quote:
Originally Posted by theducks View Post
Bulk Metadata Edit: Search and Replace
Not sure about that...

When I preselect a few records with Rating set to blank, I then opened Search/replace and found that I could not not specify Rating as a Search field - it does not appear in the drop down list.

I can type in 'quality' in the Replace with field but, of course Calibre does not know where to place it.
dc696969 is offline   Reply With Quote
Old 12-18-2014, 07:52 AM   #4
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,021
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 dc696969 View Post
Not sure about that...

When I preselect a few records with Rating set to blank, I then opened Search/replace and found that I could not not specify Rating as a Search field - it does not appear in the drop down list.

I can type in 'quality' in the Replace with field but, of course Calibre does not know where to place it.


Use the template (mode) input (top o list)

That should be #quality since it is a custom field
theducks is offline   Reply With Quote
Old 12-18-2014, 11:49 AM   #5
dc696969
Member
dc696969 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2013
Location: Preston, UK
Device: Kindle
Thanks for your reply, but this still does not work for me.

It appears that Rating or any derivative of it is available either for inspection or update - neither quality nor #quality are listed as valid destination fields.

Thanks anyway.
dc696969 is offline   Reply With Quote
Advert
Old 12-18-2014, 01:41 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: 31,021
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 dc696969 View Post
Thanks for your reply, but this still does not work for me.

It appears that Rating or any derivative of it is available either for inspection or update - neither quality nor #quality are listed as valid destination fields.

Thanks anyway.
You made the field, what kind is it?
I have a half-dozen custom (value) fields, they all appear on the list using their lookup name
theducks is offline   Reply With Quote
Old 12-18-2014, 02:07 PM   #7
BookJunkieLI
Evangelist
BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.
 
BookJunkieLI's Avatar
 
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
Quote:
Originally Posted by theducks View Post
You made the field, what kind is it?
I have a half-dozen custom (value) fields, they all appear on the list using their lookup name
@theducks: If I'm reading @dc696969's posts right he's not looking for the custom column he made; he's looking for the Rating column that is included as a standard column in Calibre. As far as I can tell that's not available to edit anywhere other than in library view.

@dc696969: Someone else with a better understanding of Calibre's internal structure may have a better way but I suspect the following is the best method for doing what you're looking for. Make sure both Rating and your custom column Quality are marked as visible in the library view and that they appear next to each other. In the search box enter

Code:
rating: false
This should limit your view to just the books without a rating entry. You can then go through and manually copy over the data from Quality to Rating. It's not fun and may take awhile depending on how many entries need to copied but it's the only surefire method that I know of.

You will not be able to change the name of the Rating column. None of the standard columns included with Calibre can be changed like that.

Hope that helped.

Edited to add: Not sure why I didn't find it before but Rating does appear on the Edit Metadata screen. If you have Preferences=>Behavior=>Edit Metadata single layout set to All In One Tab you can then individually manually copy over the data from your Quality column to Rating. Again, still no way that I can see to do it in bulk.

Last edited by BookJunkieLI; 12-18-2014 at 02:24 PM.
BookJunkieLI is offline   Reply With Quote
Old 12-18-2014, 02:53 PM   #8
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,021
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
He is needing to use Search and replace to merge/copy fields, one of which is custom
theducks is offline   Reply With Quote
Old 12-18-2014, 03:22 PM   #9
chaley
Grand Sorcerer
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: 12,415
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Rating-type columns cannot be changed with bulk edit S&R. However, since there are only 6 possible values, one can do it in 6 bulk edits. Search for rating:false and #quality:0, then select all and use bulk edit to set rating to 0. Repeat with rating:false and #quality:1. Etc. Should take less than a minute to do all 6 values.
chaley is offline   Reply With Quote
Old 12-18-2014, 11:49 PM   #10
dc696969
Member
dc696969 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2013
Location: Preston, UK
Device: Kindle
Thanks Chaley -
- For confirming that rating type fields cannot be updated by S&R.
- For the simple solution. Yes, it's a few steps, but it will work very well for me.
Thanks
dc696969 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to review bulk metadata Elwynd02 Library Management 5 11-16-2014 05:56 AM
series_index gets reset to [1] using "edit metadata in bulk, basic metadata" Boekenworm Library Management 4 11-25-2013 06:51 PM
Different covers with metadata bulk update? Virtual86 Library Management 2 09-25-2012 04:07 AM
Bulk downloading of metadata Taka B. Library Management 3 01-12-2012 05:09 PM
metadata in bulk Lorraine Froggy Calibre 1 11-14-2009 09:42 PM


All times are GMT -4. The time now is 07:56 AM.


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