summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2025-11-26 14:45:30 -0500
committerSacha Chua <sacha@sachachua.com>2025-11-26 14:45:30 -0500
commit16cbdc124d448afd1264fa37b12bd8f0f1841fd8 (patch)
treec477806c4e9bfc73f07c84e6a703a068c220d635 /roles/obs/templates
parenta921272d3c9c2c5c45ff3844ea16f2f8c9d105bb (diff)
downloademacsconf-ansible-16cbdc124d448afd1264fa37b12bd8f0f1841fd8.tar.xz
emacsconf-ansible-16cbdc124d448afd1264fa37b12bd8f0f1841fd8.zip
updatesHEADmain
Diffstat (limited to 'roles/obs/templates')
-rwxr-xr-xroles/obs/templates/intro8
1 files changed, 5 insertions, 3 deletions
diff --git a/roles/obs/templates/intro b/roles/obs/templates/intro
index 7af9c4c..9bf1161 100755
--- a/roles/obs/templates/intro
+++ b/roles/obs/templates/intro
@@ -8,7 +8,7 @@ fi
SLUG=$1
FILE=$1
if [[ ! -f $FILE ]]; then
- LIST=({{ emacsconf_caption_dir }}/cache/emacsconf-{{ emacsconf_year }}-$FILE--*.webm)
+ LIST=({{ emacsconf_caption_dir }}/cache/emacsconf-{{ emacsconf_year }}-$FILE--*--intro.webm)
FILE="${LIST[0]}"
BY_SLUG=1
else
@@ -17,7 +17,9 @@ fi
shift
overlay $SLUG
if [[ -f "$FILE" ]]; then
- mpv "$FILE"
+ echo "Playing $FILE"
+ mpv "$FILE"
else
- firefox {{ emacsconf_caption_dir }}/assets/in-between/$SLUG.png
+ echo "Opening backup image {{ emacsconf_caption_dir }}/assets/in-between/$SLUG.png"
+ firefox {{ emacsconf_caption_dir }}/assets/in-between/$SLUG.png
fi