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 11-15-2022, 02:25 AM   #1
killo3967
Member
killo3967 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
Transforming tags rules in metadata download

Hi.

I have found that when I create two different rules to transform tags when downloading metadata, the list of available tags is the same, i.e. all tags.

Shouldn't a tag, once used in a rule, disappear for the rest of the rules ?

I think that if the rules are executed one after the other, once a rule finds a tag and modifies it, there should not be another rule with the same tag.

But this is not the case, because all tags are available when I create a new rule.
killo3967 is offline   Reply With Quote
Old 11-15-2022, 02:45 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The list of tags is simply a convenience for when you are creating the rule. In actual usage, the tags will come from the downloaded metadata and have nothing to do with the list of tags available in the rule creation tool.
kovidgoyal is offline   Reply With Quote
Old 11-15-2022, 02:57 AM   #3
killo3967
Member
killo3967 began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
I already figured out that the list of tags comes from the downloaded metadata.
What I mean is that when I choose a tag for one rule, it is not available for another.
This way it is easier to manage tag rules in the metadata download.
killo3967 is offline   Reply With Quote
Old 03-21-2023, 05:47 AM   #4
mirino
Junior Member
mirino began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2023
Device: Pocketbook InkpadX
I have created 4 rules for tags



However, when I download metadata from the databazeknih.cz source, the rule is only applied to the first downloaded tag



Calibre 6.14
mirino is offline   Reply With Quote
Old 03-21-2023, 06:09 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
it will likely be a unicode normalization issue. The unicode normalization will probably be different between the tags you entered and those being downloaded. The plugin should normalize its tags to normal form.
kovidgoyal is offline   Reply With Quote
Old 03-21-2023, 06:18 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually, no calibre already normalizes downloaded tags. This should take care of it: https://github.com/kovidgoyal/calibr...80de1a7ed3ba1c
kovidgoyal is offline   Reply With Quote
Reply

Tags
metadata, transforming tags rules


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata download no longer includes tags wdwyer Library Management 2 06-21-2018 10:20 PM
Metadata download doesn't overwrite all existing tags Elwynd02 Library Management 9 12-14-2014 09:26 PM
Bulk metadata download and merge tags and select larger cover(s) hiperlink Calibre 2 03-26-2014 03:58 AM
Why tags download only after second click on "Download metadata"? fufu42 Library Management 2 12-08-2012 12:08 PM
Is there any way to download just the Rating metadata, not the Reviews and Tags. iridius Library Management 5 02-23-2011 05:26 PM


All times are GMT -4. The time now is 04:28 PM.


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