View Single Post
Old 05-23-2023, 11:23 PM   #625
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,176
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'd like to check extra_file_names for a file called 'Alternate Cover' (any extension). If it exists, add an entry to the #admintags column. Referencing the column would be faster than referencing extra_file_names for column icons and the like.

Is there any improvements I can make to this?

Code:
program: 

alternatecover = if 'Alternate Cover' inlist extra_file_names(',') then 'cover:alternate' else '' fi;

list_union($#admintags, alternatecover, ',')
ownedbycats is online now   Reply With Quote