| View previous topic :: View next topic |
| Author |
Message |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Sat Apr 03, 2010 11:43 pm Post subject: Random list |
|
|
Hi guys. Is there a way to sort a list randomly? I have a playlist of audio files and i want to sort it in random mode.
Thanks a lot!!
Marcelo |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sun Apr 04, 2010 1:34 pm Post subject: |
|
|
Wouldn't it be easier to play random songs from the list, rather than randomize the list?
| Code: |
RANDOM @datetime(ddyymmnnss)
%%song = @item(1,@random(0,@pred(@count(1))))
|
_________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Sun Apr 04, 2010 11:07 pm Post subject: |
|
|
You are right!!!!!
Thanks a lot !! |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Sun Jul 04, 2010 9:38 pm Post subject: |
|
|
I did this long ago, I found that it was best to remove the song from the list once it was picked, then add all songs back into the list after all had been played.
Prevents the same song from being played back to back or skip two, play again etc. which I found annoying |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Sun Jul 18, 2010 2:04 am Post subject: |
|
|
Good idea too..
Thanks!! |
|
| Back to top |
|
 |
|