More > JRiver Media Center 33 for Windows

Grouping function expression help

<< < (2/2)

zybex:
You're right, it looks like FieldQuery() only outputs unique values, excluding duplicates. I assumed the function would return one item per file, including duplicates. It worked on my video collection because [Genre] for movies is usually a longer list of items where the order of genres is seldom the same, so "action;comedy" is different from "comedy;action" and both were listed.

@Matt, I assume this is by design as it is usually the desired behavior. Perhaps it makes sense to add a mode for "allow duplicates" ? Or to return the count of each item as DangerJP wants.

DangerJP:

--- Quote from: zybex on October 17, 2024, 02:12:12 am ---You're right, it looks like FieldQuery() only outputs unique values, excluding duplicates. I assumed the function would return one item per file, including duplicates. It worked on my video collection because [Genre] for movies is usually a longer list of items where the order of genres is seldom the same, so "action;comedy" is different from "comedy;action" and both were listed.

@Matt, I assume this is by design as it is usually the desired behavior. Perhaps it makes sense to add a mode for "allow duplicates" ? Or to return the count of each item as DangerJP wants.

--- End quote ---

🙏

Navigation

[0] Message Index

[*] Previous page

Go to full version