Dynamic M3U Generator with Auto-Timeout for Streaming Audio
To give you an example of what this PHP script actually does... A link will trigger an M3U playlist to be dynamically created. This will cause all of the MP3 audio files within a folder on the server to be indexed, dynamically written to an M3U file, then opened in your default media player! If any of the audio files are deleted, renamed, or more audio files are added, the changes will automatically be reflected within this dynamically generated M3U playlist. When the M3U playlist is created, it includes an automatic timeout feature, which causes the audio stream to timeout after a set interval. The timeout length is totally customizable! For example, you could timeout the stream after 35 seconds, 1 hour and 2 minutes, 1 day and 3 hours, or whatever you like! Even more, there are built in security features that prevent your listeners from being able to directly download your audio files, or even be able to tell where they are actually located on the server!