INTERACT FORUM

Please login or register.

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

Author Topic: ChrisRainman: MC 11 Rename Expressions  (Read 988 times)

ChrisRainman

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
  • nothing more to say...
ChrisRainman: MC 11 Rename Expressions
« on: April 28, 2005, 02:23:01 am »

Hi Matt,

I don't want to annoy you with this - I mentioned this several times before - but some database expressions still don't work properly for ->rename files from tags.

Simple example:

Try renaming files name by using the following expression:
ISEMPTY([Album])
In both cases, Album empty and album filled it returns a 0. I received a similar result with ISEQUAL for the rename file from tags function.

It works perfectly only for view scheme expressions. Are you aware of this?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: ChrisRainman: MC 11 Rename Expressions
« Reply #1 on: April 28, 2005, 11:20:47 am »

The issue is that an empty album gets resolved as "Unknown Album" when renaming.

This feature makes it so filenames like [Artist] - [Album] - [Name] stay consistent even if some information is missing.

For now, you'll need to do this: IsEqual([Album], Unknown Album)

Thanks Chris.
Logged
Matt Ashland, JRiver Media Center

ChrisRainman

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
  • nothing more to say...
Re: ChrisRainman: MC 11 Rename Expressions
« Reply #2 on: May 03, 2005, 09:15:10 am »

Thanks a lot for this hint! I am now able to organize all file locations according to my rule definition with a single click.

My example:
Albums are stored in
 \01 albums\track - artist - name,
single tracks are stored in
 02 tracks\by genre\genre\artist - name.
Chart tracks are stored in
 02 tracks\by group\2005 charts\artist - name,
 02 tracks\by group\2004 charts\artist - name, ...
Incomplete albums are stored in
 01 albums\incomplete albums\track - artist - name,
Mix albums are stored in
 01 albums\mix albums\track - artist - name,
...

So the database expressions give me great value to do things I needed to do manually before which was quite complex.

So for all who like such expressions to rename files be aware that if you want to compare against empty fields - don't use ISEMPTY, but instead use ISEQUAL([Field name],Unknown [Field name])!

!For view scheme expressions use ISEMPTY!
Logged
Pages: [1]   Go Up