New Test Version Posted
2023-07-23
- Filter cookies for flaresolverr
- Add _LIST option to include_subject_tags(/extra_subject_tags), refactor
Quote:
Originally Posted by JimmXinu
So still thinking... 
|
So as usual, I decided changing existing behavior when it isn't very definitively broken is a Bad Thing.
Instead, I added a
_LIST feature to
include_subject_tags.
defaults.ini now says:
Code:
## include_subject_tags: entries to make epub subjects and calibre tags
## lastupdate creates two tags: "Last Update Year/Month: %Y/%m" and "Last Update: %Y/%m/%d"
##
## By default, entries listed in include_subject_tags are used as
## lists, skipping any <entry>_LIST processing in
## replace_metadata/etc. You can instead use <entry>_LIST in
## include_subject_tags to get the whole list as one string.
##
## You can also use <entry>.SPLIT to split each value in the entry on
## ',' for individual values. .SPLIT was basically obsoleted by \,
## splitting, but may still be used in some users' config. Can also
## be combined with _LIST as <entry>_LIST.SPLIT to get both
## <entry>_LIST processing in replace_metadata/etc *and* split by ','
include_subject_tags: extratags, genre, category, characters, ships, status
For context, this .SPLIT ability was added in 2012 specifically for xenforo
tagsfromtitles and \, splitting in 2014.
So with this test version, culytera just needs:
Code:
include_subject_tags:first_ship_LIST,first_category_LIST
I also refactored the getSubjectTags code. Which honestly worries me the most.