summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/play-with-intro
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2024-11-16 08:04:19 -0500
committerSacha Chua <sacha@sachachua.com>2024-11-16 08:04:19 -0500
commitf4083224e1da8a5a5abe7751e2a5df587290c5f7 (patch)
treecd615e63ce3a496d489f8446e2c212db671ae93a /roles/obs/templates/play-with-intro
parent6044d5f92e4c9545218f59c675b87b1803150894 (diff)
downloademacsconf-ansible-f4083224e1da8a5a5abe7751e2a5df587290c5f7.tar.xz
emacsconf-ansible-f4083224e1da8a5a5abe7751e2a5df587290c5f7.zip
update shell scriptsHEADmain
Diffstat (limited to '')
-rwxr-xr-xroles/obs/templates/play-with-intro9
1 files changed, 2 insertions, 7 deletions
diff --git a/roles/obs/templates/play-with-intro b/roles/obs/templates/play-with-intro
index 7f7865b..0390f8f 100755
--- a/roles/obs/templates/play-with-intro
+++ b/roles/obs/templates/play-with-intro
@@ -13,15 +13,10 @@ PREFIX=$(get-file-prefix $SLUG)
/usr/local/bin/reset-state
# Update the overlay
-overlay $SLUG
+/usr/local/bin/overlay $SLUG
# Play the intro if it exists. If it doesn't exist, switch to the intro slide and stop processing.
-if [[ -f $CACHE_DIR/$PREFIX--intro.webm ]]; then
- mpv $CACHE_DIR/$PREFIX--intro.webm
-else
- firefox --kiosk $BASE_DIR/assets/in-between/$SLUG.png
- exit 0
-fi
+/usr/local/bin/intro $SLUG
/usr/local/bin/play $SLUG