INTERACT FORUM

More => Old Versions => JRiver Media Center 24 for Windows => Topic started by: Manfred on March 10, 2019, 04:41:27 am

Title: How-to: Expression to display Episode No. + Episode Name ?
Post by: Manfred on March 10, 2019, 04:41:27 am
I have created the following expression to display Episode No. + Episode Name :

[Episode,1]: - [Name,1]

I expected the following e.g. 1 - Snow if the Episode Name is Snow. Only Snow is displayed in Standard View.

So what's wrong?

Thank you very much!
Title: Re: How-to: Expression to display Episode No. + Episode Name ?
Post by: marko on March 10, 2019, 04:53:11 am
I have no idea. I copied your expression and used it to make a column, and it's working as expected (see attached image).

Whereabouts in standard view have you used your expression?
Title: Re: How-to: Expression to display Episode No. + Episode Name ?
Post by: Manfred on March 10, 2019, 04:57:39 am
My Thumbnails look like that:
Title: Re: How-to: Expression to display Episode No. + Episode Name ?
Post by: Manfred on March 10, 2019, 05:14:34 am
I think I got it?

If you introduced a new expression column you can use it not in Customize View you must then introduce a new field which uses the expression. Is this correct?

This for me seems to be only valid for Standard View , for Theatre View and JRemote it is different. Is this correct?
Title: Re: How-to: Expression to display Episode No. + Episode Name ?
Post by: marko on March 10, 2019, 09:28:14 am
I can't test, but yes, adding an expression based library field should work too.
This would be your preferred option if you want the field available to reference in several places because it's just easier that way, and saves you from having to remember the expression.

I would still expect the expression to work directly in thumbnail text though, and will test when I get a chance.

-marko
Title: Re: How-to: Expression to display Episode No. + Episode Name ?
Post by: blgentry on March 10, 2019, 05:28:06 pm
In my TV series view,  I use this expression for the thumbnail text:

Code: [Select]
[Season]-[Episode] - [Name] if(isempty([Track #]),,/[[Track #]/])
[Watched Percent] [Plays]

It shows all of the information correctly.  My view is a Panes view.  A Categories view can have some unusual handling of certain things.  I don't have the energy to test it right now, but that might be the difference.  Maybe.

Brian.