This happens starting with version 1.3 of liquidsoap.

Thanks.

On Fri, Mar 27, 2020 at 1:00 PM Alexandru Matei <alexandru....@gmail.com>
wrote:

> Hi.
>
> I just upgraded from v1.1 to 1.4.1 and adjustments need to be made to the
> script.
>
> I can't figure out how to update the script in the following case:
> *def metadata_playlists(playing_metadata)*
> *#on_metadata function *
> server_execute_output =
> server.execute("#{playing_metadata[\"source\"]}.next")
>
> log("server execute output = "^string_of(server_execute_output))
> #the expected output: a list of strings with 12 elements
>
> next_tracks_head = list.hd(server_execute_output)
> log("exec output= "^string_of(list.hd(server_execute_output)))
> *#the output is <fun>*
>
> Why is the output of list.hd <fun>? I can't figure out what I'm doing
> wrong.
>
> Thanks.
>
> P.S. Even if I have programming skills, I find it difficult to get used
> with liquidsoap and ocaml specific language. What should I read to better
> understand it?
>
> Alex G
>
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to