Glad you were able to fix your problem! Debian packages for `1.4.2` might
come up at some point hopefully..

Le mer. 13 mai 2020 à 23:40, <j...@jakebriggs.com> a écrit :

> 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 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
> <savonet-users@lists.sourceforge.net?to=%22selvaganapathy%20s%20via%20savonet-users%22%20%3csavonet-us...@lists.sourceforge.net%3E>>
> 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
> <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
>
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to