I've had the same script for a while with liquidsoap-1.0.0, and now
it's not working. Trying to run my script gives me this error:
At line 14, char 15: the variable output.icecast used here has not been
previously defined.
Here's the script:
#!/usr/bin/liquidsoap -t
set("log.file.path","/etc/liquidsoap/liquidradio.log")
set("log.level",4)
main_radio=mksafe(playlist(timeout=3600.,conservative=true,"http://synthetronica.com/main_annotated"))
main_radio =
rewrite_metadata(
[("artist",'$(if $(stored_artist),"Synthetronica Radio:
$(stored_artist)","Synthetronica Radio: $(artist)")'), ("title", '$(if
$(stored_title),"$(stored_title)","$(title)")')], main_radio)
output.icecast(%vorbis(quality=0.6,samplerate=44100),
host="localhost", port=8000,
password="(password)", mount="radio.ogg", name="Synthetronica
Radio", description="Eclectic Electronica", genre="Electronic",
url="synthetronica", main_radio)
Has the format of scripts changed?
Damien
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users