summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacsconf-stream.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacsconf-stream.el b/emacsconf-stream.el
index 4754cf2..0608649 100644
--- a/emacsconf-stream.el
+++ b/emacsconf-stream.el
@@ -922,10 +922,10 @@ ffplay URL
talk-or-track
'(:command ("get_property" "playback-time"))
t)))
- (duration (emacsconf-stream-send-to-mpv
- talk-or-track
- '(:command ("get_property" "duration"))
- t)))
+ (duration (gethash "data" (emacsconf-stream-send-to-mpv
+ talk-or-track
+ '(:command ("get_property" "duration"))
+ t))))
(message "%s of %s (%s remaining, ending at %s)"
(emacsconf-format-seconds playback-position)
(emacsconf-format-seconds duration)