[Icecast] Automatic Update of MP3 Files

Gene Steinberg gene at theparacast.com
Fri Sep 26 19:15:51 UTC 2014


Linked file means the original MP3 file posted on the server.

init script? Tell me where to find one? That’s what the Web guy evidently didn’t know, since he’s not experienced at Icecast.

Peace,
Gene


> On Sep 26, 2014, at 12:11 PM, Thomas B. Rücker <thomas at ruecker.fi> wrote:
> 
> On 09/26/2014 01:57 PM, Gene Steinberg wrote:
>> Well, not quite. The radio network that carries my two radio shows does on-demand and live.
>> 
>> We just wanted an on-demand streamer for our own needs.
> 
> I don't understand why you call this on demand, but then use a source
> client to stream it, that's not really on-demand, that's still
> considered streaming.
> 
> On demand is usually considered something where the content is always
> started from the beginning (unless client and server explicitly
> implement resume).
> 
>> The code from our webmaster to update after a linked file is replaced is:
> 
> What is a "linked file"? What does this mean?
> 
> 
>> 1) You need to update the playlist file with the new show.
>> 
>> 	A) PARACAST FILE LIVES HERE: /usr/local/etc/paracast.m3u
>> 	B) TECH NIGHT OWN FILE LIVES HERE: /usr/local/etc/nightowl.m3u
> 
> Given that the file names here match the file names in 3) (except the
> m3u/cfg file extension), I'm going to guess that those are play lists
> that then are being streamed.
> 
> 
>> 2) Shut down/restart icecast. (there may be ways of not having to restart the stream, but it's beyond me)
>> 
>> 	A) RUN THIS COMMAND: ps -C icecast
>> 	B) Get the PID # that is shown for icecast
>> 	C) RUN THIS COMMAND (where PID# is from above): kill PID# 
>> 	D) RUN THIS COMMAND: /usr/bin/icecast -c /etc/icecast.xml -b
>> 	E) You MIGHT have to hit CTRL-C after that last step to return to prompt.
> 
> This is most certainly NOT necessary. What would make you think that you
> need to do this?
> Also why are you not using an init script?
> 
> 
>> 3) Restart icegenerator (this is what serves the mp3 files to icecast)
>> 
>> 	A) RUN THIS COMMAND: /usr/local/bin/icegenerator -f /usr/local/etc/paracast.cfg
>> 	B) RUN THIS COMMAND: /usr/local/bin/icegenerator -f /usr/local/etc/nightowl.cfg
>> 
>> So what am I missing? Can we make this dynamic?
> 
> I'm not familiar with Icegenerator.
> Have you tried reading its documentation?
> http://www.becrux.com/index.php?page=projects&name=icegenerator
> 
> If that doesn't fit your bill you could switch to a different source
> client that's capable to reload its play list dynamically. That might be
> e.g. ez-stream, but there are many.
> 
> 
> Cheers
> 
> Thomas
> 
> 
>>> On Sep 25, 2014, at 11:56 PM, Thomas B. Rücker <thomas at ruecker.fi> wrote:
>>> 
>>> On 09/26/2014 12:39 AM, Gene Steinberg wrote:
>>>> So I have a new Icecast setup with two channels, each of which carries a link to MP3 files.
>>> Icecast is intended for live streaming, not for serving static files.
>>> Which of both are you doing here?
>>> 
>>> 
>>>> Whenever I update the .m3u file to reflect a changed link, I have to restart Icecast and the Icegenerator to make it recognize the change.
>>> Where do you update a m3u file? Icecast generates dynamic m3u files for
>>> streams, so creating your own is usually not necessary.
>>> Or is this something in your source client side (Icegenerator?).
>>> 
>>> Cheers
>>> 
>>> Thomas
>>> 
> 
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast




More information about the Icecast mailing list