INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: Gatherum on February 14, 2014, 06:53:28 pm

Title: [19.0.114] Custom sorting inside Theatre View Items to Show
Post by: Gatherum on February 14, 2014, 06:53:28 pm
See below for screenshots of my current theatre view "tree", as it were. In screenshot 2, you can see the expression by which I group albums. My problem is in screenshot 3: there is no custom sorting option. I want to sort the albums--not the individual files--by a custom library field I have called [Original Date].

What should I do?
Title: Re: [19.0.114] Custom sorting inside Theatre View Items to Show
Post by: MrC on February 14, 2014, 06:56:23 pm
Sorting presets can be created, but you have to do it from a Standard View.  Go to a Standard View, and find the Sort By in a tab, and use the Preset configuration there.  Once created, these Presets will be available in your other Sort pulldowns.
Title: Re: [19.0.114] Custom sorting inside Theatre View Items to Show
Post by: Gatherum on February 14, 2014, 07:07:41 pm
Ahh, thank you. That did it. :)

Also, since were already here, I may as well ask: in screenshot 2, in the Albums expression, you may have noticed this part:

Delimit([Channels],/ Channels,),))/#
#//(FormatDate(yyyy.MM.dd)/)

The "/#</ br>#/" is meant to insert a line break, but is there an actual, specific expression tailored to do so?
Title: Re: [19.0.114] Custom sorting inside Theatre View Items to Show
Post by: MrC on February 14, 2014, 07:16:44 pm
Does that work for a line break?

/##/ was introduced with Regex(), as a quoting mechanism for the RE since its metacharacters collided with MCs.  But it is perfectly fine to use it elsewhere.

If you want to break the expression line in places other than the standard after comma in a function, etc., just use forward slash at the end of a line:

   foo/
   bar
Title: Re: [19.0.114] Custom sorting inside Theatre View Items to Show
Post by: Gatherum on February 14, 2014, 08:03:31 pm
Actually, using just a forward slash (/), surprisingly enough, does not insert a break, probably because there is no character (not even a space) directly after the slash. Just tried it. Messed a few things up until I changed it back to /##/. :P
Title: Re: [19.0.114] Custom sorting inside Theatre View Items to Show
Post by: MrC on February 14, 2014, 08:10:48 pm
Oh, you wanted a literal line break.  I don't believe it is possible.