View Single Post
Old 09-26-2023, 04:40 PM   #8954
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,138
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by applegaa View Post
I've been struggling with attempts to have FFF conditionally set the Status column to "Anthology" for anthologies. I haven't had much luck with what I've tried so far, so I tried modifying the above code.

I also found a wiki entry that had this code:

Code:
[defaults]
generate_cover_settings:
 ${anthology}=>true=>Anthology Cover
I tried to combine the logic from both, resulting in this:

Code:
custom_columns_settings:
 ${anthology}=>true=>"Anthology"=>#status
However, it complains that it's only expecting two values to unpack. Can anybody help me fix this (or show me a better way)?

- Andrew
Yeah, custom column settings are an all-or-nothing thing, no conditionals there. You could probably create a custom entry (mapped to status), do a replace for the anthologies, and then insert that into the column.

I don't seem to have any special handling for anthologies myself (either in personal.ini or my metadata postprocessing) but I only have a few so maybe I just did them manually.

Last edited by ownedbycats; 09-26-2023 at 11:40 PM.
ownedbycats is online now   Reply With Quote