PDA

View Full Version : Simple ifequals naming



Alley
06-18-2010, 07:02 AM
So, guys, I'm stuck :(
I'm using the batch converter to convert some folders with music. In "normal" albums, I'd like this directory/filename structure: [artist] - [album] ([year]) [MP3 V0]\[track] - [title]

However, and as expected, in a VA (Various Artists)/Compilation album, it creates a folder for every single artist/track. Thus, I'd like to have this directory/filename structure for VA albums: VA - [album] ([year]) [MP3 V0]\[track]. [artist] - [title]

I tried to put these together using [IFEQUALS]: if the [album artist] was VA, then it'd use one structure; it was wasn't, then it'd use the "normal structure".

I have no idea what's wrong, but it just creates a folder per artist/track anyway. I've tagged the album artist using both mp3tag (I think it adds a <Band> tag or something stupid like that) and foobar2000. Still doesn't work.

Here's what I'm using:
[IFEQUALS][album artist],VA,VA - [album] ([year]) [MP3 V0]\[track]. [artist] - [title][][IF!EQUALS][album artist],VA,[artist] - [album] ([year]) [MP3 V0]\[track] - [title][]

Alley
06-18-2010, 09:41 AM
Bump!

Spoon
06-18-2010, 12:06 PM
You might need [tag]album artist[]

Alley
06-18-2010, 02:54 PM
Would it be:
[IFEQUALS][tag]album artist[],VA,VA - [album] ([year]) [MP3 V0]\[track]. [artist] - [title][IF!EQUALS][tag]albumartist[],VA,[artist] - [album] ([year]) [MP3 V0]\[track] - [title]

I don't' think dbpoweramp is recognizing the tags now. Could you put it into my example so I understand the syntax. Thanks! :)

Spoon
06-18-2010, 02:58 PM
Yes as you have written it

Alley
07-17-2010, 06:41 PM
Nope, it's all messed up now. It's creating folders with the [ifequals] part in them now, and individual folders for each song :(

Spoon
07-18-2010, 05:22 AM
[IFEQUALS][tag]album artist[],VA,VA - [album] ([year]) [MP3 V0]\[track]. [artist] - [title][][IF!EQUALS][tag]albumartist[],VA,[artist] - [album] ([year]) [MP3 V0]\[track] - [title][]

Alley
08-12-2010, 06:52 PM
Hmm, what happen now is that it creates loads of subfolders inside a folder :/

Spoon
08-13-2010, 06:12 AM
You should be using album artist, not artist, so something like:


[IFVALUE]album artist,[album artist],[IFCOMP]VA[][IF!COMP][artist][][] - [album] ([year]) [MP3 V0]\[track]. [artist] - [title]

schmitty
11-28-2010, 06:36 AM
This is my personal method of file naming

[IFCOMP][IFVALUE]album artist,[album artist],Various Artists[]\[album][IFMULTI]\CD [disc][]\[album] - [IFMULTI]CD [disc] - [][track] - [artist][][IF!COMP][IFVALUE]album artist,[album artist],[artist][]\[album][IFMULTI]\CD [disc][]\[artist] - [IFMULTI]CD [disc] - [][album] - [track][] - [title]