Skip to main content
Topic: Random sort with Autoplaylist component (Read 1742 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Random sort with Autoplaylist component

Im trying to create an autoplaylist item that sorts its output playlist randomly every time a playlist is generated. Im having trouble finding the syntax for such a sort format. Can someone please point me in the right direction. 

The same function as Edit/Sort/Randomize would be ideal!

I have tried the wiki and searching but havent been able to find anything.

 

Random sort with Autoplaylist component

Reply #1
Try using $rand() as your sort string.

Random sort with Autoplaylist component

Reply #2
Yeap thats done it - thanks!

 
SimplePortal 1.0.0 RC1 © 2008-2020