summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/mpv-track
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-10-20 12:47:43 -0400
committerSacha Chua <sacha@sachachua.com>2023-10-20 12:47:43 -0400
commitdad54555a6682b32682977bea7823eb26b9ba088 (patch)
treeb588356e9f555bd7d19e6d60d1bcaf8ef7c3808c /roles/obs/templates/mpv-track
parentdf15d8d56324d2129823cfaf0b50f6f08c220071 (diff)
downloademacsconf-ansible-dad54555a6682b32682977bea7823eb26b9ba088.tar.xz
emacsconf-ansible-dad54555a6682b32682977bea7823eb26b9ba088.zip
update caption dir and assets dir
Diffstat (limited to 'roles/obs/templates/mpv-track')
-rwxr-xr-xroles/obs/templates/mpv-track2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/obs/templates/mpv-track b/roles/obs/templates/mpv-track
index a7f3c62..f8e8d04 100755
--- a/roles/obs/templates/mpv-track
+++ b/roles/obs/templates/mpv-track
@@ -10,7 +10,7 @@ fi
# Update the overlay
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
fi