by Squargle » Thu May 02, 2013 9:09 am
Hello everyone,
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>
I'd very much appreciate some assistance!
Hello everyone,
I'm trying to organise video files in a specific naming convention, contingent on whether data is present within the 'Season' field:
[b]If there is data in the 'Season' field: [/b][i]<series>.S<season>.E<track>[/i]
[b]If there is no data in the 'Season' field: [/b][i]<series>.E<track>[/i]
My code is below, it seems logical but perhaps I've made a mistake on the parenthesis or syntax somewhere.
[code]<Series>.$if($len(<Season#:2>)>0,S<Season#:2>.,)E<Track#:2>[/code]
I'd very much appreciate some assistance!