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 06-05-2020, 11:08 AM   #1
beaLollina
Member
beaLollina began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2020
Device: none
Question Automatically Assigning Tags To an Author

Hi everybody, I was wondering if it would be possible to automatically assign tags to an author (for example: nationality, genre, or other things) in a way that every time I fill out the author of a book, default tags are automatically assigned to it. Is there a way to do it?
beaLollina is offline   Reply With Quote
Old 06-05-2020, 05:50 PM   #2
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: 16,230
Karma: 18817784
Join Date: Mar 2012
Location: Sydney Australia
Device: none
AFAIK - not automatically. But there maybe a plugin that can do it, see ==>> Index of plugins

However, if you created an empty book titled "Metadata" for each Author with a set of metadata (e.g. Language:French; Tags:Melodrama, 19th Century; etc), then after adding a book by that author you would press Alt+A to list that authors books and use the Metadata Copy and Paste options to duplicate the metadata from the "Metadata" book to the book just added. This will replace any existing values.

To make it easy, I have the Keyboard Shortcuts for Metadata Copy and Paste options set to Ctrl+C and Ctrl+V respectively. And I had to set the Exclude fields when copy/pasting metadata tweak appropriately.

BR
BetterRed is offline   Reply With Quote
Old 06-06-2020, 11:02 AM   #3
beaLollina
Member
beaLollina began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2020
Device: none
Enlightening

Quote:
Originally Posted by BetterRed View Post
AFAIK - not automatically. But there maybe a plugin that can do it, see ==>> Index of plugins

However, if you created an empty book titled "Metadata" for each Author with a set of metadata (e.g. Language:French; Tags:Melodrama, 19th Century; etc), then after adding a book by that author you would press Alt+A to list that authors books and use the Metadata Copy and Paste options to duplicate the metadata from the "Metadata" book to the book just added. This will replace any existing values.

To make it easy, I have the Keyboard Shortcuts for Metadata Copy and Paste options set to Ctrl+C and Ctrl+V respectively. And I had to set the Exclude fields when copy/pasting metadata tweak appropriately.

BR

Thanks for the suggestion, you found a very curious method to assign author based's metadata. I don't think I'll go for it, for now I just assigned nationality by creating a new custom column of tags, used in combination with user categories for now it works fine! thanks though, it's a valid option, maybe for bigger libraries.
beaLollina is offline   Reply With Quote
Old 06-06-2020, 06:31 PM   #4
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: 16,230
Karma: 18817784
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by beaLollina View Post
Thanks for the suggestion, you found a very curious method to assign author based's metadata. I don't think I'll go for it, for now I just assigned nationality by creating a new custom column of tags, used in combination with user categories for now it works fine! thanks though, it's a valid option, maybe for bigger libraries.
Thanks for letting us know you have a solution.

I tried the User Categories approach, but it wasn't suitable for me because the User Categories plugin doesn't support custom columns.

I must confess I don't use the Metadata Copy & Paste technique on my Books library. I use it on my Media and Journal libraries, which have less than 200 and 50 Authors respectively. This makes it easy to find a 'real book' by the same Author with the metadata I want to apply to the 'book' just added.

BR
BetterRed is offline   Reply With Quote
Old 06-07-2020, 04:39 AM   #5
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 325
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook Touch HD
I have created a csv catalog with authors and nationality (which I update when a new author appears with his nationality).
When I introduce new books into Calibre, I use the Import CSV File to Update Metadata feature from the Job Spy plugin.
jbacelar is offline   Reply With Quote
Old 06-09-2020, 10:41 AM   #6
beaLollina
Member
beaLollina began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2020
Device: none
Quote:
Originally Posted by BetterRed View Post
Thanks for letting us know you have a solution.

I tried the User Categories approach, but it wasn't suitable for me because the User Categories plugin doesn't support custom columns.

I must confess I don't use the Metadata Copy & Paste technique on my Books library. I use it on my Media and Journal libraries, which have less than 200 and 50 Authors respectively. This makes it easy to find a 'real book' by the same Author with the metadata I want to apply to the 'book' just added.

BR
Hi, I'm sorry, think I have misspoken a little, I'm using the Categories Browser (Tag Browser): for now I'm using cross searches a lot, by clicking on a specific category item (tags, author or other values), and add or exclude other items from that search by clicking two or more times on them. It's a valid way to find books that already have been associated to tags, and my purpose was to find a solution for adding tags based on author features.
So I created just one column for the nationality, that's useful cause now I have a new category automatically filled with every value I put in this column. This helps a lot, doesn't solve the adding values problem though. I'm not sure I will create other columns for author's historic period activity, for example, I have a category for that, tag-based.

I checked out the method you suggested for copyng metadata, it's been a little tricky but I finally got it, the hard part is to add literally every field of metadata that you don't want to include on the copying process, because even author sort and title sort are included in this thing, and I'm not sure my list of excluded fields is complete at 100% I don't like the idea to overwrite fields that I'm not even aware of.
beaLollina is offline   Reply With Quote
Old 06-09-2020, 10:45 AM   #7
beaLollina
Member
beaLollina began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2020
Device: none
Quote:
Originally Posted by jbacelar View Post
I have created a csv catalog with authors and nationality (which I update when a new author appears with his nationality).
When I introduce new books into Calibre, I use the Import CSV File to Update Metadata feature from the Job Spy plugin.
Interesting, thanks for the suggestion. Does it overwrite existing metadata or just append the new default ones to them? Is nationality a simple tag or a specific column?
beaLollina is offline   Reply With Quote
Old 06-09-2020, 11:51 AM   #8
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 325
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook Touch HD
Quote:
Originally Posted by beaLollina View Post
Does it overwrite existing metadata or just append the new default ones to them? Is nationality a simple tag or a specific column?
Nationality is a custom column, and the values (if any) are overwritten in the process.
jbacelar is offline   Reply With Quote
Old 06-09-2020, 12:51 PM   #9
beaLollina
Member
beaLollina began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2020
Device: none
Quote:
Originally Posted by jbacelar View Post
Nationality is a custom column, and the values (if any) are overwritten in the process.
Thanks, but this would be not very handful if I need to apply new default tags author-based to already existing tags. Maybe would be better (in my case) with a new column just for author's attributes.

It would be nice to apply them by drag the author on a specific tag. It would be still a manual method, but faster. I would create a category with every single author's possible attribute (nationality, activity period, sometimes even genre, literature's type, if all his books are classic or not, even used style, or target of readers)

I looked for ways to solve this aspect with this method, I found 2 drawbacks: Authors can't be dragged on tags , and opening list Author for this purpose is impractical, would be better have the author list aside the category items, to drag authors on them. Wouldn't this make things easier? After that, every book with that author would inherit default attributes. Maybe I'm describing something that is already possible in some other way, I don't know!
beaLollina is offline   Reply With Quote
Old 06-09-2020, 07:14 PM   #10
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: 16,230
Karma: 18817784
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@beaLollina

These are the standard columns I exclude from Metadata Copy/Paste -- 'authors', 'author_sort', 'title', 'title_sort', 'pubdate', 'timestamp', 'cover'. I also exclude some custom columns, but they're specific to my Media and Journals libraries.

In this thread ==>> how to write enable calibredb on mac osx the OP mentions the LazyLibrarian program. It may be of interest to you - caveat, I think it is only available for Linux or MacOS.

I keep Author information in Evernote notes, see ==>> Calibre and Evernote. But, I don't copy any data from my Author notes into calibre library metadata columns. If an Author has an Evernote protocol link (evernote://blah-blah) in the Link field, when I click on Author name in Book Details that Author's Note is popped by Evernote.

BR
BetterRed is offline   Reply With Quote
Old 06-10-2020, 05:50 AM   #11
beaLollina
Member
beaLollina began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2020
Device: none
Quote:
Originally Posted by BetterRed View Post
@beaLollina

These are the standard columns I exclude from Metadata Copy/Paste -- 'authors', 'author_sort', 'title', 'title_sort', 'pubdate', 'timestamp', 'cover'. I also exclude some custom columns, but they're specific to my Media and Journals libraries.

In this thread ==>> how to write enable calibredb on mac osx the OP mentions the LazyLibrarian program. It may be of interest to you - caveat, I think it is only available for Linux or MacOS.

I keep Author information in Evernote notes, see ==>> Calibre and Evernote. But, I don't copy any data from my Author notes into calibre library metadata columns. If an Author has an Evernote protocol link (evernote://blah-blah) in the Link field, when I click on Author name in Book Details that Author's Note is popped by Evernote.

BR

Wow, this is a nice way to integrate Calibre with Evernote, thanks for the advices and the info. I got 24 fields to exclude and I fear they might be others hidden somewhere The first time I copied and pasted metadata I was impressed by how many things were changed. That's why for single books I prefer Alt+M to merge just additional metadata.
beaLollina is offline   Reply With Quote
Old 06-10-2020, 08:44 AM   #12
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: 16,230
Karma: 18817784
Join Date: Mar 2012
Location: Sydney Australia
Device: none
You can get a list of custom columns with the calibredb custom_columns command, or there's a tool in the JobSpy plugin,

Click image for larger version

Name:	Annotation 2020-06-10 224024.jpg
Views:	17
Size:	148.9 KB
ID:	179824

I've never mastered the Merge feature, it always does the opposite of what I want

BR
BetterRed is offline   Reply With Quote
Reply

Tags
author, automatic adding tags, tag

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Block certain tags from downloading or deleting them automatically. iridius Library Management 19 08-19-2015 07:52 PM
Automatically assigning series number jfrvk Library Management 5 01-30-2015 12:17 PM
Standardize Tags Automatically for Kindle Collections sitrucz Library Management 4 12-30-2012 06:53 PM
Assigning tags to user categories jackr Library Management 4 01-13-2012 03:59 AM
Convert/Delete Tags Automatically iridius Library Management 2 02-23-2011 09:47 AM


All times are GMT -4. The time now is 04:22 AM.


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