On Fri, 19 Aug 2011 21:37:34 +0200
Paulin Halenria <[email protected]> wrote:
> live = mksafe(input.http("http://localhost:8000/live";))
> stream = mksafe(input.http("http://localhost:8000/stream";))
> archive = mksafe(input.http("http://localhost:8000/archive";))
> files = mksafe(playlist("playlist.txt"))
> 
> radio = fallback(track_sensitive=false,[live,stream,archive,files])
> 
> output.icecast(%mp3, host="localhost", port = 8000, password = "*", mount =
> "highband", genre = "Du bonheur pur", url = "http://www.suggerebonheur.com";,
> description = "Ca groove le positif !", name = "Radio Suggere Bonheur",
> radio)
>
> If live is not streaming, nothing happened :(

The mksafe does not go against each of the sources, it should go inside
the output.icecast definition.  So...

live = input.http("http://localhost:8000/live";)
stream = input.http("http://localhost:8000/stream";)
archive = input.http("http://localhost:8000/archive";)
files = playlist("playlist.txt")

radio = fallback(track_sensitive=false,[live,stream,archive,files])

output.icecast(%mp3, host="localhost", port = 8000, password = "*", mount =
"highband", genre = "Du bonheur pur", url = "http://www.suggerebonheur.com";,
description = "Ca groove le positif !", name = "Radio Suggere Bonheur",
mksafe(radio))

-- 
======================================================================
       Joe Hartley - UNIX/network Consultant - [email protected]
 Without deviation from the norm, "progress" is not possible. - FZappa

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to