Hi,

On Mon, Dec 22, 2008 at 3:15 PM,  <[email protected]> wrote:
> day=normalize(playlist.safe("foreign.m3u"))
> day=crossfade(start_next=4.,fade_out=2.,fade_in=1.,day)
> full=normalize(fallback(track_sensitive=false,transitions=[crossfade2,crossfade2],
>                       [input.http("http://localhost:8000/live.ogg";),day]))

First just a quick note: You probably have noticed that playlist.safe
is very costly on startup, it's usually simpler to use a playlist and
a fallback to one single() to make it safe. Also, your script is
normalizing the "day" source twice: one after the playlist, once after
the playback. It's probably useless, and it costs CPU.

> With this configuration Stream Title on /radio.ogg stream is "radio.ogg".
> In Dj stream the Stream Title is "Dj Nick" (this can be set by the source
> client application)

I think stream title corresponds to the "name" parameter of
output.icecast.vorbis(), not even sure. In any case I don't think that
these parameters (like description, genre..) can be changed while
streaming.

Usually, we just play with the artist / title metadata, that can
easily be changed using map_metadata() (or its simpler little brother
rewrite_metadata()) or insert_metadata() for more interactive
manipulations.

For example, here's a snippet from dolebraï:
  s = rewrite_metadata([("title","$(title) (Dolebrai)"),
                        ("comment","http://dolebrai.net";)],s)
You could use two different pieces of code like that to tweak the
metadata of your two main sources.

Hope that helps,
-- 
David

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to