The scenario is that I have applied the content rating normalization
suggested here. However, fictionmania.tv has a special site rating "XXX-I" to warn of stories with specific activities. I definitely want to capture that in the warnings, and have come up with the following arrangement.
If I run it without the add_to_replace_metadata, it works correctly, and applies the warning, but leaves the rating unchanged. If I include the add_to_replace_metadata line, it normalizes the rating, but doesn't apply the warning.
I have a large personal.ini , so I removed everything but the code block below, and the behavior doesn't change, so I don't believe there should be anything conflicting with these.
Code:
[fictionmania.tv]
add_to_extra_valid_entries:warnings
extrawarnings:CAUTION
exclude_metadata_pre:
warnings==CAUTION&&rating!=XXX-I
add_to_replace_metadata:
rating=>XXX-I=>NC-17
Two questions; 1) is there a more efficient/elegant way to accomplish what I'm trying to do? 2) Am I misunderstanding the _pre part of the exclude_metadata_pre, or is this a bug, edge case, or just syntax error on my part somewhere?
EDIT: I changed the line to the following (aka reversed the logic), and it works now, however I'm still unsure what I did wrong in my original example.
Code:
include_metadata_pre:
warnings==CAUTION&&rating==XXX-I
Extra EDIT: Still broken, now it applies to warning to all stories.