INTERACT FORUM

Please login or register.

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

Author Topic: rules...  (Read 1721 times)

saiisha

  • Member
  • *
  • Posts: 2
rules...
« on: August 31, 2008, 03:48:48 am »

Hello,

I am new to MJB and my English is not the best, but IŽll try :

I have update a lot of mp3-files with tuneup companion ( gracenote ).
Not bad, but in nearly 10 from 100 wrong......

The information in the file name is still o.k. but the Tags as Artist, Album and Name are wrong now.
So I decided to create Tags from filenames.
For this I used userdefined fields, as Artist_copy, Album_copy and Name_copy.

Now I need a rule to find where Artist is unlike Artist_copy and so on.

Is this possible ?
Thanks a lot.

Greetings, Bernd
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: rules...
« Reply #1 on: August 31, 2008, 07:28:59 am »

You could right click on a file and select Library Tools.  There is a Find and Replace that should do what you want.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: rules...
« Reply #2 on: August 31, 2008, 09:18:00 am »

The Library Tools may not be able to do exactly what Bernd wants. If I understood the question correctly the following might help.



Create a new calculated user field as follows:

Name (for example): Is it equal
Calculated data: IsEqual([Artist], [Artist_copy], 1) IsEqual([Album], [Album_copy], 1) IsEqual([Name], [Name_copy], 1)

If you want to make it case sensitive replace all instances of 1 with 0.
 
This calculated field will always result one of the following values:

0 0 0   
0 0 1
0 1 0   
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1

"0 0 0" means that none of the field pairs are equal, "0 0 1" means that only the last field pair is equal and so on.


Then create a smartlist or view scheme with a rule that checks the field values, for instance:

[Is it equal]="0"

-- will list only the files that contain 0 in the "Is it equal" field, like 0 0 0, 1 0 1, etc.


Here is more info about the expression language:
http://wiki.jrmediacenter.com/index.php/Media_Center_expression_language
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

saiisha

  • Member
  • *
  • Posts: 2
Re: rules...
« Reply #3 on: September 04, 2008, 07:00:10 am »

Great !

Thank you very much, it works perfect !

Bernd
Logged
Pages: [1]   Go Up