INTERACT FORUM

Please login or register.

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

Author Topic: directory naming [A-Z][Artist][Album]  (Read 1390 times)

slipknot

  • Galactic Citizen
  • ****
  • Posts: 255
directory naming [A-Z][Artist][Album]
« on: July 22, 2006, 12:01:18 pm »

It there a way to have Media Center create a directory for the artist letter, then the artist name and then the album name when ripping and converting files?  I am unable to find a way in the docs to describe a directory naming system like this.
Logged

modelmaker

  • Citizen of the Universe
  • *****
  • Posts: 1531
Re: directory naming [A-Z][Artist][Album]
« Reply #1 on: July 22, 2006, 03:11:16 pm »

Go to "Tools>Options>File Location>Directory Rule & File Rule.
Logged
Jay.

"Life is what happens when you're making other plans"     John Lennon.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8973
Re: directory naming [A-Z][Artist][Album]
« Reply #2 on: July 22, 2006, 04:09:56 pm »

not tested, but, your directory rule should be:

mid([artist])\[artist]\[album]

if that doesn't work, there are other ways...

slipknot

  • Galactic Citizen
  • ****
  • Posts: 255
Re: directory naming [A-Z][Artist][Album]
« Reply #3 on: July 22, 2006, 05:20:28 pm »

not tested, but, your directory rule should be:

mid([artist])\[artist]\[album]

if that doesn't work, there are other ways...

Thanks, I'll give it a try and let you know. 

Is mid() documented?  I looked for it in the smartlist area of the docs and I can't find mid().
Logged

slipknot

  • Galactic Citizen
  • ****
  • Posts: 255
Re: directory naming [A-Z][Artist][Album]
« Reply #4 on: July 22, 2006, 05:51:50 pm »

Marko comes through again!

Thanks, the mid() is working perfectly.

I am trying to learn this program instead of just asking without looking around myself.

But where is mid() documented?  I'll bet whereever it's documented, there's a lot of useful functions I can use if I only knew they existed!
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71680
  • Where did I put my teeth?
Re: directory naming [A-Z][Artist][Album]
« Reply #5 on: July 22, 2006, 06:00:43 pm »

See the Media Center Expression Language section on this page:
http://www.jrmediacenter.com/devzone.html
Logged

slipknot

  • Galactic Citizen
  • ****
  • Posts: 255
Re: directory naming [A-Z][Artist][Album]
« Reply #6 on: July 22, 2006, 06:21:22 pm »

I knew I wanted a substring type function....  Thanks for pointing me to the docs.

Mid(...): Retrieves specified characters from a value.

    Value: the value to get characters from
    Start: the character to start at (optional: defaults to 0)
    Characters: the number of characters to get (-1 returns all) (optional: defaults to 1)

    Examples:
    Mid(Abba)
    Mid(Abba, 0, 2)
    Mid([Artist], 3, -1)

 
Logged
Pages: [1]   Go Up