Quote: Originally Posted by
Eubey 
i dont think it would be too hard. Heres the non-programming logic behind it:
List of folders, each folder has a number (line number)
Function NextShuffleSong
OpenFolder ( Random Number Between 1 and Max Folder)
ChoseSong ( Random Number Between 1 and Max Song)
End FUnction
So you dont have to array every song within every folder to choose the next song. First chose a folder, then choose a song.
Wouldnt it be nice if it were that simple... Actually what the program has to do is find all of the music files within the given folder and or subfolders, including wma, mp3, wav, etc. then it has to dump the results into a temporary container, database, grid control, whatever, then it has to number all of the results, or assign a number to each song, then it has to pick at random one of the numbers(songs). It would only have to do the search once, but what if you added music later, then it would have to do the search again. This is just not an efficient way to do it, plus all of the extra coding that it would take to make it perform this. Making the program do this would just add some major lags while running and the potential for errors and failures. I have demo'd streetdeck, and it has a feature where you can sort your music by album or artist, etc. But it is very inconsistent, like sometimes it will miss songs, or it will put the wrong album art on the wrong song, etc. It works pretty well most of the time, but there is some lag time. To make it work more randomly for your tastes, you might want to consider reorganizing your music so that the program can access the music better.