[Icecast] Automatic Update of MP3 Files

Marco Carvalho marcosoul at gmail.com
Sat Sep 27 00:22:12 UTC 2014


Unsubscribe

On Friday, September 26, 2014, "Thomas B. Rücker" <thomas at ruecker.fi> wrote:

> On 09/26/2014 07:15 PM, Gene Steinberg wrote:
> > 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.
>
> If Icecast was installed from a distribution package, then there usually
> is a distribution specific way to start/stop/etc the server, in this
> case Icecast. In most cases this is an init script. Although nowadays
> systemd is becoming more popular and there it would be a service
> definition file.
>
> Long story short:
> There should be one already. Depending on what your "web guy" did to
> Icecast and its configuration, it may or may not work though.
>
> It sounds like what you need is a proper system administrator and not a
> "web guy".
>
>
> Cheers
>
> Thomas
>
>
>
> >> On Sep 26, 2014, at 12:11 PM, Thomas B. Rücker <thomas at ruecker.fi
> <javascript:;>> 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
> <javascript:;>> 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 <javascript:;>
> >> http://lists.xiph.org/mailman/listinfo/icecast
> > _______________________________________________
> > Icecast mailing list
> > Icecast at xiph.org <javascript:;>
> > http://lists.xiph.org/mailman/listinfo/icecast
> >
>
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org <javascript:;>
> http://lists.xiph.org/mailman/listinfo/icecast
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20140927/326b56ac/attachment.htm>


More information about the Icecast mailing list