* http.c : http mini-server ;)
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
- * $Id: http.c,v 1.55 2004/03/03 14:22:47 fenrir Exp $
+ * $Id$
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Laurent Aimar <fenrir@via.ecp.fr>
{
playlist_SortAuthor( p_sys->p_playlist , i_order );
msg_Dbg( p_intf, "requested playlist sort by author (%d)" , i_order );
- }
+ } else if( !strcmp( type , "Shuffle" ) )
+ {
+ playlist_Sort( p_sys->p_playlist , SORT_RANDOM, ORDER_NORMAL );
+ msg_Dbg( p_intf, "requested playlist shuffle");
+ }
break;
}
<option value="title">title</option>
<option value="group">group</option>
<option value="author">author</option>
+ <option value="Shuffle">Shuffle</option>
</select> with
<select name="order">
<option value="0">normal order</option>