Hi,
Your script seems fine to me. Could you explain what's not going on right?
++
Sam.
On Fri, Jan 27, 2012 at 1:43 AM, dominik.t <[email protected]> wrote:
> I want to doing something like that:
> If the source myip/live.aac it's not avalible it's start playlist.. I
> don't know how to do that.. I had something like that but it's dont work..
>
> set("log.file.path","/var/log/liquidsoap/radio.log")
> set("server.telnet", true)
> set("harbor.bind_addr","0.0.0.0")
>
> # playlisty
> awaryjna = playlist.safe("/home/radio/playlisty/awaryjna.pls")
> jingles = playlist.safe("/home/radio/playlisty/jingle.pls")
>
> radio = random(weights=[1,2],[ jingles, awaryjna ])
>
> url = "http://91.204.161.108:8000/live.aac";
> #sprawdzanie czy nie wywalilo
>
> stream = strip_blank(input.http(url))
>
> input = fallback(track_sensitive=false,
> [stream, radio])
>
>
>
> ...
> There all outputs
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users