I'm trying to organise video files in a specific naming convention, contingent on whether data is present within the 'Season' field:
If there is data in the 'Season' field: <series>.S<season>.E<track>
If there is no data in the 'Season' field: <series>.E<track>
My code is below, it seems logical but perhaps I've made a mistake on the parenthesis or syntax somewhere.
Code: Select all
<Series>.$if($len(<Season#:2>)>0,S<Season#:2>.,)E<Track#:2>