summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacsconf.el34
1 files changed, 25 insertions, 9 deletions
diff --git a/emacsconf.el b/emacsconf.el
index 7157285..cb310f1 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -854,7 +854,8 @@ The subheading should match `emacsconf-abstract-heading-regexp'."
emacsconf-add-speakers-with-pronouns
emacsconf-add-live-info
emacsconf-add-video-info
- emacsconf-add-media-info)
+ emacsconf-add-media-info
+ emacsconf-schedule-allocate-buffer-time)
"Functions to collect information.")
(defun emacsconf-add-speakers-with-pronouns (o)
@@ -867,6 +868,9 @@ The subheading should match `emacsconf-abstract-heading-regexp'."
o)
(defun emacsconf-add-checkin-time (o)
+ "Fix buffer and add check-in time."
+ (when (stringp (plist-get o :buffer))
+ (plist-put o :buffer (string-to-number (plist-get o :buffer))))
(unless (or (null (plist-get o :status))
(string= (plist-get o :status) "CANCELLED")
(string-match "after" (or (plist-get o :q-and-a) "")))
@@ -955,11 +959,13 @@ The subheading should match `emacsconf-abstract-heading-regexp'."
(plist-put o :qa-info "none")
(plist-put o :qa-url "")
(plist-put o :qa-type "none")
+ (plist-put o :qa-duration emacsconf-schedule-default-buffer-minutes)
(plist-put o :qa-link ""))
((string-match "live" (plist-get o :q-and-a))
- (plist-put o :bbb-redirect (format "https://media.emacsconf.org/%s/current/bbb-%s.html"
- emacsconf-year
- (plist-get o :slug)))
+ (plist-put o :bbb-redirect
+ (format "https://media.emacsconf.org/%s/current/bbb-%s.html"
+ emacsconf-year
+ (plist-get o :slug)))
(plist-put o :qa-info (plist-get o :bbb-redirect))
(plist-put o :qa-url (plist-get o :bbb-redirect))
(plist-put o :qa-backstage-url
@@ -1222,16 +1228,18 @@ The subheading should match `emacsconf-abstract-heading-regexp'."
(interactive (list (emacsconf-complete-talk)))
(insert (concat emacsconf-base-url (plist-get (emacsconf-search-talk-info search) :url))))
-(defun emacsconf-backstage-url (&optional base-url)
+(defun emacsconf-backstage-url (&optional file base-url)
"Return or insert backstage URL with credentials."
- (interactive)
+ (interactive (if current-prefix-arg
+ (list (read-file-name "File: " (expand-file-name "./" emacsconf-cache-dir) nil t))))
(setq base-url (or base-url (concat emacsconf-media-base-url emacsconf-year "/backstage/")))
(let ((url (format
- "https://%s:%s@%s"
+ "https://%s:%s@%s%s"
emacsconf-backstage-user
emacsconf-backstage-password
(replace-regexp-in-string "https://" "" base-url)
- emacsconf-year)))
+ (if file (file-name-nondirectory file)
+ ""))))
(when (called-interactively-p 'any)
(insert url))
url))
@@ -1322,7 +1330,11 @@ If TIMEZONES is a string, split it by commas."
(if (stringp timezones)
(split-string timezones " *, *" t)
timezones))))
- (concat base-time " in " (emacsconf-schedule-rename-etc-timezone emacsconf-timezone)
+ (concat base-time
+ (format-time-string " UTC%z" time emacsconf-timezone)
+ ;; " in "
+
+ ;; (emacsconf-schedule-rename-etc-timezone emacsconf-timezone)
(if timezones
(concat
" (which is "
@@ -1536,6 +1548,8 @@ If TIMEZONES is a string, split it by commas."
:toobnix-url "https://toobnix.org/w/oLwaPU7MgMFDAWPhaFdW1t"
:start "09:00" :end "17:00"
:uid 2002
+ :vnc-workspace 2
+ :bbb-workspace 3
:vnc-display ":5"
:vnc-port "5905"
:autopilot crontab
@@ -1549,6 +1563,8 @@ If TIMEZONES is a string, split it by commas."
:youtube-studio-url "https://studio.youtube.com/video/KCZthyBhHtg/livestreaming"
:stream ,(concat emacsconf-stream-base "dev.webm")
:480p ,(concat emacsconf-stream-base "dev-480p.webm")
+ :vnc-workspace 5
+ :bbb-workspace 4
:uid 2003
:start "10:00" :end "17:00"
:vnc-display ":6"