I could be wrong but I think the line
streams=[("mp3/128k","http://ice.kdks.eu:8000/radio"),("vorbis/128k","http://ice.kdks.eu:8000/radio.ogg")],
could be changed to:
streams=[("mp3/128k","http://ice.kdks.eu:8000/radio"),("ogg/128k","http://ice.kdks.eu:8000/radio.ogg")],
I have a hard time finding anything else that differs from my (working)
flows section.
Regards,
Per Gunnarsson
On 2015-11-13 10:51, [email protected] wrote:
> Hi,
>
> I just started using Liquidsoap with Icecast2. I'm trying to get flows
> operational, but I'm having a problem with
> 'stream' parameter and my webradio is not listed. I've Debian Jessie
> installed on my server.
>
> This is my script:
>
> #!/usr/bin/liquidsoap
> # Log dir
> set("log.file.path","/var/log/liquidsoap/radio.log")
>
> # Print log messages to the console,
> # can also be done by passing the -v option to liquidsoap.
> set("log.stdout", true)
>
> # Use the telnet server for requests
> set("server.telnet", true)
>
> # Music
> default = single("/home/kurto/music/singles/default.ogg")
> day = playlist("/home/kurto/music/day/day.pls")
> night = playlist("/home/kurto/music/night/night.pls")
>
> # Some jingles
> jingles = playlist("/home/kurto/music/jingles/jingles.pls")
>
> # Play user requests if there are any,
> # otherwise one of our playlists,
> # and the default file if anything goes wrong.
> radio = fallback([ request.queue(id="request"),
> switch([({ 6h-22h }, day),
> ({ 22h-6h }, night)]),
> default])
>
> # If something goes wrong, we'll play this
> security = single("/home/kurto/music/singles/default.ogg")
>
> # Now add some jingles
> radio = random(weights = [1, 4],[jingles, radio])
>
> # And finally the security
> radio = fallback(track_sensitive = false, [radio, security])
>
> # Add the ability to relay live shows
> full =
> fallback(track_sensitive=false,
> [input.http("http://localhost:8000/live.ogg"),
> radio])
>
> radio = register_flow(
> radio="IceRadio",
> website="http://ice.kdks.eu/",
> description="Streaming and Broadcasting Live Music",
> genre="Electronic",
> user="******",
> password="******",
>
> streams=[("mp3/128k","http://ice.kdks.eu:8000/radio"),("vorbis/128k","http://ice.kdks.eu:8000/radio.ogg")],
> radio
> )
>
> # Output the full stream in OGG and MP3
> output.icecast(%mp3,
> host="localhost",
> port=8000,
> password="******",
> mount="radio",
> full
> )
>
> output.icecast(%vorbis,
> host="localhost",
> port=8000,password="******",
> mount="radio.ogg",
> full
> )
>
> # Output the stream without live in OGG
> output.icecast(%vorbis,
> host="localhost",
> port=8000,password="******",
> mount="radio_nolive.ogg",
> radio
> )
>
>
> Thanks,
> Steve
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users