Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Holger Erlands-Petersen on October 11, 2001, 12:38:26 AM
-
Hi,
Does anyone have a clue to how to change the sorting of song titles
displayed in the web browser?
As it is now, the songs are sorted alphabetically by name. I would like
to have them sorted by track number.
/Holger
-
have you tried renaming the songs and having them in the format..
01-somename.mp3
02-songname.mp3
etc
-
Yes, I use this naming convention:
01 - Aerosmith - Walk On Water.mp3
But still the songs show up in the browser sorted by the MP3 'Track Title' Tag.
/Holger
-
Look in http.conf, there are parameters you can set for the Apache::MP3 package that allow you to set what the sort fields are, and also what fields are displayed.
Make a custom template from a copy of /etc/e-smith/templates/etc/httpd/conf/httpd.conf and edit it so it outputs the flags you want. See the docs in /usr/lib/perl5/site_perl/5.6.0/Apache/MP3/Sorted.pm for the details of what parameters and values are available.
--Robin
-
Hi Robin,
OK - I think I have figured it out know.
I've created a new custom-template and changed the SortField
parameter. I then expanded this template and everything seems to work
fine (after a reboot).
Thank You for pointing me in the right direction!
/Holger