summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/play
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-09-13 08:58:06 -0400
committerSacha Chua <sacha@sachachua.com>2023-09-13 08:58:24 -0400
commit077112b718eb29aecf331b1e703e7e90d8538e6c (patch)
tree5eab58517501dce8c79101bb7740c5000c506511 /roles/obs/templates/play
parent366d6aec267f543f9a7b928778a09b80852346f3 (diff)
downloademacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.tar.xz
emacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.zip
add some more scripts, change 2022 to emacsconf_year
Diffstat (limited to '')
-rwxr-xr-xroles/obs/templates/play2
-rwxr-xr-xroles/obs/templates/play-with-intro2
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