projects
/
elisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c380b2
)
Reset media/current-information to nil when we start a new song / streaming.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 10 Mar 2015 11:25:57 +0000
(12:25 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 10 Mar 2015 11:27:18 +0000
(12:27 +0100)
media.el
patch
|
blob
|
history
diff --git
a/media.el
b/media.el
index
c193b45
..
b83bbef
100644
(file)
--- a/
media.el
+++ b/
media.el
@@
-254,6
+254,7
@@
and the bitrate. Should be nil if no information is available.")
(time (get-text-property position 'time)))
(if (not url) (media/remove-highlight)
(run-hook-with-args 'media/before-play-hook url)
+ (setq media/current-information nil)
(media/api/play url)
;; We keep the information of the url and the title
(setq media/played-information (cons url (get-text-property position 'title)))