Il 2015-11-13 14:49 Per Gunnarsson ha scritto:
> Sorry, it's me again.
> 
> I have looked at it a little bit more and found another thing.
> 
> streams=[("mp3/128k","http://ice.kdks.eu:8000/radio";),("vorbis/128k","http://ice.kdks.eu:8000/radio.ogg";)],
> 
> means that you output the vorbis stream in quality 0.4. The default for
> vorbis tends to be 0.3, which would
> be a 96k stream like
> 
> ("vorbis/96k","http://ice.kdks.eu:8000/radio.ogg";)
> 
> The section
> 
> 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
> )
> 
> 
> could need modification,
> 
> like
> 
> output.icecast(%vorbis(samplerate=48000, channels=2, quality=0.4)
> 
>    host="localhost",
>    port=8000,password="******",
>    mount="radio.ogg",
>    full
> )
> 
> # Output the stream without live in OGG
> output.icecast(%vorbis(samplerate=48000, channels=2, quality=0.4)
> 
>    host="localhost",
>    port=8000,password="******",
>    mount="radio_nolive.ogg",
>    radio
> )
> 
> 
> Maybe you need 44100 instead of 48000 as sample rate
> 
> 
> I have had too much coffee now, so this should just be considered "just
> in case pointers".
> If you want to be on the safe side, wait for better replies on the
> mailing list.
> 
> 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

Hi, ty for your ready answer.
I made this changes but without success.
I think that problem is deeper.
Something strange is happened after I reinstalled my server ex-novo.
Now on the Icecast administration page the data aren't mine bat Savonet 
and shows these strings:

....
server_description      Liquidsoap Radio!
server_url              http://savonet.sf.net
....

Before was something like:

....
server_description      IceWebRadio
server_url              http://mywebsite.eu
....

Another strangeness: doing a direct request with 
http://flows.liquidsoap.fm/radio/:token (using my token)
I receive an answer but with wrong metadata, are those of my last 
streaming with the working configuration (one week ago), before 
resetting server.
You have to know: before resetting server, all worked fine with the .liq 
I shown here.
The icecast.xml and radio.liq files are exactly the same, old, working 
ones...

Regards
Steve

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

Reply via email to