Quote:
Originally Posted by JSWolf
I'm not all that up on Python. I want to create a subtitle template that does the following...
If tag is not empty and series is empty. Meaning use the tag column data as the subtitle if there is data and no data in the series column.
|
Why on earth do you only want to set the subtitle only if there is no series? Just use:
or maybe:
Code:
{:'raw_field("tags")'}
The difference there is the sorting.
And if you just want the first few tags:
Code:
{:'sublist(raw_field("tags"),0, 2, ",")'}
But, if you insist:
Code:
{:'ifempty(field("series"),sublist(raw_field("tags"),0, 2, ","))'}