From 4696aa1fed214fe1084d7c3deecaaa289bc0a1fd Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Mon, 31 Oct 2022 21:53:15 -0400 Subject: Update OBS, renamepublish and edit --- roles/stream/defaults/main.yml | 1 + roles/stream/templates/icecast.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/stream') 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 @@ /emacsconf/{{ track.id }}.webm {{ icecast_emacsconf_user }} {{ icecast_emacsconf_password }} - /data/{{ emacsconf_id }}-{{ emacsconf_year }}-{{ track.id }}_%Y-%m-%d_%H-%M-%S.webm + {% if icecast_save_dump %}/data/{{ emacsconf_id }}-{{ emacsconf_year }}-{{ track.id }}_%Y-%m-%d_%H-%M-%S.webm{% endif %} {{ emacsconf_name }} {{ emacsconf_year }} - {{ track.name }} track The livestream for the {{ track.name }} track of {{ emacsconf_name }} {{ emacsconf_year }} {{ track.watch }} -- cgit v1.2.3