diff options
author | Sacha Chua <sacha@sachachua.com> | 2024-12-05 12:22:32 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2024-12-05 12:22:32 -0500 |
commit | ab299006264685aeb59a0ceac697adb03ef778f9 (patch) | |
tree | 81da2af3c4120236c910e03a67895792b6c7f8d4 /emacsconf-stream.el | |
parent | b882f4ce6cbdb59baf47a07c635e5dd77f18d8af (diff) | |
download | emacsconf-el-ab299006264685aeb59a0ceac697adb03ef778f9.tar.xz emacsconf-el-ab299006264685aeb59a0ceac697adb03ef778f9.zip |
updates
Diffstat (limited to '')
-rw-r--r-- | emacsconf-stream.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/emacsconf-stream.el b/emacsconf-stream.el index a1836e8..2344628 100644 --- a/emacsconf-stream.el +++ b/emacsconf-stream.el @@ -24,9 +24,9 @@ ;;; Code: -(defvar emacsconf-stream-dir "/data/emacsconf/stream/" +(defvar emacsconf-stream-dir (format "/data/emacsconf/shared/%s/assets/stream/" emacsconf-year) "Directory where the stream versions are. -Files should be in YEAR/file-prefix--main.webm and file-prefix--main.vtt.") +Files should be file-prefix--main.webm and file-prefix--main.vtt.") (defvar emacsconf-stream-host "res.emacsconf.org") (defun emacsconf-stream-track-login (track) @@ -261,11 +261,10 @@ especially when two things need to happen close together." (defun emacsconf-stream-get-filename (talk) "Return the local filename for the video file for TALK. -Final files should be stored in /data/emacsconf/stream/YEAR/file-prefix--main.webm." +Final files should be stored in emacsconf-stream-dir/file-prefix--main.webm." (expand-file-name (concat (plist-get talk :file-prefix) "--main.webm") - (expand-file-name emacsconf-year - emacsconf-stream-dir))) + emacsconf-stream-dir)) (defun emacsconf-stream-play-video (talk) "Play just the video for TALK." |