From f4083224e1da8a5a5abe7751e2a5df587290c5f7 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 16 Nov 2024 08:04:19 -0500 Subject: update shell scripts --- roles/obs/templates/play-with-intro | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'roles/obs/templates/play-with-intro') 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 -- cgit v1.2.3