summaryrefslogtreecommitdiffstats
path: root/emacsconf-ical.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacsconf-ical.el')
-rw-r--r--emacsconf-ical.el17
1 files changed, 11 insertions, 6 deletions
diff --git a/emacsconf-ical.el b/emacsconf-ical.el
index 70f3cf9..9d62418 100644
--- a/emacsconf-ical.el
+++ b/emacsconf-ical.el
@@ -38,7 +38,7 @@
(emacsconf-mail-speaker "Calendar entry")
(mml-attach-file ical-file)))
-(defun emacsconf-ical-convert-entry-to-string (&optional updated)
+(defun emacsconf-ical-convert-entry-to-string (&optional updated talk)
(string-join
(list
"BEGIN:VCALENDAR"
@@ -48,7 +48,7 @@
"X-WR-CALNAME:EmacsConf"
"CALSCALE:GREGORIAN"
"METHOD:PUBLISH"
- (emacsconf-ical-format-talk (emacsconf-get-talk-info-for-subtree) updated)
+ (emacsconf-ical-format-talk (or talk (emacsconf-get-talk-info-for-subtree)) updated)
"END:VCALENDAR")
"\r\n"))
@@ -87,8 +87,13 @@
:year emacsconf-year
:watch-url (plist-get (emacsconf-get-track (plist-get o :track)) :watch)
:stream (plist-get (emacsconf-get-track (plist-get o :track)) :stream)
+ :bbb-private
+ (if (and (plist-get o :backstage)
+ (string= "live" (plist-get o :qa-type)))
+ (format "BigBlueButton private link with modcode: %s\n\n" (plist-get o :bbb-backstage))
+ "")
:replay
- (if (plist-get o :video-file) "There is a pre-recorded video for this talk, so it should be available from ${url} shortly after the talk starts."
+ (if (plist-get o :video-file) "There is a pre-recorded video for this talk, so it should be available from ${absolute-url} shortly after the talk starts."
(format "This talk is live. We'll upload it to %s%s by January or so. You can subscribe to emacsconf-discuss for updates: https://lists.gnu.org/mailman/listinfo/emacsconf-discuss"
emacsconf-media-base-url
emacsconf-year))
@@ -96,7 +101,7 @@
(if (length= (plist-get o :speakers) 1) "\nSpeaker: " "\nSpeakers: ")
(plist-get o :speakers)
"" "")))
- "DESCRIPTION:${url}${speaker-text}
+ "DESCRIPTION:${absolute-url}${speaker-text}
Times are approximate and may change. Please check the talk webpage for details and other resources.
@@ -105,9 +110,9 @@ mpv ${stream}
vlc ${stream}
ffplay ${stream}
-or watch using the web-based player: ${watch-track}
+or watch using the web-based player: ${watch-url}
-Q&A: ${qa-info}
+${bbb-private}Q&A: ${qa-info}
${replay}