From c3645e1e498d7445d0a23256abbee7e28fdea29e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Fri, 4 Nov 2022 19:57:35 -0400 Subject: Filter talks some more --- emacsconf-publish.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/emacsconf-publish.el b/emacsconf-publish.el index a90803b..9f83e85 100644 --- a/emacsconf-publish.el +++ b/emacsconf-publish.el @@ -835,17 +835,20 @@ Entries are sorted chronologically, with different tracks interleaved." (setq filename (or filename (expand-file-name "index.html" emacsconf-backstage-dir))) (setq emacsconf-info (emacsconf-get-talk-info)) (with-temp-file filename - (let* ((talks (emacsconf-filter-talks emacsconf-info)) + (let* ((talks (seq-filter (lambda (o) (plist-get o :speakers)) (emacsconf-filter-talks emacsconf-info))) (by-status (seq-group-by (lambda (o) (plist-get o :status)) talks)) (files (directory-files emacsconf-backstage-dir))) (insert "" - (format "

Waiting for %d talks (~%d minutes)

" + (format "

Waiting for %d talks (~%d minutes) out of %d total

" (length (assoc-default "WAITING_FOR_PREREC" by-status)) - (emacsconf-sum :time (assoc-default "WAITING_FOR_PREREC" by-status))) + (emacsconf-sum :time (assoc-default "WAITING_FOR_PREREC" by-status)) + (length talks)) (let ((list (append (assoc-default "TO_PROCESS" by-status) + (assoc-default "PROCESSING" by-status) + (assoc-default "TO_AUTOCAP" by-status) (assoc-default "TO_ASSIGN" by-status)))) - (format "

%s talk(s) to be captioned (%d minutes)

You can e-mail sacha@sachachua.com to call dibs on editing the captions for one of these talks. This year, we're experimenting with using OpenAI Whisper and Torchaudio to provide auto-generated VTT and SRV2 files you can use as a starting point. If you're writing them from scratch, you can choose to include timing information, or we can probably figure them out afterwards with a forced alignment tool. Also, if you feel like making chapter markers, that's cool too. More info: captioning tips

" + (format "

%s talk(s) to be captioned (%d minutes)

You can e-mail sacha@sachachua.com to call dibs on editing the captions for one of these talks. This year, we're experimenting with using OpenAI Whisper to provide auto-generated VTT that you can use as a starting point. If you're writing them from scratch, you can choose to include timing information, or we can probably figure them out afterwards with a forced alignment tool. Also, if you feel like making chapter markers, that's cool too. More info: captioning tips

" (length list) (emacsconf-sum :video-time list) (mapconcat -- cgit v1.2.3