INTERACT FORUM

Please login or register.

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

Author Topic: Search - Wizard: How to...  (Read 2346 times)

Fred1

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 491
  • Change this by choosing profile
Search - Wizard: How to...
« on: July 27, 2015, 04:10:34 am »

filter Artists that contain semicola (";") for multiple artists?

Example: Bob Dylan; Joan Baez

I want to list all records that contain such multiple artists in the view pane.
[Artist]=";" or [Artist]="\;" (artist contains ";") doesn't work, however.

Thanks for your help!
Fred
Logged

bMinor

  • World Citizen
  • ***
  • Posts: 158
Re: Search - Wizard: How to...
« Reply #1 on: July 27, 2015, 04:47:04 am »

filter Artists that contain semicola (";") for multiple artists?

Example: Bob Dylan; Joan Baez

I want to list all records that contain such multiple artists in the view pane.
[Artist]=";" or [Artist]="\;" (artist contains ";") doesn't work, however.



type cmd+shift+F.
in the top left pop-up list select ‘artist’, in the top middle pop-up list select an expression such as ‘contains’, ‘is’ etc., in the top right pop-up list check all names you want to include.
apply. done.
Logged

jbbernar

  • Recent member
  • *
  • Posts: 24
Re: Search - Wizard: How to...
« Reply #2 on: July 27, 2015, 05:34:25 am »

This seems to work:

[=compare(listcount([Artist]), >, 1)]=1

But I would not be surprised if there were an easier way.
Logged

Fred1

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 491
  • Change this by choosing profile
Re: Search - Wizard: How to...
« Reply #3 on: July 27, 2015, 07:32:14 am »

type cmd+shift+F.
in the top left pop-up list select ‘artist’, in the top middle pop-up list select an expression such as ‘contains’, ‘is’ etc., in the top right pop-up list check all names you want to include.
apply. done.

bMinor, thanks, but that's not quite what i need.
I wanted to filter records that contain a ";" in the artist field.

Nevertheless, thanks for your answer!
Logged

Fred1

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 491
  • Change this by choosing profile
Re: Search - Wizard: How to...
« Reply #4 on: July 27, 2015, 07:35:20 am »

This seems to work:

[=compare(listcount([Artist]), >, 1)]=1

But I would not be surprised if there were an easier way.

jbbernar, that works as i wished!

Thank you for this expression. I wouldn't have thought of this myself.

Fred
Logged

jbbernar

  • Recent member
  • *
  • Posts: 24
Re: Search - Wizard: How to...
« Reply #5 on: July 27, 2015, 08:39:54 am »

It wasn't at all obvious to me, either! But I have a massive tagging project planned, so I've been looking for opportunities to play around with expressions.
Logged

Fred1

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 491
  • Change this by choosing profile
Re: Search - Wizard: How to...
« Reply #6 on: July 27, 2015, 09:23:15 am »

I'm retagging my huge library, too, and have relatively good success using regular expressions.

But one thing, i'm not able to do, is coloring the lines in the view pane depending on the type of file compression.
For example all MP3s should be blue, Flacs red and so on.

Do you have an idea how to achieve this?
Logged

jbbernar

  • Recent member
  • *
  • Posts: 24
Re: Search - Wizard: How to...
« Reply #7 on: July 27, 2015, 11:17:49 am »

This http://yabb.jriver.com/interact/index.php?topic=82496.0 suggested a method: add an expression column to your view, with something like this:

If(compare(listcount([Artist]), >, 1), <font color="ff0000">[Album]<//font>, [Album])

Logged

Fred1

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 491
  • Change this by choosing profile
Re: Search - Wizard: How to...
« Reply #8 on: July 27, 2015, 01:57:37 pm »

jbbernar,

thanks again, your expression is working!
Only the expression column is colored, but that's good enough for me.

I still have to learn a lot, i think :).

Logged
Pages: [1]   Go Up