View Issue Details

IDProjectCategoryView StatusLast Update
0018591MMW 5Tracklistpublic2022-07-22 11:05
Reporterbarrym Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOS-OS Version10
Product Version5.0.3 
Target Version5.0.3Fixed in Version5.0.3 
Summary0018591: The Folder tag does not sort correctly
DescriptionThe Path tag displays driveLetter:\FullFilePath\FileName.Extension
The Folder tag displays driveLetter:\FullFilePath

But when the display is sorted by Folder the display is just sorted by the name of the last folder in FullFilePath.

Additional to the fact that this is very confusing, the implication of this is that the Folder tag cannot be used to group album tracks, and have each album in the expected sequence, if the MM database contains some album duplicates.

ie. A sort by AlbumArtist\Album|Track# merges the duplicated albums
A sort by AlbumArtist\Album\Path\Track# does group the albums, but the albums are not in track number order unless that track number is part of the file name, and each of the duplicates can sort differently if the have differing file name structures.


The way that the path is shown in a list view leads to the conclusion that a sort by AlbumArtist\Album\Folder\Track# will give the desired result
==> but this sort sequence merges the albums.

The sort sequence should be based upon what is visible to the user. ... ie. either display and sort by the last folder in the path, or display and sort by the full path
TagsNo tags attached.
Fixed in build2617

Relationships

related to 0018558 closedmichal Column Browser: Path is missing as column selection 
related to 0019267 feedbackzvezdan SQL collation for natural sort order needed 

Activities

Ludek

2022-04-22 10:35

developer   ~0067673

Last edited: 2022-04-22 10:36

Barry, can you elaborate what do you mean by sorting by Folder ?
AFAIK in MM5 you can't sort by folder, but only by path or by filename column?
Or which sorting are you reffering? i.e. which view/node etc. Could you attach a screencast to clarify?

barrym

2022-04-22 13:11

updater   ~0067676

Ludek: "AFAIK in MM5 you can't sort by folder, but only by path or by filename column?"

You can sort any of the List Views by Folder if you add the Folder column to the display, or you setup a custom view and use the Folder tag in the sort specification.
If you try to sort the display by this column, you will see that the display is sorted by the name of the inner-most folder only ... ie it ignores the disk designator, and all the outer folder names in the path hierarchy.

I don't remember this incident because I reported it about 6 months ago.
It looks like had some incident of mass duplicated albums added to MM5. Probably during the tests that i was running involving sync to|from Google Drive.
I don't remember the details, but it looks like I was trying to get a display in AlbumArtist|Album|TrackNumber sequence, where each album copy was grouped , and all the duplicates were sitting side by side.
I think that there was some frustration because the tracks downloaded from Google drive had different track names from my original disk copies, which was screwing up the sequence within the album, for one of the copies.
So the Path tag was not working for me
So I tried the folder tag, +++> but it sorts incorrectly, as described above.

The main point is that the Folder tag sorts different to what it displays.

PS: could you read the note that I added to an issue after you had closed it.
Here: https://www.ventismedia.com/mantis/view.php?id=18985

Ludek

2022-04-25 18:17

developer   ~0067776

Last edited: 2022-04-25 18:19

Thanks, I wasn't aware of the Folder column added by Michal in course of 0018558

Sorting is fixed in 5.0.3.2617

lowlander

2022-04-29 16:28

developer   ~0067879

Verified on 2618