[icecast] Switch to static file when stream unavailable...
sublime at mac.com
sublime at mac.com
Thu Jan 10 06:07:08 UTC 2002
the way we do this is to have iceS on one mountpoint and liveice on
another and we have a php script that logs into the icecast admin
interface and switches the default mountpoint at a specified time so no
matter how they connect to the stream (either direct client or .pls
file) they still get the mountpoint we want them to see at that time.
-peter
On Wednesday, January 9, 2002, at 10:37 PM, Chris Riddell wrote:
> I've combed through the archives and can't really find an answer to
> this.
>
> Essentially, I'm trying to set-up streaming for a college radio station.
> There are several programs which are syndicated that we apparently can't
> rebroadcast. The easiest thing that came to mind was setting up a cron
> job
> to shut down liveice at the appropriate time, swap index pages on the
> web
> server making the link to stream unavailable, then switch back and
> re-start
> liveice later.
>
> Instead of listeners who try to connect directly using a client during
> this
> time getting a 404 error, I was hoping to get icecast to default to a
> static
> mp3 when no encoder is connected. I've tried getting liveice to
> restart and
> feed icecast a playlist of this one file, but, because it's so short (6
> secs), I think, I get "error syncing mpeg" on winamp or connection
> time-outs
> on xmms, most of the time... unless I restart liveice in curses mode
> which
> seems to work for reasons unknown to me...
>
> Any ideas? Thanks!
>
> Chris
>
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to 'icecast-
> request at xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is
> needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast
mailing list