DOWNLOADS EXAMPLES SKINS DOCS SUPPORT
 
 

Changing the order of the playlist

Option 1:

You can run Wimpy MP3 Player, and Wimpy AV off of an XML playlist rather than PHP / ASP / CFM. Use Playlister to generate a custom XML playlist or your can create an XML playlist manually. Click here for example XML playlists.

Option 2:

Rename your files so there is a number at the front of the name....

Example:
1-mysong-C.mp3
2-mysong-B.mp3
3-mysong-A.mp3

Option 3:

Wimpy PHP and Wimpy ASP offer two sorting options:

1. Ascending
2. Descending

By default, the playlist is sorted ascending according to alpha-numeric A-Z,  0-9 -- top to bottom based on the file name.  You can flip this so that the order is Descending, Z-A, 9-0 Bottom to top by editing the wimpy.php/asp variable named fileSortOrder. To do so, open wimpy.php/asp up in a text editor and set fileSortOrder to "des" -- there are additional instructions and examples in the comments of the wimpy.php/asp file. as:

// fileSortOrder
// Controls the sort order of how the files should be listed.
// Can be set to:
//"asc" - sort the files in alphabetically ascending order (A-Z)
//"des" - sort the files in alphabetically descending order (Z-A)
//
//$fileSortOrder = "des";
$fileSortOrder = "asc";

Option 4:

You can "mask" a portion of the file name that appears in Wimpy MP3 Player. This allows you to use a portion of the file name to establish an order, and the other part of the filename to display in the player.

The following file name examples...

20060831.mysong-C.mp3
20060815.mysong-B.mp3
20060801.mysong-A.mp3

... would appear within Wimpy MP3 Player as:

mysong-C
mysong-B
mysong-A

 

 

 

 

 

  ©Copyright Plaino LLC. All rights reserved.