Adding Custom Functions to Liquidsoap Server #1847
-
Hi there I have been trying for a while to get the Server functions for Liquidsoap working
when I run this I get a server command
I have spent hours changing the code/registration/functions and nothing gives me the server control. do you have any good documentation on how to use the functions etc, as everything I find is 3 lines of code snippets without any context of how to use them Thanks Paul |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, @paulcurtis26. Also I recommend to use the book - it has some code snippets and other things. And finally I created a local clone of official repo and look for examples there. As for your code. This is reformated snippet.
|
Beta Was this translation helpful? Give feedback.
Hi, @paulcurtis26.
I have the same problem at start. There's no sources over the internet with liquidsoap code samples.
The only way to learn the language is to read official wiki page about it.
Also I recommend to use the book - it has some code snippets and other things.
And finally I created a local clone of official repo and look for examples there.
I've never used OCaml so the sources are not very useful for me, but I can definitely recommend libs and tests.
As for your code. This is reformated snippet.