INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: lepa on August 01, 2016, 08:25:26 am

Title: Theater View hide empty value issue
Post by: lepa on August 01, 2016, 08:25:26 am
In theather view "Hide when value is empty" is not working if field type is expression. It will always show field title even when value is empty

Example:
type: Expression
name: rating
value: <font color="#f69838">RatingStars()<//font>
Title: Theater View hide empty value issue
Post by: Matt on August 01, 2016, 08:37:27 am
In theather view "Hide when value is empty" is not working if field type is expression.

Where is the option "Hide when value is empty"?  I'm searching Options but not seeing it.

Thanks.
Title: Theater View hide empty value issue
Post by: lepa on August 01, 2016, 11:03:55 am
Where is the option "Hide when value is empty"?  I'm searching Options but not seeing it.

Thanks.
Options-->Theaterview->Customize file info panel... (a property there for field in a template)

Title: Re: Theater View hide empty value issue
Post by: Matt on August 03, 2016, 07:10:32 am
Well I'm not having much luck.

I add an expression and I just leave it empty and it's sure hidden.

What trick do I need to do to make it start showing?

Thanks.
Title: Re: Theater View hide empty value issue
Post by: Matt on August 03, 2016, 07:16:52 am
I think I see it now.  You need to use an expression like:
<font color="#f69838">RatingStars()<//font>

The trick is that the expression is never really empty.  It'll still have the <font> block there even if the rating stars aren't there.  Not really sure how to get around that.
Title: Re: Theater View hide empty value issue
Post by: Matt on August 03, 2016, 07:37:13 am
Coming next build:
Fixed: The option to hide empty values in the File Info template of Theater View would show the template if it was in a font block even if there was no text in the font.

It was kind of just a special case for the font block, so if there are other blocks that do the same thing, let us know.

Thanks.
Title: Re: Theater View hide empty value issue
Post by: lepa on September 07, 2016, 09:43:48 am
Only just noticed that there were updates on this. I can confirm that this works at least for my views. Thanks, Matt!