INTERACT FORUM

More => Old Versions => JRiver Media Center 30 for Windows => Topic started by: markf2748 on November 16, 2022, 01:26:18 am

Title: Sorts on [Last Played] and [Last Played (album)] fail for albums with same name
Post by: markf2748 on November 16, 2022, 01:26:18 am
I use the field [Last Played (album)] as a custom sort in my Recently Played tab library view.
It works well except when two different albums have the same name.

Examples:
Dialogues by Jim Hall
Dialogues by Charlie Haden

Blue by Joni Mitchell
Blue by Terje Rypdal

In these cases, the two identically named albums get sorted into a single group, even when their last played dates are very different.  Consequently they are not positioned correctly in the list of all other sorted albums.
The same problem occurs for a sort based on [Last Played].

I really don't want to rename the albums.  Is there a work-around or fix so these albums are separated (not grouped) into their correct last played order along with the rest of my albums?

MC 30.0.31   Windows 11 Pro 22H2
Title: Re: Sorts on [Last Played] and [Last Played (album)] fail for albums with same name
Post by: markf2748 on November 16, 2022, 01:35:21 pm
My library view is defined with:

Type:  Expression
Expression to group by: [album]

Is the "Expression to group by" the source of this issue?
Is there a better expression to use here that will display all albums individually, properly sorted, without grouping together albums of the same name?
Title: Re: Sorts on [Last Played] and [Last Played (album)] fail for albums with same name
Post by: zybex on November 16, 2022, 01:39:32 pm
Might be, try grouping by [Album Artist (auto)] which differentiates between albums with same name but from different Artist.
Title: Re: Sorts on [Last Played] and [Last Played (album)] fail for albums with same name
Post by: markf2748 on November 16, 2022, 02:02:56 pm
Might be, try grouping by [Album Artist (auto)] which differentiates between albums with same name but from different Artist.
Thanks, but that does not do it.  The albums get grouped by Artist, which messes up my sort by [Last Played (album)].

But I am thinking "Expression to group by" is the root of the problem.  I just want to display albums "ungrouped", all individual thumbnails displayed in rows according to the sort.  If I leave the expression blank, then everything just appears in a single big group, no rows.

Maybe this amounts to a feature request??

Title: Re: Sorts on [Last Played] and [Last Played (album)] fail for albums with same name
Post by: zybex on November 16, 2022, 02:15:20 pm
I agree, I think the problem is that the [Last Played (album)] is a relational field with only 1 value per [Album]. It should actually be "1 value per [Artist - Album (Year)]", which MC does not support.
Title: Re: Sorts on [Last Played] and [Last Played (album)] fail for albums with same name
Post by: markf2748 on November 17, 2022, 09:25:42 am
Simple Solution

Create a custom view with a single category.

View As:  Categories
Add...
Type: Library field
Select Field:  Last Played (album)
(Grouping appears greyed out un-selected)

Select view tab > hover menu > Sort By > Custom > Add... > Descending (Z-A) >  Last Played (album)

Title: Re: Sorts on [Last Played] and [Last Played (album)] fail for albums with same name
Post by: markf2748 on November 17, 2022, 04:52:53 pm
I agree, I think the problem is that the [Last Played (album)] is a relational field with only 1 value per [Album]. It should actually be "1 value per [Artist - Album (Year)]", which MC does not support.
@zybex I think you are correct (as usual :)) and this should be fixed if possible.

While the "Simple Solution" described in previous Post #5 works for my Audio View, where this field always seems to retain unique values, I was surprised that it does not fix the problem for the same field in my Image View.  For a duplicate album name, only one value of [Last Played (album)] gets retained for images associated with the different albums, therefore messing up the image view sort.  Even if I copy the correct date values manually into this field in the image view, both duplicate album name images only retain the single most-recently entered value.

With duplicate album names present, this behavior defeats the purpose of my original request for this field:
https://yabb.jriver.com/interact/index.php/topic,129719.msg899956.html#msg899956 (https://yabb.jriver.com/interact/index.php/topic,129719.msg899956.html#msg899956)

I will submit a Feature Request.
https://yabb.jriver.com/interact/index.php/topic,134499.0.html (https://yabb.jriver.com/interact/index.php/topic,134499.0.html)