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<j...@jakebriggs.com> 
wrote:   Hi all

I upgraded from 1.3.7 to 1.4.1 during a distro upgrade (ubuntu eoin to focal) 
and now my liq
doesn't work any more. I am getting this error:

--------------- 8< ---------------
jakework on beastie ~ at 16:12:37 ❯ liquidsoap /etc/liquidsoap/jake.liq
At line 5, char 18-36:
Error 4: Undefined variable get_process_lines
jakework on beastie ~ at 16:12:39 ❯
--------------- 8< ---------------


My liq is simple:

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

def my_request_function() = 
  # Get the first line of my external process
  process_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 result
  request.create(result)
end

# Create the source
s = 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 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