More > JRiver Media Center 21 for Windows
Global var issue and musings
vagskal:
I would like to be able to use the Group() functions in thumbnail text when in a categories view (with thumbnails, of course). The group would be the category after which the current view/level is displayed. A simple example would be a categories view with this order:
[Album Artist (auto)]
[Album]
When looking at the [Album Artist (auto)] level the group would be [Album Artist (auto)]. GroupCount(Album) would then in the thumbnail text display the number of albums for that [Album Artist (auto)]. When at the [Album] level of that view the thumbnail text could display the number of artists for the individual album by using GroupCount(Artist) in the thumbnail text (I always set the [Album Artist] field for non VA albums so this works for me).
If it is possible to get this to work in thumbnail text, a cool addition would be to have a GroupRange() expression to show Albums released XX-XX by one artist.
I might have misunderstood something completely. In this case, please disregard.
MrHaugen:
I'm looking for a way to use this for counting number of episodes in each season of my TV Shows and check if there's anything missing between the first episode and the last. I would also like to use this to count all Watched episodes and Not Watched episodes in each season of all my TV Shows. Then have this as an expression in the info pane so I know which season to dive into.
Is this currently possible with this GroupCount() or GroupSummary() expressions? I've tried with adding a pane column with GroupCount, and it counts alright. But I can't seem to set two items like TV Show and Season, and get the number of files for that combo. Just one group at a time. Do I have to use some global variables for this, or should this stuff be able to handle it?
MrHaugen:
Nobody knows, or are everybody so uncertain because of uncharted territory?
MrC:
Think of these functions as simple and limited counters or summarizers.
The GroupSummary() function accepts a "key", which is a field name, and if Matt has coded a summarizing function for this "key", you get a value back. So it won't work to supply random arguments.
The GroupCount() function is similar, but just adds up the number of things in a category.
Both of these functions are limited in that they can only work currently in locations where there is a set of categories being determined (like a panes column, or in an upcoming new tag action window replacement).
You're wanting something that is still higher level, and other than what we've discussed in the past, there are no other techniques.
Did the method I provided a while ago in another thread not work?
MrHaugen:
Ok. I see. That's a bit disappointing. I was hoping for a more open system to count everything from everywhere. Matt, can you please consider adding the summary function to work for the actual items of a TV Show and Seasons? As well as a counter on watched and not watched status for the same two? It would give us some cool info tools in the Small Info pane when browsing! This have been a function in other MC's for lots of years, and users love it.
The functions would be rather simple simple to add I believe?
Episode summary: Count number of episodes in TV Shows as well as each Season. Added bonus would be if it was possible to check the number of episodes in each season against the Starting and ending episode number, and logically figure out if there are any episodes missing.
Watched/Not Watched Summary: This could include number of files in each TV Show or Season that have been watched and that's not watched.
MrC. The other suggestion you gave me only worked partially. I'm using lots of views to hide episodes already watched. The counter mechanism you showed me would not work in those cases. As it relies on what's viewed then and there. Not what files actually exists for that category. So, for me it's no good I'm afraid. And it's not ideal even if I had not filtered out watched items, as it does not work on the category above the actual file level :(
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version