summaryrefslogblamecommitdiffstats
path: root/roles/obs/templates/play-with-intro
blob: 0390f8f24ed4306f8617aec0801b6093da1f6129 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                         








                                             

                    
                            


                                                                                                  
                          

                         
#!/bin/bash
# Play intro if recorded, then play files
# {{ ansible_managed }}

# play-with-intro $SLUG
YEAR="{{ emacsconf_year }}"
BASE_DIR="{{ emacsconf_caption_dir }}"
CACHE_DIR="{{ emacsconf_caption_dir }}/cache"
FIREFOX_NAME=firefox-esr
SLUG=$1
PREFIX=$(get-file-prefix $SLUG)

/usr/local/bin/reset-state

# Update the overlay
/usr/local/bin/overlay $SLUG

# Play the intro if it exists. If it doesn't exist, switch to the intro slide and stop processing.

/usr/local/bin/intro $SLUG

/usr/local/bin/play $SLUG