diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-11-20 12:42:41 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-11-20 12:42:41 -0500 |
commit | 8bc9980a9d30b14ac2c958eb1720d6dc04f3d8bb (patch) | |
tree | 492b75b39bc49c54d7e428563d4e868cf8212ae1 /emacsconf-stream.el | |
parent | 290fd48f280dd808c4a2552fbcee5ee514130728 (diff) | |
download | emacsconf-el-8bc9980a9d30b14ac2c958eb1720d6dc04f3d8bb.tar.xz emacsconf-el-8bc9980a9d30b14ac2c958eb1720d6dc04f3d8bb.zip |
Mail, schedule, volunteer updates
Diffstat (limited to 'emacsconf-stream.el')
-rw-r--r-- | emacsconf-stream.el | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/emacsconf-stream.el b/emacsconf-stream.el index 705d0da..e2b4962 100644 --- a/emacsconf-stream.el +++ b/emacsconf-stream.el @@ -183,12 +183,19 @@ Final files should be stored in /data/emacsconf/stream/YEAR/video-slug--main.web (defun emacsconf-stream-play-video (talk) (interactive (list (emacsconf-complete-talk-info))) (let ((info (tramp-dissect-file-name (emacsconf-stream-track-login talk)))) - (call-process "ssh" nil nil t - (concat (tramp-file-name-user info) - "@" (tramp-file-name-host info)) - "-p" (tramp-file-name-port info) - "nohup" "~/bin/track-mpv" (emacsconf-stream-get-filename talk) ">" "/dev/null" - "2>&1" "&"))) + (apply + #'call-process + (append + (list + "ssh" nil nil t + (concat (tramp-file-name-user info) + "@" (tramp-file-name-host info)) + "-p" (tramp-file-name-port info) + "nohup" "~/bin/track-mpv") + (or (and (plist-get talk :stream-files) + (split-string-and-unquote (plist-get talk :stream-files))) + (list (emacsconf-stream-get-filename talk))) + (list ">" "/dev/null" "2>&1" "&"))))) (defun emacsconf-stream-open-pad (talk) (interactive (list (emacsconf-complete-talk-info))) @@ -196,8 +203,8 @@ Final files should be stored in /data/emacsconf/stream/YEAR/video-slug--main.web (async-shell-command-buffer 'new-buffer)) (shell-command (concat "nohup firefox -new-window " - (shell-quote-argument (plist-get talk :pad-url)) - " > /dev/null 2>&1 & ")))) + (shell-quote-argument (plist-get talk :pad-url)) + " > /dev/null 2>&1 & ")))) (defun emacsconf-stream-join-qa (talk) "Join the Q&A for TALK. |