Question

I have a PHP MP3 file which changes every time it is loaded, and plays a different advert, what I would like is away or is there away to play that before the SHOUTcast stream as the SHOUTcast intro file.

I personally dont really want to put it into flash or create custom playlist files but more would like SHOUTcast to fetch an intro file from a URL address.

Was it helpful?

Solution

Unfortunately, the SHOUTcast configuration doesn't allow this directly.

However, you can easily accomplish what you need by having a script pick a new intro file every few seconds or so. Then you can either write that MP3 to the file configured in SHOUTcast, or create a symlink and update it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top