|
|
|
|
Mp3player question...
Is there a parameter that you can pass to alphabetize the mp3s specified in your folder? I thought it would alphabetize automatically, so I renamed my mp3s to accomodate that logic.
|
| Author: | jtrue |
| Date: | Feb/5/07 9:28am |
| Thread: | 22419 |
| Post: | 22420 |
Respond: |
Reply To
|
|
RE:Mp3player question...
The mp3player uses the date the mp3 was created as the sorting order but you can change that easy. Open the cgi file (named "index.cgi") and find line number 447. Line 447 says: "my $LIBRARY_TOTAL = $#cnt+1;" Add this line to the code: "@cnt = sort @cnt;" (everything inside quotations) This will sort the songs by title instead.I will be adding this feature to the latest version of the player. If you have trouble adding this, we can add it for you. Just fill out a support form with ftp info and i can add it for you. Hope this helps, James
|
|
|
RE:RE:Mp3player question...
Thanks. Worked well, except it does not change the playlist when the user clicks on the framed player's playlist link. Is that correct?
|
| Author: | jtrue |
| Date: | Feb/7/07 8:27am |
| Thread: | 22419 |
| Post: | 22422 |
Respond: |
Reply To
|
|
RE:RE:RE:Mp3player question...
Drew, To sort the playlist too goto line 928 and add the following inside quotes: "@playlist = sort @playlist;"
|