Here is the unedited (apart from passwords/porst) start of the file (I took out 
the comments in the one I posted earlier) - I suspect it’s saying ’line 19’ and 
ignoring the commented lines? Because line 19 is the one after 'set( 
"harbor.bind_addr", "0.0.0.0” )’ and I checked, no other chars on that line

#!/usr/bin/liquidsoap
%include "/usr/lib/liquidsoap/1.1.1/pervasives.liq"
%include "/usr/lib/liquidsoap/1.1.1/library.liq"
%include "/usr/lib/liquidsoap/1.1.1/lastfm.liq"

# Use the telnet server for requests
set( "server.telnet", true )

set("audio.converter.samplerate.libsamplerate.quality","best")
# Log dir
set("log.file.path","/var/log/liquidsoap/bootlegradio.log")
set("log.stdout", false)
set( "log.level", 3 )
set("log.file",true)

# Server settings for live source
set( "harbor.bind_addr", "0.0.0.0" )
#
# Accept incoming live source from Winamp or Oddcast
# A live source
live = input.harbor(“xxxxxxx",port=XXXX,buffer=5.,max=10.,password=“xxxxx")
#live = amplify(1.,live)
#live = ladspa.compressor(ratio=8.,knee=1.,attack=5.,release=100., 
threshold=0.5, stereo_link=1, makeup_gain=0.5, live)
#live = limit(attack=5., release=200., gain=2., threshold=-6., live)


> On 12 Mar 2021, at 01:11, Romain Beauxis <romain.beau...@gmail.com> wrote:
> 
> Hi!
> 
> What's on line 19?
> 
> Romain
> 
> Le mer. 10 mars 2021 à 20:27, Tim Baker <t...@tjbaker.co.uk 
> <mailto:t...@tjbaker.co.uk>> a écrit :
> I have a station running on 1.1.1 still - yes I know, I was on an old server 
> and that was the latest I could run. pretty much. It is working.
> 
> Now I’m transitioning to a new server I wanted to upgrade Liquidsoap, but not 
> matter what version I used, 1.4.1 from the Ubuntu repository or 1.4.4 from 
> the OPAM/OCAML repository (opam depext taglib mad lame vorbis cry samplerate 
> fdkaac ffmpeg faad flac gstreamer lastfm ogg opus speex ssl liquidsoap), I 
> got this:
> 
> liquidsoap /etc/liquidsoap/xxx.liq
> At /usr/lib/liquidsoap/list.liq, line 19, char 25:
> Error 3: Syntax error!
> 
> Obviously my old .liq /usr/lib files were too old so I updated them from the 
> git - the current ones or from the 1.4.4. branch, didn’t matter, always the 
> same error? I searched here and couldn’t find anything obvious. It seems to 
> be a problem with the list.liq, unless it’s my script. I tried with various 
> users, thinking it was a perm problem, made sure the liquidsoap could access 
> all the sound files, libs and log, didn’t fix it.
> 
> I removed the passwords/ports but this is pretty much as I have it atm. I 
> tried commenting out the harbor and the telnet, just in case. Again, same 
> error.
> 
> Temporarily I copied over the 1.1.1 binary, the daemon and the old libs, 
> worked first time. So I don’t think it’s the user/server setup unless it’s 
> choking on something I’ve missed dependency wise? Then again I would expect 
> my old version from source would fall over too if that was the case!
> 
> Any idea? Pretty sure running 1.1.1 on Ubuntu 20.4 is chancing it…
> 
> Tim
> 
> 
> #!/usr/bin/liquidsoap
> %include "/usr/lib/liquidsoap/1.1.1/pervasives.liq"
> %include "/usr/lib/liquidsoap/1.1.1/library.liq"
> %include "/usr/lib/liquidsoap/1.1.1/lastfm.liq"
> 
> # Use the telnet server for requests
> set( "server.telnet", true )
> 
> set("audio.converter.samplerate.libsamplerate.quality","best")
> # Log dir
> set("log.file.path","/var/log/liquidsoap/xxxxx.log")
> set("log.stdout", false)
> set( "log.level", 3 )
> set("log.file",true)
> 
> # Server settings for live source
> set( "harbor.bind_addr", "0.0.0.0" )
> #
> # Accept incoming live source from Winamp or Oddcast
> # A live source
> live = 
> input.harbor("mastermount",port=XXXX,buffer=5.,max=10.,password=“xxxxx")
> 
> # auto DJ additions from Voisses script
> 
> bootlegplaylist = playlist(mode="random",reload=600,"/var/www/xxxx/")
> security = single("/home/shows/security/Radio Crash Promo-323kbps.m4a")
> 
> #overrides
> 
> output.dummy(fallible=true,bootlegplaylist)
> radio = fallback(track_sensitive=false,
>                   [live,bootlegplaylist,security])
> 
> radio = sky(radio)
> radio = compress(radio, attack = 3.0, gain = 1.0, knee = 1.4, ratio = 3.0, 
> release = 100.0, threshold = -2.0, rms_window = 0.7)
> radio = normalize(radio, target = -2.0, threshold = -65.0)
> radio = limit(radio, threshold = -0.2, attack = 2.0, release = 25.0, 
> rms_window = 0.02)
> 
> 
> radio = mksafe(radio)
> radio = amplify(1.,override="replay_gain",radio)
> radio = smart_crossfade( fade_out = 2.0, fade_in = 2.0, start_next = 2.0, 
> radio )
> radio = on_track(lastfm.submit(user=“xxxx",password=“xxxx"), radio)
> radio = on_metadata(lastfm.submit(user=“xxxxx",password=“xxx"), radio)
> radio = on_track(lastfm.nowplaying(user="rxxxx",password=“xxxx"), radio)
> radio = on_metadata(apply_metadata,radio)
> 
> radio = register_flow(
>   radio="Classic Bootleg Radio (was Radio Clash LIVE!)",
>   website="http://bootleg.radioclash.com/ <http://bootleg.radioclash.com/>",
>   description="Mashing Up Yr Radio 24/7! Classic mashups, bootlegs, bastard 
> pop.",
>   genre="Mashup Eclectic Remix",
>   user=“xxx",
>   password=“xxxx",
>   streams=[("mp3/192k","http://listen.radioclash.com:8000/stream.mp3 
> <http://listen.radioclash.com:8000/stream.mp3>"), 
> ("mp3/192k","http://listen.radioclash.com:8000/streamhigh 
> <http://listen.radioclash.com:8000/streamhigh>"),("mp3/64k","http://listen.radioclash.com:8000/streamlow
>  <http://listen.radioclash.com:8000/streamlow>")],
>   radio)
> 
> # Stream it out to Icecast2 server
> output.shoutcast(
>   %mp3(bitrate=192, samplerate=44100),
>   host="listen.radioclash.com <http://listen.radioclash.com/>", port=8000, 
> password=“xxxxx", icy_metadata="true", genre = "Mashup Eclectic Remix",  url 
> = "http://bootleg.radioclash.com <http://bootleg.radioclash.com/>", name  = 
> "Classic Bootleg Radio (was Radio Clash Live!)", radio)
> 
> output.icecast(
>   %mp3(bitrate=192,samplerate=44100),
>   mount="/streamhigh",
>   host="listen.radioclash.com <http://listen.radioclash.com/>", port=8000, 
> password=“xxxxx", icy_metadata="true", genre = "Mashup Eclectic Remix", url = 
> "http://bootleg.radioclash.com <http://bootleg.radioclash.com/>", name = 
> "Classic Bootleg Radio (was Radio Clash LIVE!)", description = "Mashing Up Yr 
> Radio 24/7! Classic mashups, bootlegs, bastard pop.", 
> radio)
> 
> output.icecast(
>   %mp3(bitrate=64,samplerate=44100,stereo=false),
>   mount="/streamlow",
>   host="listen.radioclash.com <http://listen.radioclash.com/>", port=8000, 
> password=‘xxxxxx", icy_metadata="true", genre = "Mashup Eclectic Remix", url 
> = "http://bootleg.radioclash.com <http://bootleg.radioclash.com/>", name = 
> "Classic Bootleg Radio (was Radio Clash LIVE!)", description = "Mashing Up Yr 
> Radio 24/7! Classic mashups, bootlegs, bastard pop 24/7.",
> mean(radio))
> 
> 
> 
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net 
> <mailto:Savonet-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/savonet-users 
> <https://lists.sourceforge.net/lists/listinfo/savonet-users>
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users

_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to