|
My current code for playing MP3's relied upon all files being in the root
directory, and all files actually being mp3's.
This is very limiting as any random file types other than mp3s will still
try and 'play', and having all your files in one folder is not ideal!
So I set about creating an algorithm that will index multiple levels of
subdirectories for valid mp3 file types storing a so called index on the
drive, allowing quick access of valid mp3 files by the play list section
of code.
To implement these new features I required disc write functions, as well
as the folder indexing code.
My initial code for this is working successfully, though I need to work
on some code to allow the index to be added as a file using the file allocation
table. I plan to create a file called 'index' in the root directory which
will consist of clusters in a chain as any other file would, hence will
be accessible/adjustable via a PC as well as the player itself.
Since producing the FAT32 File IO Library, a different easier approach
is available, including options of reading winamp playlist files.
When I write the code I will put it up here.... |
|
|