Random File Shuffler
This is an attempt to duplicate the iPod Shuffle functionality of grabbing random mp3's from your music collection. The program is written in python and the source is released under the GPL.
Download:
Version Info:
- random file copied to output directory from working directory
- recursion of directories using os.walk
- fill output directory until limit is reached
- command line arguments
- modified to work under linux (use shuffler-linux.py)
- gui interface
- cross-platform (win32/linux) in one script
- exception handling
- handle \\ from commandline arguments (win32)
- read-in options from a file (config file?)
- make limit based on the space left in drive (default)
0.1 - In the beginning...
planned features
Usage/Example:
win32:
You must use forward slashes "/" in your directories instead
of "\" until I figure out a way around this.
shuffler.exe [source directory] [output directory] [size limit]
shuffler "D:/audio/" "E:/" 64.0
linux:
python2.4 shuffler-linux.py [source directory] [output directory] [size limit]
python2.4 shuffler-linux.py "/mnt/music" "/mnt/usb" 256.0
Default Values:
If you don't enter in any values, the default values will be used. They are represented in the table below:
| Category | Win32 | Linux |
| source directory | D:/audio/ | /mnt/music/music/ |
| output directory | D:/usbdevice/ | /mnt/usb/ |
| size limit | 256.0 | 256.0 |