by J_T_W » Mon May 17, 2021 3:14 pm
The rendering within the browser (or returned by API to your 3rd party client) is (generally) sorted in one of two ways. If the folder has no playable files within it, sort information is taken from the Folder name only. If it has playable media within it, sort information is taken from the first file with metadata contained therein, or if no files have metadata, the Folder name. When sorting on metadata, the Album Title is used for display, but sorted either Alphabetically or by Year based on your choice. As with other media server utilities, your own personal sort/filing method is best served using a structure that is generally accepted globally, and keeping a reliance on metadata-only sorting to a minimum yields good results. I personally go with a folder structure similar to what Plex recommends, as I found that I get similar sorting/display across Plex, Subsonic, and Airsonic (Madsonic not so much). But in general, "[Alpha]\Artist\Year - Album\Track Number - Song Title" or "[Alpha]\Artist\Year - Album\[Release ID or Disc Number]\Track Number - Song Title". In the former, Subsonic navigation and sort is Folder-name based for Alpha (I've ~2500 artists, so breaking it down was easier for my own use), Folder-name based for Artist, then a split with Folder-name for folders that have child {Release ID or Disc Number] at the top of the list, followed by Metadata-name for albums below. If [Release ID or Disc Number], it switches to Metadata when going to that level. It has been real hot minute since I had "loose" files in a single folder, or folders with playable media and subfolders mixed, so I can't recall how that renders. I don't know if you have a favorite metadata editor - I personally go for MP3Tag - but ensuring that the metadata is accurate for the album level has proven a necessity for my collection.