diff --git a/icedreammusic/liquidsoap/metadata_api.liq b/icedreammusic/liquidsoap/metadata_api.liq index 335071f..97720a3 100644 --- a/icedreammusic/liquidsoap/metadata_api.liq +++ b/icedreammusic/liquidsoap/metadata_api.liq @@ -2,7 +2,7 @@ # Our Denon StagelinQ receiver will send the metadata to this interface. # For fun, I tested this code with the port set to 1608 to emulate the OBS Tuna plugin's HTTP interface, and that works well! -metadata_api_hostname = getenv(default="icedream-bitwave", "METADATA_API_HOSTNAME") +metadata_api_hostname = environment.get(default="icedream-bitwave", "METADATA_API_HOSTNAME") def http_export_meta(%argsof(json.stringify), m) = j = json() diff --git a/icedreammusic/liquidsoap/settings.liq b/icedreammusic/liquidsoap/settings.liq index 71f4448..1a6a960 100644 --- a/icedreammusic/liquidsoap/settings.liq +++ b/icedreammusic/liquidsoap/settings.liq @@ -1,8 +1,8 @@ -stream_name=getenv(default="Spontaneously live in the mix", "STREAM_NAME") -stream_description=getenv(default="", "STREAM_DESCRIPTION") +stream_name=environment.get(default="Spontaneously live in the mix", "STREAM_NAME") +stream_description=environment.get(default="", "STREAM_DESCRIPTION") -internal_icecast_username=getenv(default="source", "INTERNAL_ICECAST_USERNAME") -internal_icecast_password=getenv(default="source", "INTERNAL_ICECAST_PASSWORD") +internal_icecast_username=environment.get(default="source", "INTERNAL_ICECAST_USERNAME") +internal_icecast_password=environment.get(default="source", "INTERNAL_ICECAST_PASSWORD") -rektfm_username=getenv("REKTNETWORK_USERNAME") -rektfm_password=getenv("REKTNETWORK_PASSWORD") +rektfm_username=environment.get("REKTNETWORK_USERNAME") +rektfm_password=environment.get("REKTNETWORK_PASSWORD")