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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-29-2019, 05:54 PM   #1
CJHusVar
Member
CJHusVar began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2018
Device: Samsung Tab
Dynamic Metadata

I've poked around in the forums and haven't been able to find exactly what I'm looking for, if it's possible at all.

I'm looking for a way to dynamically add/change metadata based on a specific field.

For example, I'd like to populate tag values and a number of custom columns based on the value in the Series field. This would be after the books are added to Calibre, during the "polishing" process.
CJHusVar is offline   Reply With Quote
Old 07-29-2019, 07:13 PM   #2
Bookstooge
Fanatic
Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.
 
Bookstooge's Avatar
 
Posts: 588
Karma: 1829822
Join Date: May 2019
Device: Kindle Oasis 1st Gen
You definitely can do that. You have to create a custom column that takes values from other columns. Beyond that, I can't help you. But lots of other people should be able to give you the lowdown.
Bookstooge is offline   Reply With Quote
Advert
Old 07-29-2019, 07:33 PM   #3
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 19,045
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@CJHusVar - see ==>> The calibre template language and this sticky thread ==>> Plugboard, template, and custom composite column recipes

And the Column built from other columns ... column types

BR

Last edited by BetterRed; 07-29-2019 at 07:35 PM.
BetterRed is online now   Reply With Quote
Old 07-30-2019, 12:02 PM   #4
CJHusVar
Member
CJHusVar began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2018
Device: Samsung Tab
Bookstooge & BR, thank you for your replies.

I've uses custom columns before, I'm just not seeing how it would work in this instance. Call it a failure of imagination on my part...

I have a library for all my gaming items (roleplaying and board games). For these I have custom columns for things like 'Game System', 'Genre' and 'Setting'. What I would like to happen is that if I add an item to the 'Dungeons & Dragons' series, the other custom columns would get updated with the appropriate values automatically. Other series would have other values. It seems like I would need a lot of composite columns to accomplish this.

My wish (pipe dream?) would be to right-click on a series in the Tag Browser and have a menu item for 'Apply Metadata' and have a menu where I put in the values for the columns I want that series to have.
CJHusVar is offline   Reply With Quote
Old 07-30-2019, 03:28 PM   #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: 28,431
Karma: 48895676
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
A calculated column uses predefined (formula by the user) code to populate.
If this Then that Else theotherchoice

What you seem to want is mind reading mode. Where is the decision tree?
theducks is offline   Reply With Quote
Advert
Old 07-30-2019, 04:29 PM   #6
chaley
Grumpy old git
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.
 
chaley's Avatar
 
Posts: 10,971
Karma: 5053935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by CJHusVar View Post
I have a library for all my gaming items (roleplaying and board games). For these I have custom columns for things like 'Game System', 'Genre' and 'Setting'. What I would like to happen is that if I add an item to the 'Dungeons & Dragons' series, the other custom columns would get updated with the appropriate values automatically. Other series would have other values. It seems like I would need a lot of composite columns to accomplish this.
In your example, you would need 3 composite columns: 'Game System', 'Genre', and 'Setting'. These would each use a template to compute the value(s) for a given book using the other metadata for that book.
Quote:
My wish (pipe dream?) would be to right-click on a series in the Tag Browser and have a menu item for 'Apply Metadata' and have a menu where I put in the values for the columns I want that series to have.
This won't happen any time soon.

Assuming that the values are not arbitrary i.e. computable by a predefined template (program), you can get part way there by using bulk metadata global search and replace. You can use "template mode" to generate an set of values for a book that are then assigned to any one column in that book. In your example, you would need three saved search and replace specifications.
chaley is offline   Reply With Quote
Old 07-30-2019, 06:26 PM   #7
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 19,045
Karma: 22381319
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by CJHusVar View Post
Bookstooge & BR, thank you for your replies.

I've uses custom columns before, I'm just not seeing how it would work in this instance. Call it a failure of imagination on my part...

I have a library for all my gaming items (roleplaying and board games). For these I have custom columns for things like 'Game System', 'Genre' and 'Setting'. What I would like to happen is that if I add an item to the 'Dungeons & Dragons' series, the other custom columns would get updated with the appropriate values automatically. Other series would have other values. It seems like I would need a lot of composite columns to accomplish this.

My wish (pipe dream?) would be to right-click on a series in the Tag Browser and have a menu item for 'Apply Metadata' and have a menu where I put in the values for the columns I want that series to have.
Have a look at the Entities Manager plugin. It may offer an alternate approach.

BR
BetterRed is online now   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
dynamic IP howi42 Calibre 3 01-13-2018 11:19 AM
Dynamic categories renis052 Recipes 3 06-26-2017 03:21 PM
Looking for help with Dynamic DNS Hampshire Nanny General Discussions 4 12-24-2016 09:11 PM
Dynamic fonts? Ghitulescu ePub 8 01-27-2015 01:10 PM
Dynamic keymaps Mackx iRex Developer's Corner 42 04-25-2012 08:56 AM


All times are GMT -4. The time now is 08:19 AM.


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