Solved Saving files in random or shuffled order

March 5, 2014 at 18:07:37
Specs: Windows 7 ultimate, 256
I just bought a little portable stereo that I can put an SD card or flash drive into and it will play the songs on the drive. I have several thousand Mp3's on my computer and I want to be able to put them on the drive or card and play them. The stereo has nothing but, play, FF, rev, and skip forward or back functionality. All of my files, of course, have titles, lengths and dates. Some have artists, some album name, and some genre. The problem I have is that I can only save them to the drive in alphabetical order (and maybe by length, date, album ect) I want to save them 'randomly' or in a shuffled list. This way I do not have to listen in alphabetical order or to all one artist then all of the next, ect. Is there a program which will shuffle already saved filed on a drive or at the least save them 'randomly' without having to rename 3000 files one way or the other and allow me to have a random playlist going? Windows does not have a 'random' view and I am sure this would have to come from a 3rd party program.
Any help would be appreciated!!!

See More: Saving files in random or shuffled order

Report •

✔ Best Answer
May 11, 2014 at 18:11:12
I think I see what you are driving at. You want a program that adds a random number in front of the file as it is loaded onto the flash drive.

I know of no program available that does that. However, what you can probably do is write a batch file that will add random numbers to the files after they are on the flash drive. It would first have to count the number of files present.

Ask this new question on the Programming forum and it is likely someone can produce a script for you. You could copy this batch file onto the flash drive to run it then delete it once it has finished. I'm not clever enough but feel sure it is possible.

Always pop back and let us know the outcome - thanks



#1
March 6, 2014 at 04:00:01
If the player has no "shuffle" function, random playback is not possible.

Random playback (shuffle) is a function of the playback device or (on a computer) the media player application that's used.

If the device has no shuffle feature, you're stuffed.


Report •

#2
March 6, 2014 at 19:28:39
Gotcha on that one but my question is that can they be saved on the drive or SD card in a random or shuffled order. That way when they play it will be 'random'. I understand they will be in the order they are saved in but its the saved in order I want to create randomly. Understand?

Report •

#3
March 6, 2014 at 20:23:07
In what order you save them is irrelevant. It's up to the file allocation table (FAT, NTFS, etc) as to where they are stored on the drive. All it really is is an index. The OS of your player reads the FAT to see what you have on the drive and where.

The files don't even have to be stored continuous, they can be fragmented.

Like Phil says "shuffle" or "random" is a function of the OS, not the drive..

message edited by DanJ


Report •

Related Solutions

#4
March 6, 2014 at 21:17:57
Maybe I'm not explaining myself very well.
When I place the drive in the machine, the songs will be played in the order in which they were saved on the drive. This would be determined by the settings on Windows 7 (in this case). I do not want them saved on the drive in alphabetical order or order of artist or order of genre but in a mixed up order. I know Windows will make them into a list based on the setting. Is there a way, like a 3rd party program, that will control the order of the 'list' in a more random way, without having to go through and put a number or letter or something like that on each file, so that when the machine plays the 'list' it will not be in alphabetical order or order of artist or order of genre or one of the predetermined Windows 7 settings because it was saved on the drive that way.

Report •

#5
March 8, 2014 at 12:36:15
You're still not understanding how it works. Files are not saved to the drive in alphabetical order, it is up to the operating system of your computer, portable player, iPhone, iPad, iPod, Samsung Galaxy, HTC phone, phablet, Android device, etc how it presents the files to to. You player is simply reading the files and presenting them to you in an alphabetical order, not the order they are stored on the memory card. If you don't believe this, then wipe the memory card and one by one, put songs on the card in random alphabetical order. Then put the card in your player. Your player will have organized them alphabetically.

The ONLY way you're going to get them to play in the order you want is to rename them with a numbering system.

message edited by THX 1138


Report •

#6
May 11, 2014 at 18:11:12
✔ Best Answer
I think I see what you are driving at. You want a program that adds a random number in front of the file as it is loaded onto the flash drive.

I know of no program available that does that. However, what you can probably do is write a batch file that will add random numbers to the files after they are on the flash drive. It would first have to count the number of files present.

Ask this new question on the Programming forum and it is likely someone can produce a script for you. You could copy this batch file onto the flash drive to run it then delete it once it has finished. I'm not clever enough but feel sure it is possible.

Always pop back and let us know the outcome - thanks


Report •

#7
May 12, 2014 at 18:15:14
I think you're onto something there! Thanks! I'll try that.

Report •

#8
May 13, 2014 at 07:56:21
Let us know how you get on and in particular if you have reposted it in Programming.

I know you can change the names of files with a batch file, as required, also there is some form of Random command. It definitely ought to be possible - maybe you could have a go it yourself then if you run into any problem post your script on there. I've always managed to get a batch file to do what I need (eventually) but I'm by no means an expert. Testing "parts" is often the easiest way.

What I had in mind was a batch file that you could copy into any flash drive and get a different random sequence each time.

EDIT:
Just seen your new post in Programming so forget the above. I'll be watching there. If you choose a Best Answer on "this" post sometime it will mark it as solved.

Always pop back and let us know the outcome - thanks

message edited by Derek


Report •

#9
May 13, 2014 at 20:40:22
Thanks Derek! That worked great and was solved in 24 hrs!!!

Report •

#10
May 14, 2014 at 11:09:06
Great news and thanks for popping back to let us know.

Always pop back and let us know the outcome - thanks


Report •

#11
April 1, 2015 at 15:01:39
Here's what ya need mate. http://sourceforge.net/projects/fil...

Report •

#12
April 1, 2015 at 15:18:00
Re #11

That's a good find. What I'm not so sure about is whether the poster will come back and see it, as this question is a year or so old - we shall see.

Always pop back and let us know the outcome - thanks

message edited by Derek


Report •

#13
April 23, 2015 at 17:02:15
Hi, Derek, and thanks for all this. I'm a rookie on computer science... I checked the "File order ramdomizer" from the webpage http://sourceforge.net/projects/fil... and am interested. I have a conern about the risk it might be a virus or something. The file size seems rather small (just 150.5 kB). Do you think / know it is reliable?

Thank you.

Fernando

message edited by FernandoMaldonado


Report •

#14
April 23, 2015 at 17:23:39
Best bet is to put this string in Google:
"is sourceforge trustworthy"

At a glance sourceforge used to be OK but seems to have gone downhill. Like many websites there is always the risk of unwanted tat being downloaded. If you take the risk then I would suggest you do these three things:
1. Watch out for anything pre-checked that you don't want.
2. If there happens to be a custom install use that (only select the randomizer itself).
3. Run "at least" this little freebie afterwards as it often removes a stack of unwanted stuff:

AdwCleaner:
http://www.bleepingcomputer.com/dow...
(blue Download button near top - not anything else on the page).
Download and "Save" the file somewhere. Go to the saved file then double click it to run the program. Use the "Scan" button, followed by the "Cleaning" button.

It might find a few things that have been lurking around for ages and if you wish I can recommend a couple of other free checkers that we use widely on here.

As for the randomizer itself I can't comment - never used it.

Always pop back and let us know the outcome - thanks


Report •

#15
December 17, 2015 at 13:55:23
I have about 800 tunes on an SD card. After I loaded them to the card, I renamed the files to add a number in front of it. This broke up tracks grouped by artist, and of course 'looks' randomized on my PC. When I play in my cheap mp3 player (forward, reverse, pause, play only functions) it still plays all tracks from the artist in a row. If I understand the randomizer program you mentioned above, it just does what I did manually and failed.

Report •

Ask Question