Rename getenv calls to environment.get.
parent
5177abd11f
commit
9b3cf7c5eb
|
@ -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()
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue