[Icecast] Can icecast stream a file from disk?

Paul Martin pm at nowster.org.uk
Wed Jun 4 21:16:06 UTC 2008


On Tue, Jun 03, 2008 at 08:45:21PM -0500, H. Wade Minter wrote:
> I'm in a situation where I have some MP3 files I'd like to stream on- 
> demand, but for various reasons can't just make the MP3 files  
> themselves available.
> 
> Is there a way, using icecast, to set up a server that would just bind  
> to a port, and stream one file as specified in the config file, then  
> stop?  So somewhere in the icecast.xml, I'd like to say "File: /tmp/ 
> myfile.mp3", and then just have the server start playing that.

This might work well...

    <mount>
        <mount-name>/stream.mp3</mount-name>
        <intro>/myfile.mp3</intro>
        <fallback-mount>/this_stream_has_finished.mp3</fallback-mount>
        <fallback-override>0</fallback-override>
    </mount>


-- 
Paul Martin <pm at nowster.org.uk>



More information about the Icecast mailing list