After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652375 - Sort audio files by track number
Sort audio files by track number
Product: rygel
Classification: Applications
Component: general
git master
Other Linux
: Low enhancement
: ---
Assigned To: Zeeshan Ali
Depends on:
Reported: 2011-06-12 02:10 UTC by florent.angly
Modified: 2012-08-12 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---

Album lookup (Rygel debug log) (435.71 KB, text/x-log)
2011-06-12 02:10 UTC, florent.angly
Album lookup (Wireshark dump) (147.94 KB, application/cap)
2011-06-12 02:10 UTC, florent.angly

Description florent.angly 2011-06-12 02:10:24 UTC
Created attachment 189751 [details]
Album lookup (Rygel debug log)

Apparently, Rygel sorts files alphabetically before returning them to the client who requested them (

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.
Comment 1 florent.angly 2011-06-12 02:10:55 UTC
Created attachment 189752 [details]
Album lookup (Wireshark dump)
Comment 2 Jeroen Hoek 2011-12-04 14:10:26 UTC
This behaviour exists in 0.12.5 still. Tracknumbers should really be leading in sorting music part of an album.