INTERACT FORUM

Please login or register.

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

Author Topic: Smartlist question: Filename (path) does not contain [artist]  (Read 1250 times)

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854

I want to tidy up my filestore a little and want to build a smartlist which lists all entries whose Filename (path) does not contain the [artist] eg show all folders whose name is different to the artist being stored in the folder.

The obvious:

-[Filename (path)]=[artist]

Doesn't work...

Any suggestions?

Cheers,

Mark
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Smartlist question: Filename (path) does not contain [artist]
« Reply #1 on: March 27, 2008, 11:06:44 am »

you could make a smartlist with all songs and make an expression collumn with:

if(isequal([Filename (path)],[Artist],8),yes,no)

when the value is 'no' the artist is not in the filename (path)

when you want to use it often you can make an user library field with this rule and a smartlist that selects on 'no'.

maybe using [Album Artist (auto)] instead of artist could be an idea.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Smartlist question: Filename (path) does not contain [artist]
« Reply #2 on: March 27, 2008, 11:09:37 am »

That worked!

Cheers,

Mark
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Smartlist question: Filename (path) does not contain [artist]
« Reply #3 on: March 27, 2008, 11:36:44 am »

Small update: using test 7, eg

if(isequal([Filename (path)],[Artist],7),yes,no)

Gives better results as it catches differences with foreign characters, eg e vs é etc...

Mark
Logged
Pages: [1]   Go Up