ifelse(isequal([3D], MVC, 7),[Name]_3D, isequal([3D], SBS, 7), [Name]_3D, isequal([3D], TNB, 7), [Name]_3D, [Name])
Thanks very much.
Could I be cheeky
and as you for the right expression for my rename rule.
I currently have the base path set to D:\Movies\
Directory set as [Type]\[File Type]\[name]
Filename set as [name]
[Type] is a custom field 3D;HD;SD
[3D]is a custom field MVC;SBS;TNB
Right now the above would give for example
D:\Movies\HD\mkv\Avatar\Avatar.mkv
I tried adding the following,
Directory set as [Type]\[3D]\[File Type]\[name]
Which gives me the following for a HD mkv
D:\Movies\HD\unknown 3D format\mkv\Avatar\Avatar.mkv
Is it possible to check if the 3D field is used and if so have that type used and have the [file type] excluded in the rename. If the [3D] field is NOT used then use the [file type] in the rename.
D:\Movies\HD\mkv\Avatar\Avatar.mkv
D:\Movies\3D\MVC\Avatar\Avatar.mkv
I am trying to get my head round the expression language and the regular expressions but so far it's confusing me loads
.
Thanks
John