

time stamp (I don’t know what Music Angel uses, I just know the songs are now played in a very random order). Maybe I am lucky, and other MP3 players will play based on name vs. So I thought it might work just like that, so I ejected the SD card, put it in the Music Angel, and the songs were played in random order. So the time stamps of each song was unique and ordered using that randomized song order. I successfully followed the instructions down to the point where they say, “Done yet? Nope!” I noticed as WMP was writing to the SD card, filling up almost all 16GB, that it was filling in the same random order it had given the playlist. I did most of this successfully just now on my Music Angel Bluetooth Speaker jh-md13bt2įirst of all, it was very helpful for you to just acknowledge that these devices are built without shuffle – I still don’t know why not. Run the program, point it to your microSD card, change the Digits for random number so it’s high enough for the total number of MP3s you have, and then click the Put random number at beginning of every file name button.

Finally, download the program File Order Randomizer, which you can also grab here in case it disappears. Press enter, and you’ll see that all the files have been renamed like so: I am able to cast, but I'm having trouble getting images to appear in a desired order for a slide show. Select all the music files on the SD card ( Ctrl-A), and then press the F2 key to rename all of them at once. Just learning how to cast photos from computer (PC) to TV. You should see a bunch of MP3 files, and they should look relatively shuffled. The next step is to open Explorer and look at your microSD card. We just have a few more steps to carry out to get a TRUE shuffle… Not to worry, because the Shuffle step is still important. Note – the script does not recurse into the directories, it can be easily modified with os.walk if python shuffle_files.py python shuffle_files.py python shuffle_files.Try again to play the music from your microSD card in the SoundCube, and you’ll discover that it pretty much ignores the shuffledness. Each iteration should list the files in the directory in a different order.

Run the script by providing a path to a directory with files. Print "Directory", dir_name, "does not exist" Print "Usage:", sys.argv, "/path/directory" Here is a simple script that I had to write for this purpose, the core component is the random.shuffle(list) python function – So occasionally I have to regenerate the playlist file to randomize the audio files order. The audio player unfortunately plays the music files in a sequential order, in whatever order they are listed in the playlist file. I have a playlist file which contains audio files to play. Randomly ordering files in a directory with python
