INTERACT FORUM

Windows => JRiver Media Center 33 for Windows => Topic started by: subway33 on April 11, 2025, 08:40:50 am

Title: Year/month structure view help
Post by: subway33 on April 11, 2025, 08:40:50 am
Can someone help me build this view? Within this structure, I would like to see the months of the year in their correct form. After several attempts to create the expression, I was unable to succeed.

Thanks in advance.
Title: Re: Year/month structure view help
Post by: zybex on April 11, 2025, 01:56:53 pm
Try:
Code: [Select]
formatDate([Date Imported, 0], year)\formatDate([Date Imported, 0], month)\[Artist, 1] - [ Album]&datatype=[list]
Title: Re: Year/month structure view help
Post by: subway33 on April 11, 2025, 02:07:19 pm
Thank you Zbex for your prompt help.

It seems that it is almost there, the order of the months is alphabetical, instead of the order of the months of the year.

Title: Re: Year/month structure view help
Post by: zybex on April 11, 2025, 02:29:36 pm
For that you need to add the expression in 3 separate Categories instead of adding a single category with the full expression.

Category 1:
- name = Anos
- Group by = formatDate([Date Imported, 0], year)

Category 2:
- name = Meses
- Group by = formatDate([Date Imported, 0], MM)
- display = formatDate([Date Imported, 0], Month)

Category 3:
- Name = Albums
- group by = [Artist, 1] - [ Album]
Title: Re: Year/month structure view help
Post by: subway33 on April 12, 2025, 04:40:49 am
Awesome Zybex!
Thanks for putting me in the right direction.
Very grateful as always. 8)