From 16cbdc124d448afd1264fa37b12bd8f0f1841fd8 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 26 Nov 2025 14:45:30 -0500 Subject: updates --- roles/obs/templates/intro | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'roles/obs/templates') 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 -- cgit v1.2.3