INTERACT FORUM

Please login or register.

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

Author Topic: Multi artist expression assistance  (Read 2505 times)

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Multi artist expression assistance
« on: July 06, 2008, 04:13:48 am »

I have read thru http://yabb.jriver.com/interact/index.php?topic=44021.0 article regarding multi artist approaches, but have some problems with the way I would like it to work.

Currently, I use:
[artist] for the "someone feat. another one"
[Artist] for the "someone;another one"
[Featured Artist] for the following expression:
Code: [Select]
If(IsEmpty([Artists]),[Artist],[Artists])&DataType=[List]
What I would like, is a pane "Featured Artist" which have a list of
Someone
Another One
if [Artists] is blank, I would like the value of [Artist] to appear. And when i select anyone of these, i would like the record to appear.

But this is what happens instead:
When i press any one of these in the pane, the result is blank.
If i press both, it is also blank.
When I select "all (x)", the record appear.

Am i missing something?
Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Multi artist expression assistance
« Reply #1 on: July 06, 2008, 07:56:48 am »

Open up the pane properties and check the "Matching" options.
If it's set to "match all" change it to "match any"

Does that help?

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: Multi artist expression assistance
« Reply #2 on: July 06, 2008, 08:04:01 am »

Nice thinking, Marko. But unfortunately, that was grayed out...

Seems like all calculated fields is that. Might there be particular reason for that?


Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Multi artist expression assistance
« Reply #3 on: July 06, 2008, 08:15:30 am »

Was shooting from the hip there.
I'll have a closer look after Hamilton's won at Silverstone....

:D

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: Multi artist expression assistance
« Reply #4 on: July 06, 2008, 08:32:58 am »

Appreciate it, Marko  :D

I'll go and root for Hushovd in Tour de France, meanwhile  :)
Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Multi artist expression assistance
« Reply #5 on: July 06, 2008, 09:55:31 am »

Hamilton was in a class of his own this afternoon, regardless of mistakes by Ferrari.
How's Hushovd getting on?

I don't get so complex with [Artist], but I do have a list type field called [Genres] to complement the default, standard [Genre] field.

I created an expression based pane:

Code: [Select]
if(isempty([genres]),[genre],[genres])&datatype=[list]
All [Genre] and [Genres] are listed in the pane and the file list correctly reflects the pane selections.
So, if I've understood you correctly, it appears to be working OK at this end?

-marko.

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: Multi artist expression assistance
« Reply #6 on: July 06, 2008, 10:24:38 am »

Actually, Hushovd won as well! :D
http://www.letour.fr/

Yes, I guess if you look at a song you know have multiple [Genres] for, and still can see that when you select one of them in the pane, the you have been able to achieve it the way I would like to have it. If so, that's odd.

What settings might be different on my computer...?

Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Multi artist expression assistance
« Reply #7 on: July 06, 2008, 10:36:32 am »

Did you try creating an expression based pane rather than using the expression based library field?
This is the approach that worked for me.

I just created a library field using the same [genres] expression, and if I add that field as a pane, it does not work!!!

-marko.

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: Multi artist expression assistance
« Reply #8 on: July 06, 2008, 10:47:20 am »

That explains why I was sure it had worked once. I probably had created it as an expression to test it first. I use the field several views, so it is a bit more cumbersome (i need to create a first-letter-index pane on it as well...), but at least then it works.

Thanks a lot for the help, Marko. I suppose it is not a desired behavior, so i'll post it into the build thread as proposed bug.

Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: Multi artist expression assistance
« Reply #9 on: July 07, 2008, 03:33:21 am »

A new "problem" occurred to me. Well, I guess it is more of a limitation in MC due to the way it works. When i created a "Artists" pane for first letter, and select for instance "A" for Another One", I will also get a item in the full "Artists" pane with the item "Someone", since "Someone" also is represented as a hit.

Might there be a way to avoid that? I would rather only have the Artists with matching first letter represented in Pane 2...

My to expressions look like this:

Artists (First letter):
Code: [Select]
Mid(If(IsEmpty([Artists]),[Artist],[Artists])&DataType=[List],0,1)Artists:
Code: [Select]
If(IsEmpty([Artists]),[Artist],[Artists])&DataType=[List]
Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...
Pages: [1]   Go Up