GNOME Bugzilla – Bug 652375
Sort audio files by track number
Last modified: 2012-08-12 17:54:17 UTC
Created attachment 189751 [details]
Album lookup (Rygel debug log)
Apparently, Rygel sorts files alphabetically before returning them to the client who requested them (http://git.gnome.org/browse/rygel/log/?qt=grep&q=sort).
I think that this is suboptimal for audio files. In my music collection, a majority of the audio files are part of an album. When I browse an album, the audio files it contains are listed alphabetically. I observed this behaviour with both the Tracker and the MediaExport plugins.
In the case where the results are audio files from a single album, I think it is pretty clear that they should be sorted by track number (stored in the file metadata tags), not alphabetically. Not so sure, what should happen though if the results contain files from multiple artists and albums...
I attached a Rygel debug log and Wireshark dump.
Created attachment 189752 [details]
Album lookup (Wireshark dump)
This behaviour exists in 0.12.5 still. Tracknumbers should really be leading in sorting music part of an album.