View Single Post
Old 02-15-2021, 01:47 PM   #5484
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,111
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
"## Note that if metakey == conditionalkey the conditional is ignored." You can't use category in a conditional for category.

And even if you could, it wouldn't have fit the case you described: "Mass Effect - All Media Types, Mass Effect Trilogy" isn't matched by ^Mass Effect: Andromeda$.
It actually activated when I didn't want it to. Commenting out the line prevented that from happening. I have another idea though so I will try that.

EDIT: This worked! A while back I also shared a similar code (for characters) on MetadataManagement.

Code:
exclude_metadata_pre:
## Removes redundant "Mass Effect - All Media Types"
 category=~^Mass Effect - All Media Types$&&category=~(Mass Effect: Andromeda|Mass Effect Trilogy)

Last edited by ownedbycats; 02-15-2021 at 01:56 PM.
ownedbycats is offline   Reply With Quote