View Single Post
Old 10-04-2022, 11:05 PM   #934
trxplz0
Junior Member
trxplz0 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2022
Device: kindle oasis
Hi,

Can someone help me with this save template code?

I'm not finding a way to do a OR between the strings. I did try to use first_non_empty function, but it sees the function as text and not “code”.

Here's what I have so far:

{series[0]} OR {title[0]}/{series} OR {title}/{series_index:0>3s|| - }{series} OR EMPTY - {title}/{pubdate} - {title}

This is what I'm trying to achieve:

E.g.: #1 Serie: A Song Of Ice and Fire, Serie Index: 3, Title: A Clash of Kings, Date: 2021

📂A
---- 📂 A Song Of Ice and Fire
-------- 📂 003 - A Clash of Kings
------------ 📂 2021 - A Clash of Kings

E.g.: #2 Serie: , Serie Index: , Title: Calibre is the best, Date: 2022

📂C
---- 📂 Calibre is the best
-------- 📂 2022 - Calibre is the best
trxplz0 is offline   Reply With Quote