Hello all,

I was trying to create two streams of my radio with the output.shoutcast
and the shoutcast v2.

I'm using liquidsoap 1.2 which should be able to use the icy_id tag to
do this.

I configured it on my Windows system, but the icy_id was not accepted.
this was due to the fact, that the file /lib/shoutcast.liq
there is the icy_id value not defined.

I added the parameter ~icy_id=1, in the def and also in the output
parameter:

************* file: lib/shoutcast.liq *****************

def output.shoutcast(
  ~id="output.shoutcast",~start=true,
  ~host="localhost",~port=8000,
  ~user="source",~password="hackme",
  ~genre="Misc",~url="http://liquidsoap.fm";,
  ~name="Liquidsoap Radio!",~public=true, ~format="",
  ~dumpfile="", ~icy_metadata="guess", ~icy_id=1,
  ~on_connect={()}, ~on_disconnect={()},
  ~aim="",~icq="",~irc="",~icy_reset=true,
  ~fallible=false,~on_start={()},~on_stop={()},
  ~on_error=fun(_)->3., e,s) =
  icy_reset = if icy_reset then "1" else "0" end
  headers = [("icy-aim",aim),("icy-irc",irc),
             ("icy-icq",icq),("icy-reset",icy_reset)]
  output.icecast(
    e, format=format,
    id=id, headers=headers,
    start=start,icy_metadata=icy_metadata, icy_id=icy_id,
    on_connect=on_connect, on_disconnect=on_disconnect,
    host=host, port=port, user=user, password=password,
    genre=genre, url=url, description="UNUSED",
    public=public, dumpfile=dumpfile,encoding="ISO-8859-1",
    name=name, mount="/", protocol="icy",on_error=on_error,
    fallible=fallible,on_start=on_start,on_stop=on_stop,
    s)
end
%endif

*****************************************************

and this is now running like a charm with the shoutcast configuration
with two streams and the following output:

output.shoutcast(%mp3(bitrate=96,samplerate=44100,stereo=true),
                host="127.0.0.1",
                port=8000,
                password="XXX",
                url="http://radio.freizeitparkcheck.de";,
                name="FreizeitParkCheck Radio",
                icy_metadata="true",
                icy_id=1,
                radio)
                                        
output.shoutcast(%mp3(bitrate=32,samplerate=22050,stereo=true,internal_quality=9),
                host="127.0.0.1",
                port=8000,
                password="XXX",
                url="http://radio.freizeitparkcheck.de";,
                name="FreizeitParkCheck Radio",
                icy_metadata="true",
                icy_id=2,
                radio)

*****************************

Is there a reason, why the output.shoutcast file is not defined to have
the icy_id included?

I saw that with version 1.1.1 on my linux system it is not possible to
use icy_id as it is not defined in the output.icecast. SO I have to try
to update to versiuon 1.2

Best regards
  Michael

P.S: I have the feeling internal_quality=9 creates a much better quality
then internal_quality=0. could this be true?



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to