summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/bbb
blob: 74c6976f6563e909a5d836aace7f5b7bbb6ea82b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
# Play intro (or display in-between slide and wait for input), then play files
# {{ ansible_managed }}

# Kill the background music if playing
if screen -list | grep -q background; then
    screen -S background -X quit
fi

# Update the overlay
SLUG=$1
overlay $SLUG
# Play the video
firefox https://media.emacsconf.org/{{ emacsconf_year }}/backstage/current/room/$SLUG