diff options
| author | Sacha Chua <sacha@sachachua.com> | 2023-10-20 12:47:43 -0400 | 
|---|---|---|
| committer | Sacha Chua <sacha@sachachua.com> | 2023-10-20 12:47:43 -0400 | 
| commit | dad54555a6682b32682977bea7823eb26b9ba088 (patch) | |
| tree | b588356e9f555bd7d19e6d60d1bcaf8ef7c3808c /roles/obs/templates/intro | |
| parent | df15d8d56324d2129823cfaf0b50f6f08c220071 (diff) | |
| download | emacsconf-ansible-dad54555a6682b32682977bea7823eb26b9ba088.tar.xz emacsconf-ansible-dad54555a6682b32682977bea7823eb26b9ba088.zip | |
update caption dir and assets dir
Diffstat (limited to '')
| -rwxr-xr-x | roles/obs/templates/intro | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/roles/obs/templates/intro b/roles/obs/templates/intro index 7b5d4ab..bf02dc3 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=(/data/emacsconf/assets/stream/emacsconf-{{ emacsconf_year }}-$FILE--*.webm) +    LIST=({{ emacsconf_caption_dir }}/assets/stream/emacsconf-{{ emacsconf_year }}-$FILE--*.webm)      FILE="${LIST[0]}"      BY_SLUG=1  else @@ -16,8 +16,8 @@ else  fi  shift  overlay $SLUG -if [[ -f /data/emacsconf/assets/intros/$SLUG.webm ]]; then -  mpv /data/emacsconf/assets/intros/$SLUG.webm +if [[ -f {{ emacsconf_caption_dir }}/assets/intros/$SLUG.webm ]]; then +  mpv {{ emacsconf_caption_dir }}/assets/intros/$SLUG.webm  else -  firefox /data/emacsconf/assets/in-between/$SLUG.png +  firefox {{ emacsconf_caption_dir }}/assets/in-between/$SLUG.png  fi | 
