As
requested by JimmXinu.
Quote:
Originally Posted by Amalthia
I'm now curious to know how other people use calibre to normalize their metadata, only I'm not sure this thread is the place to find out?
|
There's a few examples on this page:
https://github.com/JimmXinu/FanFicFa...dataManagement
Here's one I added (and use sometimes):
Code:
Removing redundant character entries
Some fandoms have characters of indeterminate gender (e.g. player characters in video games), and authors sometimes add both a general and gender-specific entry.
[defaults]
exclude_metadata_pre:
## Removes "CharacterName" if Male or Female CharacterName is already present.
characters=~^CharacterName&&characters=~^(Male|Female) CharacterName
Also this, specifically for AO3:
Code:
More selective chapterslashtotal [Archive of Our Own]
For Archive of Our Own, this will display '5/10' in its entirety, but only '5' for '5/5' or '5/?'. Replaces the default 'Chapters' on the titlepage.
[archiveofourown.org]
chapterslashtotal_label: Chapters
titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,chapterslashtotal,numWords,publisher,description
add_to_replace_metadata:
chapterslashtotal=>^(\d+)/\1$=>\1
chapterslashtotal=>/\?$=>
For Mass Effect, I prefer to split Trilogy and Andromeda (they're literally in different galaxies, lol). But there's plenty of stories with ambiguous entries, mostly ffnet or before AO3 split it. So for these, I merge all the ambigious entries to Mass Effect, then check for a few Andromeda-specific characters (added as needed). If it doesn't match those, it falls back to Trilogy. Never got a miscategorization with this.
This could probably also apply to other fandoms, though I couldn't tell you of any off-hand.
Code:
## Splitting up Mass Effect into Trilogy and Andromeda
category=>^(Mass Effect - Various Authors|Mass Effect \d|Mass Effect - All Media Types)$=>Mass Effect
category=>^Mass Effect$=>Mass Effect: Andromeda&&characters=~(Ryder|Jaal Ama Darav)
category=>^Mass Effect$=>Mass Effect Trilogy