summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-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