I gave up and pruned my system of everything liquidsoap related, and everything 
ocaml related, and installed 1.4.2 via opam. Its was a bit of a pain tbqh, but 
its working good now :)

I'd prefer to use apt since that's what everything else is installed by but hey 
that's just life I guess isn't it....

Jake

May 13, 2020 6:05 PM, j...@jakebriggs.com (mailto:j...@jakebriggs.com) wrote:
I pared it down to

--------------- 8< ---------------
#!/usr/bin/liquidsoap

get_process_lines("/bin/ls")
--------------- 8< ---------------

and still I just get
--------------- 8< ---------------
jakework on beastie ~ at 17:55:37 ❯ liquidsoap jake.liq
At line 3, char 0-18:
Error 4: Undefined variable get_process_lines
jakework on beastie ~ at 17:55:39 ❯
--------------- 8< ---------------

Something funny is going on here, even the most basic command fails:

--------------- 8< ---------------
jakework on beastie ~ at 18:04:06 ❯ liquidsoap 'out(playlist("playlist.pls"))'
At line 1, char 0-4:
Error 4: Undefined variable out
jakework on beastie ~ at 18:04:38 ❯ cat playlist.pls
[playlist]
File1=/data/music/Mixes/Andy_C__1.mp3
Title1=a song
NumberOfEntries=1

jakework on beastie ~ at 18:04:50 ❯
--------------- 8< ---------------
Jake

May 13, 2020 5:40 PM, "Selvaganapathy S via Savonet-users" 
<savonet-users@lists.sourceforge.net 
(mailto:savonet-users@lists.sourceforge.net?to=%22Selvaganapathy%20S%20via%20Savonet-users%22%20<savonet-users@lists.sourceforge.net>)>
 wrote:
Hi
This issue may be because of mart_crossfade

Please check all change logs and recent documents. 
On Wed, 13 May 2020 at 10:15 am, j...@jakebriggs.com 
(mailto:j...@jakebriggs.com)
<j...@jakebriggs.com (mailto:j...@jakebriggs.com)> wrote:Hi allI upgraded from 
1.3.7 to 1.4.1 during a distro upgrade (ubuntu eoin to focal) and now my 
liqdoesn't work any more. I am getting this error:--------------- 8< 
---------------jakework on beastie ~ at 16:12:37 ❯ liquidsoap 
/etc/liquidsoap/jake.liqAt line 5, char 18-36:Error 4: Undefined variable 
get_process_linesjakework on beastie ~ at 16:12:39 ❯--------------- 8< 
---------------My liq is simple:--------------- 8< 
---------------#!/usr/bin/liquidsoapdef my_request_function() =# Get the first 
line of my external processprocess_lines = 
get_process_lines("/usr/bin/getrandomsong.sh 
/etc/liquidsoap/jakeradio.sh")result = list.hd(default="", process_lines)# 
Create and return a request using this resultrequest.create(result)end# Create 
the sources = mksafe(request.dynamic(my_request_function))sc = 
smart_crossfade(conservative=true, s)output.icecast(%mp3.vbr(quality=1),host = 
"localhost", port = 8000,password = "NO PASSWORDS HERE", mount = 
"jake-radio.mp3",description="jakeradio - all my songs on random", 
name="jakeradio",sc)--------------- 8< ---------------Can anyone point me to 
the right docs, or spot what mistake I've made? I'm just not sure what I'm 
doing wrong to be honest lol. The only change is the upgraded 
version.Jake_______________________________________________Savonet-users 
mailing listsavonet-us...@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

Reply via email to