View Single Post
Old 03-30-2019, 10:33 AM   #1
Marco24
Junior Member
Marco24 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2019
Location: Paris, France
Device: Kobo Aura Edition 2
If ... Then in custom column

Hi all,

First, sorry if this thread is a duplicate. I've made some research and I did not find any helpful topics regarding my skills in calibre customization ;p

I would like to create custom columns that tells me if some custom metadata are missing or not.
Data quality check plugin is not relevant in this case.

example of check I want to realize :
1rst example :
if #genre contains SF or Fantasy or Weird then populate the column with SFFF else empty

I've tried with the first test but it doesn't work
{#genre:contains('SF','SFFF',{null})}

another example of test I want to realize :
if #nationalite not in (fr, ca) and #translator is null and #VO-title is null
then #customcolumn = "translation data missing"
else empty

I've tried different method but none of them actually works
I suppose that I'm missing something important ;p

thanks in advance
Marco24 is offline   Reply With Quote