Le 13/02/2022 à 23:37, Alejandro Ferrari a écrit :
Hi!

I'm trying to move from 1.4.X to 2, and I can't see how to capture Environment Variables into version 2?

# Streaming
icecast_host = getenv("ICECAST_HOST")
icecast_port = getenv("ICECAST_PORT")
icecast_pwd = getenv("ICECAST_PWD")
icecast_desc = getenv("PUBLIC_DESCRIPTION")

Hi,

getenv() still exists and works in 2.x, do you get an error ?

$ liquidsoap 'print(getenv("USER"))'
gilou
No output defined, nothing to do.

Cheers,

Gilles


_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to