Hi Peter,
Im sure someone with a bit more experience with liquidsoap will be able to
help but ive chopped the parts of my script that youll need! :) Theres allot
more to our script but thought id get rid of the stuff you dont need!
################
# Liquidsoap Settings
################
set("log.file.path","/var/log/radiosonar-liquidsoap.log")
set("frame.size",4704)
set("log.stdout", true)
set("server.telnet", true)
################
################
# Icecast Settings
################
iceHost ="localhost"
icePort =8000
iceUser ="source"
icePassword ="***"
iceGenre ="Student Radio"
iceUrl ="http://www.radiosonar.co.uk"
iceDesc ="Radio Sonar - Southampton Solents Student Radio
Station"
#################
################
# Inputs / Outputs
################
studioInput1 = input.jack(id="studioInput1")
###############
studio1 = mksafe(studioInput1)
studio1 = rewrite_metadata([("artist","Radio Sonar"),
("title","Radio Sonar Studio 1 Feed")],studio1)
#################
# Icecast Mounts
#################
output.icecast.mp3(studio1,mount="studio1hi.mp3",id="studio1Hi",name="Radio
Sonar (Studio 1) (128Kbps)",quality=8,bitrate=128,
host=iceHost,port=icePort,user=iceUser,password=icePassword,genre=iceGenre,url=iceUrl,description=iceDesc,
restart=true)
Cheers!
Scott
*--
Scott Robinson
**Radio Sonar
[Sonar Media] Head of Systems
**E: *syst...@radiosonar.co.uk
*M: *+44 7704 900 554
*W:* http://radiosonar.co.uk
*O: *+44 2380 319 920* Ext *007
*P: *Radio Sonar, Southampton Solent SU, East Park Terrace, Southampton,
SO14 0YN
On Wed, Feb 17, 2010 at 7:03 AM, peter <k.p.odohe...@gmail.com> wrote:
> Hi,
> I've just installed liqudsoap (on Ubuntu 8.04) and it's working great so
> far. Can you please point me in the direction of information on how I can
> send a live stream (no playlist) via jack to icecast? Sample code would be
> great too?
>
> How would I adjust this code, which workd for playlists, to do live
> streaming?
>
> #!/usr/bin/liquidsoap
> # Log dir
> set("log.file.path","/tmp/basic-radio.log")
>
> myplaylist = playlist("/home/peter/liquidsoap/playlist.pls")
>
> radio = mksafe(myplaylist)
>
> output.icecast.vorbis(
> host = "localhost", port = 8000,
> password = "hackme", mount = "basic-radio.ogg",
> radio)
>
> Thanks,
> Peter
>
>
> --
> --
> -> Peter O'Doherty
> -> http://www.peterodoherty.net
> -> m...@peterodoherty.net
>
> **** rhizoradio
> **** live every sunday at 18:00 (CET)
> **** http://www.peterodoherty.net/rhizoradio.html
> **** podcast: http://www.peterodoherty.net/rhizoradio.xml
> *************************************************
>
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users