Optimized for Google Chrome
Back | Home


A friend of mine was looking for an application that would stream MP3s located in a directory that could be accessed remotely. He found something that worked (I don't remember the name), but as usual, the pinprick that wrote the utility wanted payment and so crippled the software. My friend attempted to reverse-engineer it, but failed miserably. Rather than attempt the task myself, I decided to write something that would adequately do the job. It took me 30 minutes.

All that must be done is to place this main PHP file in a directory full of the MP3s you wish to stream. If you have any subdirectories you wish to include, simply use this stub (note that the main file must be in some parent directory with respect to the stub within the tree hierarchy). You'll also have to rename these files with the appropriate .php extension. Any updates to the main code do not require updating any subdirectory stubs. You can, of course, take a look at an example.

Liberty is rendered even more precious by the recollection of servitude. -- Cicero
Last updated: 2020-07-13 17:29