diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-31 21:53:15 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-31 21:53:15 -0400 |
commit | 4696aa1fed214fe1084d7c3deecaaa289bc0a1fd (patch) | |
tree | fa0d7d2d121cfe2787b1f1a94b2328aeff73c724 /roles/stream | |
parent | b8c97d14ed81871eef51ba7253982c45258ec538 (diff) | |
download | emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.tar.xz emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.zip |
Update OBS, renamepublish and edit
Diffstat (limited to 'roles/stream')
-rw-r--r-- | roles/stream/defaults/main.yml | 1 | ||||
-rw-r--r-- | roles/stream/templates/icecast.xml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/stream/defaults/main.yml b/roles/stream/defaults/main.yml index 5ce637e..f013dba 100644 --- a/roles/stream/defaults/main.yml +++ b/roles/stream/defaults/main.yml @@ -4,3 +4,4 @@ icecast_lowres_scale: "854:480" icecast_user: icecast2 icecast_group: icecast icecast_restream_dir: /etc/icecast2/restream +icecast_save_dump: false diff --git a/roles/stream/templates/icecast.xml b/roles/stream/templates/icecast.xml index e09e6a0..f9c3916 100644 --- a/roles/stream/templates/icecast.xml +++ b/roles/stream/templates/icecast.xml @@ -192,7 +192,7 @@ <mount-name>/emacsconf/{{ track.id }}.webm</mount-name> <username>{{ icecast_emacsconf_user }}</username> <password>{{ icecast_emacsconf_password }}</password> - <dump-file>/data/{{ emacsconf_id }}-{{ emacsconf_year }}-{{ track.id }}_%Y-%m-%d_%H-%M-%S.webm</dump-file> + {% if icecast_save_dump %}<dump-file>/data/{{ emacsconf_id }}-{{ emacsconf_year }}-{{ track.id }}_%Y-%m-%d_%H-%M-%S.webm</dump-file>{% endif %} <stream-name>{{ emacsconf_name }} {{ emacsconf_year }} - {{ track.name }} track</stream-name> <stream-description>The livestream for the {{ track.name }} track of {{ emacsconf_name }} {{ emacsconf_year }}</stream-description> <stream-url>{{ track.watch }}</stream-url> |