View Single Post
Old 05-30-2015, 10:21 AM   #230
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,030
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
I upgraded Calibre and used add_genre_when_multi_category, it worked as expected, but now I'd like to know if it's possible to use this but exclude works that contain specific tags? For example, Marvel stories tend to have multiple categories like Avengers and Captain America applied to the same story. I'd prefer to keep the crossover genre for Avengers/Harry Potter fics, as an example.
You could use replace_metadata and/or include/exclude_metadata_pre/post to reduce the categorys down to one. IE, replace both Avengers and Captain America with Marvel.
JimmXinu is offline   Reply With Quote