X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=blobdiff_plain;f=media.el;h=b83bbef032f2f8348c6da1819faded6aa975b426;hp=c193b45b21cbd39c093affcd24fae510815f50bd;hb=68437333c6fb4ed63860f22e12fccc9cc37e7c28;hpb=5c380b2ce1a11b3ac2289eddc5e907372a7c0a97 diff --git a/media.el b/media.el index c193b45..b83bbef 100644 --- 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)))