Trying to set up an expression for rename files utility.
I have 3 scenarios I need to address:
1) media type is audio put them in the mp3 folder.
2) media type is image put them in the photos folder.
UNLESS
3) filename is folder.jpg put them in the mp3 folder.
I have no trouble doing the expression for items 1 and 2. It works properly.
If(IsEqual([Media Type], Audio),mp3\[Genre]\[Artist]\[Album]\,)If(IsEqual([Media Type], Image),Photos\[Genre]\[Album]\,)
The problem arises when dealing with the exception item 3.
Here's what I'm trying, just adding an additional if statement:
If(IsEqual([Media Type], Audio),mp3\[Genre]\[Artist]\[Album]\,)If(IsEqual([Media Type], Image),Photos\[Genre]\[Album]\,)If(IsEqual([Filename (name)], folder.jpg,1),mp3\[Genre]\[Artist]\[Album]\,)
It ends up tacking on additional unwanted folders. It's applying BOTH of the if statements that are true. If it would ignore the first one and only use the last one that was true, it would work. But it results in this:
\Photos\Genre\Album\mp3\Genre\Artist\Album\folder.jpg
You can see in the different colors where it is using BOTH of the rules.
How can I get it so that if the Media Type = Image AND filename = folder.jpg do a certain thing?