More > JRiver Media Center 21 for Windows

Global var issue and musings

<< < (3/7) > >>

Matt:

--- Quote from: Matt on July 08, 2013, 07:53:01 pm ---I wonder what constructs you'd need to categorize into buckets like:
Classic Rock - 600 files - 50 Artists
Folk - 420 files - 37 Artists
etc.

I think the most efficient would be to have two expressions define the category:
Group by: [Genre]
Display: [Genre] - Summary(# Files) - Summary(# Artists)

--- End quote ---

Next build:
NEW: Expression based categories can define separate grouping and display expressions so that you can group by something like artist, but then display something more advanced with counts, number of albums, etc.
NEW: Group-based expression functions like GroupCount(...) and GroupSummary(...) are supported in the new category display expressions.

It should work in Standard View, Theater View, Gizmo, etc.

I'll start a thread sometime in the next few days to explain this better and give some examples.  I think it opens up a lot of neat possibilities.

MrC:
I see that GroupSummary() will provide averages of values, such as Number Plays.

Is there a mode to get a summation instead?

Matt:

--- Quote from: MrC on August 13, 2013, 02:24:19 pm ---I see that GroupSummary() will provide averages of values, such as Number Plays.

Is there a mode to get a summation instead?

--- End quote ---

It decided per field the most logical summary style.

Functions to ask explicitly for mode, mean, min, max, etc. would be a nice addition.

mark_h:
I'm not getting anywhere with these new expressions.  Any examples to help me understand how I might use them?

MrC:
GroupCount() and GroupSummary() can be used in the new TAW's Stats area.

They can also be used in a Categories expression by using different expressions to group by and display.  For example:

Expression to group by:
[File Type]

Expression to display....
[File Type] /(GroupCount()/)

This would group by file types, but show you file types followed by the count of the given file type.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version