Reset media/current-information also when stopping.
authorFrancois Fleuret <francois@fleuret.org>
Tue, 10 Mar 2015 13:57:28 +0000 (14:57 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Tue, 10 Mar 2015 13:57:28 +0000 (14:57 +0100)
media.el

index b83bbef..d10e96f 100644 (file)
--- a/media.el
+++ b/media.el
@@ -822,6 +822,7 @@ returns nil if no id3 tags could be found."
 
 (defun media/stop () (interactive)
   (message "Stop")
+  (setq media/current-information nil)
   (media/api/stop))
 
 (defun media/queue-song-at-point ()