diff options
author | EmacsConf <emacsconf-org@gnu.org> | 2022-11-04 16:57:22 -0700 |
---|---|---|
committer | EmacsConf <emacsconf-org@gnu.org> | 2022-11-04 16:57:22 -0700 |
commit | 86fdd4a416191722b17f73109e735600c7c81156 (patch) | |
tree | 608e7f21593d449b65c06a9f1fa30a005b4c97dd /emacsconf-publish.el | |
parent | d33f34beada6ba579059dfb5c3b442d4af666c3d (diff) | |
parent | 67d7aac3235f3fba73b82e1f7d2660fbb59e44dd (diff) | |
download | emacsconf-el-86fdd4a416191722b17f73109e735600c7c81156.tar.xz emacsconf-el-86fdd4a416191722b17f73109e735600c7c81156.zip |
Merge branch 'main' of git.emacsconf.org:pub/emacsconf-el
Diffstat (limited to '')
-rw-r--r-- | emacsconf-publish.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacsconf-publish.el b/emacsconf-publish.el index d4d8405..a90803b 100644 --- a/emacsconf-publish.el +++ b/emacsconf-publish.el @@ -1303,8 +1303,8 @@ Entries are sorted chronologically, with different tracks interleaved." duration) (unless (file-exists-p main) (setq main video-file-name)) - (org-entry-put (point) "VIDEO_FILE" (file-name-nondirectory main)) - (org-entry-put (point) "VIDEO_FILE_SIZE" (file-size-human-readable (file-attribute-size (file-attributes main)))) + (org-entry-put (point) "VIDEO_FILE" (file-name-nondirectory video-file)) + (org-entry-put (point) "VIDEO_FILE_SIZE" (file-size-human-readable (file-attribute-size (file-attributes video-file)))) (unless (plist-get talk :video-time) (setq duration (/ (compile-media-get-file-duration-ms video-file) 1000)) (org-entry-put (point) "VIDEO_DURATION" (format-seconds "%m:%.2s" duration)) |