Difference between revisions of "Grouping Functions"
(→NAME(…)) |
RoderickGI (talk | contribs) |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{incomplete}} | ||
{{function type page}} | {{function type page}} | ||
The [[expression language]] is largely used to evaluate one file at a time. The grammar implies that something like {{monospace|Field(Artist)}} should get the Artist value for the current file being evaluated. Grouping Functions are a special class of functions that operate on a group of files, instead of on individual files. A simple example would be a function to count the number of artists in the current group. | The [[expression language]] is largely used to evaluate one file at a time. The grammar implies that something like {{monospace|Field(Artist)}} should get the Artist value for the current file being evaluated. Grouping Functions are a special class of functions that operate on a group of files, instead of on individual files. A simple example would be a function to count the number of artists in the current group. | ||
− | Grouping Functions may only be used in relevant areas (most notably Categories and the [[Tag Action Window]]) | + | Grouping Functions may only be used in relevant areas where Media Center displays groups of files (most notably in [[Categories]] and the [[Tag Action Window]]), and not to individual file listings (such as an expression column in a File Details View). |
=== <span id="GroupCount">GroupCount(…)</span> === | === <span id="GroupCount">GroupCount(…)</span> === | ||
Line 12: | Line 13: | ||
| arguments=field | | arguments=field | ||
| description= | | description= | ||
+ | {{argument optional|field|current grouping}} | ||
+ | |||
GroupCount() can be used to count the members of a group of files. | GroupCount() can be used to count the members of a group of files. | ||
− | |||
| examples= | | examples= | ||
'''Example Threads:''' | '''Example Threads:''' | ||
− | + | * [http://yabb.jriver.com/interact/index.php?topic=81766.msg564453#msg564453 Matt introduces Grouping Functions] | |
− | + | * [http://yabb.jriver.com/interact/index.php?topic=94848.msg663421#msg663421 Use field names, not field values (square bracket notation)] | |
}} | }} | ||
− | === <span id=" | + | === <span id="GroupSummary">GroupSummary(…)</span> === |
− | : | + | : Summarises the members of a specified group (in a category or field). |
{{function description box | {{function description box | ||
Line 28: | Line 30: | ||
| arguments=field | | arguments=field | ||
| description= | | description= | ||
+ | {{argument optional|field|current grouping}} | ||
+ | |||
Smartly summarizes the members of a specified group (mode, mean, min, max, etc as is most logical for that grouping). | Smartly summarizes the members of a specified group (mode, mean, min, max, etc as is most logical for that grouping). | ||
− | |||
− | |||
| examples= | | examples= | ||
'''Example Threads:''' | '''Example Threads:''' |
Revision as of 23:44, 24 September 2019
- This article is a incomplete. It is missing detail about critical functions, or contains a number of red links. You can help the JRiver Wiki by expanding it.
- See also: Expression Language and Function Index
The expression language is largely used to evaluate one file at a time. The grammar implies that something like Field(Artist) should get the Artist value for the current file being evaluated. Grouping Functions are a special class of functions that operate on a group of files, instead of on individual files. A simple example would be a function to count the number of artists in the current group.
Grouping Functions may only be used in relevant areas where Media Center displays groups of files (most notably in Categories and the Tag Action Window), and not to individual file listings (such as an expression column in a File Details View).
Contents
GroupCount(…)
- Counts the members of a specified group (in a category or field).
Description | GroupCount(field)
GroupCount() can be used to count the members of a group of files. |
---|---|
Examples | Example Threads: |
GroupSummary(…)
- Summarises the members of a specified group (in a category or field).
Description | GroupSummary(field)
Smartly summarizes the members of a specified group (mode, mean, min, max, etc as is most logical for that grouping). |
---|---|
Examples | Example Threads: |