1
0
Fork 0

Implement stream description.

liquidsoap-2.2
Icedream 2022-03-09 13:50:04 +01:00
parent 6a5403b772
commit 2c9f589895
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
stream_name=getenv(default="Spontaneously live in the mix", "STREAM_NAME") stream_name=getenv(default="Spontaneously live in the mix", "STREAM_NAME")
stream_description=getenv(default="", "STREAM_DESCRIPTION")
internal_icecast_username=getenv(default="source", "INTERNAL_ICECAST_USERNAME") internal_icecast_username=getenv(default="source", "INTERNAL_ICECAST_USERNAME")
internal_icecast_password=getenv(default="source", "INTERNAL_ICECAST_PASSWORD") internal_icecast_password=getenv(default="source", "INTERNAL_ICECAST_PASSWORD")
rektfm_username=getenv("REKTNETWORK_USERNAME") rektfm_username=getenv("REKTNETWORK_USERNAME")
rektfm_password=getenv("REKTNETWORK_PASSWORD") rektfm_password=getenv("REKTNETWORK_PASSWORD")

View File

@ -38,7 +38,8 @@ internal_icecast=output.icecast(
host="127.0.0.1", host="127.0.0.1",
user=internal_icecast_username, user=internal_icecast_username,
password=internal_icecast_password, password=internal_icecast_password,
name=stream_name) name=stream_name,
description=stream_description)
setup_harbor_stream_api(internal_icecast( setup_harbor_stream_api(internal_icecast(
id="out_a_int", id="out_a_int",
%ffmpeg(format="ogg", %audio.copy), %ffmpeg(format="ogg", %audio.copy),
@ -58,6 +59,7 @@ if string.length(rektfm_username) > 0 and string.length(rektfm_password) > 0 the
host="stream.rekt.fm", host="stream.rekt.fm",
user=rektfm_username, user=rektfm_username,
name=stream_name, name=stream_name,
description=stream_description,
password=rektfm_password, password=rektfm_password,
start=false, start=false,
a_flac)) a_flac))