INTERACT FORUM

Please login or register.

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

Author Topic: Expression Help for an (auto) field  (Read 1267 times)

tgack

  • Recent member
  • *
  • Posts: 30
Expression Help for an (auto) field
« on: August 13, 2010, 10:45:40 am »

I would like to create a custom field called "Composers (auto)" that has similar functionality to "Album Artist (auto)" field but it would look at the Composer field in all tracks of an album instead of looking at the Artist or Album Artist fields.

I'm not sure how to look across multiple tracks of an album in one epresson.

Does anyone know what an approach to the expression might be for this?

Thanks,
TGack
Logged

joh

  • World Citizen
  • ***
  • Posts: 100
Re: Expression Help for an (auto) field
« Reply #1 on: August 30, 2010, 01:56:21 pm »


I have a similar question: is it possible to create a custom field that similar to "Album Artist (auto)" defaults to the value of another field (i.e. "Artist") unless overridden (by "Album Artist")?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Expression Help for an (auto) field
« Reply #2 on: August 30, 2010, 02:39:14 pm »

You can check for an empty field using something like:
If(IsEmpty([Composer]), [Artist], [Composer])

You can not look across all tracks in an album.
Logged
Matt Ashland, JRiver Media Center

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Expression Help for an (auto) field
« Reply #3 on: August 30, 2010, 03:58:41 pm »

I'm not sure how to look across multiple tracks of an album in one epresson.
As far as I know, this is not possible using your own expressions.
The closest you can get:
-   select Album Thumbnails as the listing style
-   chose Thumbnail Text
-   add fields like Composer to the Thumbnail text

If you have 1 composer you get a name, otherwise Varies
I also tried ListBuild(1,//,[Composer]) in attempt to get all the composers involved but this doesn’t work
Logged
Pages: [1]   Go Up