INTERACT FORUM

Please login or register.

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

Author Topic: Displaying ItemCount in thumbnail view?  (Read 459 times)

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2557
Displaying ItemCount in thumbnail view?
« on: October 10, 2021, 05:04:52 pm »

I currently use an expression based thumbnail view for movies to display them either by title or grouped by series tag:

Code: [Select]
if([Series],[Series],[Name])


I would like to append the number of items in the series (if it is a series) to the displayed title. I have tried using ItemCount() to display the number of items in the series but this does not seem to work:

Code: [Select]
if([Series],[Series] ItemCount(/[Series/]),[Name])


I understand that ItemCount() works in the context of files so in a grouped library view this doesn't really apply. Is there a way to display the number of files in the series, i.e. Mission Impossible (6), The Mummy (3), etc., in thumbnail view?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41971
  • Shoes gone again!
Re: Displaying ItemCount in thumbnail view?
« Reply #1 on: October 12, 2021, 12:43:45 pm »

Set the thumbnail text and use GroupCount().

It should show the number of files in a grouping.
Logged
Matt Ashland, JRiver Media Center

terrym@tassie

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 474
Re: Displaying ItemCount in thumbnail view?
« Reply #2 on: October 12, 2021, 05:28:42 pm »

I use the following (see attachment) to display Season and Episode counts, might be similar to what you want to achieve.
Logged
" I like work: it fascinates me. I can sit and look at it for hours." -Jerome K. Jerome
Pages: [1]   Go Up