diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-09-13 08:58:06 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-09-13 08:58:24 -0400 |
commit | 077112b718eb29aecf331b1e703e7e90d8538e6c (patch) | |
tree | 5eab58517501dce8c79101bb7740c5000c506511 /roles/obs/templates/play | |
parent | 366d6aec267f543f9a7b928778a09b80852346f3 (diff) | |
download | emacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.tar.xz emacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.zip |
add some more scripts, change 2022 to emacsconf_year
Diffstat (limited to '')
-rwxr-xr-x | roles/obs/templates/play | 2 | ||||
-rwxr-xr-x | roles/obs/templates/play-with-intro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/obs/templates/play b/roles/obs/templates/play index 277a49e..4f437a8 100755 --- a/roles/obs/templates/play +++ b/roles/obs/templates/play @@ -10,7 +10,7 @@ fi # Update the overlay FILE=$1 if [[ ! -f $FILE ]]; then - LIST=(/data/emacsconf/assets/stream/emacsconf-2022-$FILE*.webm) + LIST=(/data/emacsconf/assets/stream/emacsconf-{{ emacsconf_year }}-$FILE*--main.webm) FILE="${LIST[0]}" BY_SLUG=1 fi diff --git a/roles/obs/templates/play-with-intro b/roles/obs/templates/play-with-intro index 4f928c3..75ce10d 100755 --- a/roles/obs/templates/play-with-intro +++ b/roles/obs/templates/play-with-intro @@ -10,7 +10,7 @@ fi # Update the overlay FILE=$1 if [[ ! -f $FILE ]]; then - LIST=(/data/emacsconf/assets/stream/emacsconf-2022-$FILE*.webm) + LIST=(/data/emacsconf/assets/stream/emacsconf-{{ emacsconf_year }}-$FILE*.webm) FILE="${LIST[0]}" BY_SLUG=1 fi |