View Single Post
Old 12-11-2015, 01:54 PM   #797
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,038
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by edeniz View Post
I have a problem with tthfanfic.org. It has an annoying habit of putting tags like "xy-Centered" and pairing and genre (such as Romance, Action/Adventure) into "category", so that I have these things in my fandom column after download. Naturally, I'd like to move them from there to "pairings" and "genre" and "character", but try as I might, I could not come up with a working solution. Any ideas on what to do?
TtH's category level system is inconsistent. For example, 'Twilight' is a level 1 category, but 'My Little Pony' is a level 2 under level 1 category 'Cartoons'. And then '*-Centered' and 'Pairing: *' can appear at different levels: 'Television > Roswell > Buffy-Centered' vs 'Stargate > Dawn-Centered > Pairing: Jonas Quinn'. And then there's categories such as 'Pairing: Other' and 'Multiple Pairings'.

Plus, when support for TtH was added, FFF (FFDL at the time) didn't collect characters and ships yet for any site.

I might be convinced to add code to the TtH adapter to use '*-Centered' and 'Pairing: *' to populate characters and ships instead of category. Does anyone see a problem with that?

Quote:
Originally Posted by edeniz View Post
Another question: In fanficfare, when I'm, for example, renaming a tag like "characters=>Harry P\." I can make it "characters=>Harry P\.=>Harry Potter&&category=>Harry Potter" to make sure that change occurs only in that fandom and nowhere else. So what I'm wondering is why something similar won't work if I were to use, say, genre or pairing instead of category. Like, "rename this tag only if genre is this". (I should add that this is not terribly important, just something I'd been wondering when it didn't work when I tried it out of curiosity on a link where it seemed like it could help. I've since decided to just use replace_metadata to split one list item into multiple list entries.)
What you describe should work, as long as you aren't refer to the same metadata entry both the replacement and conditional parts. Assuming you have the correct keywords, of course. While it's category and genre (singular) for historical reasons, it's characters and ships (plural).

Quote:
Originally Posted by edeniz View Post
Lastly: Apparently I've screwed up something in my personal.ini without realizing, and now I get tag duplications because I renamed several tags to one. Because I'm using calibre plugin, I'd always looked at the book details browser after the download to check if all is okay, so it's now only that I'm noticing the problem. I've been going spare trying to hunt down the source the last few days, but can't find it. The problem is somewhere in this part here:
Code:
[overrides]
...
keep_in_order_genre:true 
keep_in_order_freeformtags:true 
...
The keep_in_order_* feature also disables the dup removal in the current version. I'll add some code to make the lists unique in the next test version.
JimmXinu is offline   Reply With Quote