View Single Post
Old 10-25-2020, 10:39 AM   #4741
tectonictigress
Junior Member
tectonictigress began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2020
Device: none
Metadata Management

Hello! First off - thank you for everything you do with managing this plug-in, it is truly great, and I've visited this forum a few times in the past to get tips or find similar questions to my own

I was hoping to get some guidance on what I may be doing wrong with some metadata management I'm trying to do, specifically tag wrangling with AO3

For example, there is a tag labeled "2k words of angst" that I am trying to remove by removing all tags that start with a number

Code:
exclude_metadata_post:
 genre=~^[0-9]
This works when I test it with test1.com, however for the actual AO3 page I am trying to bring in, it doesn't work - I have this issue with several other tags and fics I am trying to filter, so I don't think it's the regex that's the issue, but perhaps something with the ordering of my personal.ini? I tried re-arranging it a few times but nothing worked, this is the simplified order it is currently in with test1.com commented out

Code:
[defaults]
is_adult:true
[epub]

[archiveofourown.org]

#[test1.com]
#extragenres: 2k words of angst
#extracharacters: Peter, Bruce, Barry, Tom

[overrides]

exclude metadata_post:
 genre=~^[0-9]
May be related - but when using test1.com and re-trying some of this, the tags aren't being updated - I had a much longer list of tags I had listed out after extragenres, but when I cut it down to "2k words of angst" (and uncommented) and re-ran it, it still has the very long list in the tags

I then added extracharacters: to see if it would update, and when I re-ran it, it added the characters, but still has the old list of tags

Is there something wrong in my settings perhaps?

I do not have "Keep Existing Tags when Updating Metadata?" checked on

---------------------------------------------------------------------------------

Separate question

I have a custom column named #time for timelines

I'd like to extract only the tags that start with "Post" from the tag list and move it to the custom column, and apply separate filtering to the genres vs time columns, but I'm have trouble following how to set up personal.ini to do this and how to reference the custom vs genres column

I tried following what you went through with this thread by adding what's noted below, but it had no affect on the custom column

Code:
add_to_extra_valid_entries:,time
include_in_time:genre

exclude_metadata_post:
 time=~^Post
---------------------------------------------------------------------------------

Separate question (sorry, didn't realize I had a few lined up I was wanting to ask about)

This is in relation to wrangling ships

Some fics are tagged as "Harry & Ron" and others as "Ron & Harry" - is there a way to write this into personal.ini to align them into the same tag?

Currently I'm using:

Code:
replace_metadata:
 ships=>Ron & Harry=>Harry & Ron
but having to do it for each pairing is a bit tedious - I'm targeting to sort them alphabetically - I'm familiar with coding in R and Python and believe I could write something within there to do this would be relatively straightforward by separating the string by "&" or "/", then alphabetizing, then re-adding the "&" or "/" - but I'd rather this be within personal.ini directly

Last question for now with regards to ships:

This is something that's a personal irk, but I like all the names to be capitalized in the ship listing - so far it's just one ship that is doing this (the individual names are actually supposed to be capitalized, and are in other ships listings, just not this particular one for some reason)

I tried manually replacing it in personal.ini with

Code:
replace_metadata:
 ships=>Olivia dunham & Peter Bishop=>Olivia Dunham & Peter Bishop
but it just doesn't take and the tag stays as "Olivia dunham & Peter Bishop" - is there something related to regex I'm not understanding with regards to case sensitivity?

Sorry for all the questions at once, I really appreciate any guidance you can provide!
tectonictigress is offline   Reply With Quote