INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: CD Rip Settings - Directory Rule  (Read 1784 times)

efoc

  • Recent member
  • *
  • Posts: 5
CD Rip Settings - Directory Rule
« on: December 03, 2006, 03:49:56 am »

Hi,
I am going to rip my whole cd collection to HD (btw:I bought MC12 yesterday). One question about this:

I'd like to have the following strcture on my HD:

Base Path: M:\mp3\

and then:

(Multiple Artists)
A
B
C
.
.
.
Z

Is it possible to set the directory rule to get the structure above. The rule should be "like this":

if [Album Artist (auto)]=(Multiple Artists) then
  (Multiple Artists)\[Album]
else
  Mid([Album Artist (auto)],0,1)\[Album Artist (auto)]\[Album]


If this is possible with a directory rule, maybe someone could do me a favour and write down the correct syntax for this.

Many thanks in advance
brgds - efoc
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: CD Rip Settings - Directory Rule
« Reply #1 on: December 03, 2006, 06:23:03 am »

Directory rule:

if(isequal([album artist (auto)],multiple artists,8),[album artist (auto)]\[album],mid([album artist (auto)],0,1)\[album artist (auto)]\[album]

enjoy :)

efoc

  • Recent member
  • *
  • Posts: 5
Re: CD Rip Settings - Directory Rule
« Reply #2 on: December 03, 2006, 06:52:46 am »

Marko,
many thanks, it works perfectly :-)

2 short questions about the syntax in isequal([album artist (auto)],multiple artists,8):

1)  I only know about the following Compare types:

0: case-sensitive string compare for equality
1: case-insensitive string compare for equality
2: numeric compare for equality
3: numeric less than
4: numeric less than or equal to
5: numeric greater than
6: numeric greater than or equal to

but what is 8 ?


2) don't I need a closing ) bracket for the if clause if(isequal..... ?

Have a nice weekend - efoc
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: CD Rip Settings - Directory Rule
« Reply #3 on: December 03, 2006, 07:37:55 am »

re. compare types:

mode 7 = "substring"
mode 8 = "substring (no case)"

They are brilliant additions that open up a shedload of expression based possibilities.
read more here: http://yabb.jriver.com/interact/index.php?topic=32964.msg226899#msg226899

re. closing bracket...
Yeah, it should be there. I missed it when I hit ctrl+c. DOH!
I'm guessing it works without because there's only a single IF statement open, and the evaluator has reached the end of the expression, and is not expecting anything else to look for anyway.
Pages: [1]   Go Up