View Single Post
Old 11-19-2022, 08:37 PM   #7761
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,104
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Code:
## Copy selected collections to series
include_in_series:series,collections

include_metadata_pre:
 collections=~(N7 Exchange|N7 Exchange \d{4}|Spectre Requisitions \d{4}|Spec Recs|Spec Recs \d{4})&&series!~^.*
Still, the collection keeps showing up in the series field. I tried both with and without the appending &&series!~^.*$
Used as shown above, the include_metadata_pre line is ignored due to infinite recursion--series includes collection, but collection depends on a conditional series.

(It should appear in the job log: "Skipping include_metadata_pre key(collections) value(Fandom_Nerd123_MaleShepard_Stories) line(collections=~(N7 Exchange|N7 Exchange \d{4}|Spectre Requisitions \d{4}|Spec Recs|Spec Recs \d{4})&&series!~^.*$) to prevent infinite recursion.")

After removing &&series!~^.*, it works as expected for me blocking 'Fandom_Nerd123_MaleShepard_Stories'.

But if you already did that, it must be something else. Perhaps a different include line matching, or the setting not being in the correct section or overridden, etc.
JimmXinu is offline   Reply With Quote