INTERACT FORUM

Please login or register.

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

Author Topic: [19.0.114] Custom sorting inside Theatre View Items to Show  (Read 1402 times)

Gatherum

  • Citizen of the Universe
  • *****
  • Posts: 651
[19.0.114] Custom sorting inside Theatre View Items to Show
« 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?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: [19.0.114] Custom sorting inside Theatre View Items to Show
« Reply #1 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.
Logged
The opinions I express represent my own folly.

Gatherum

  • Citizen of the Universe
  • *****
  • Posts: 651
Re: [19.0.114] Custom sorting inside Theatre View Items to Show
« Reply #2 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?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: [19.0.114] Custom sorting inside Theatre View Items to Show
« Reply #3 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
Logged
The opinions I express represent my own folly.

Gatherum

  • Citizen of the Universe
  • *****
  • Posts: 651
Re: [19.0.114] Custom sorting inside Theatre View Items to Show
« Reply #4 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
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: [19.0.114] Custom sorting inside Theatre View Items to Show
« Reply #5 on: February 14, 2014, 08:10:48 pm »

Oh, you wanted a literal line break.  I don't believe it is possible.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up