emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/emms 085ea36791 1/3: * emms-mpris.el: Fix Seek and SetP


From: ELPA Syncer
Subject: [elpa] externals/emms 085ea36791 1/3: * emms-mpris.el: Fix Seek and SetPosition methods
Date: Tue, 24 Jan 2023 13:57:47 -0500 (EST)

branch: externals/emms
commit 085ea3679154e5ba2e40414e20b08a15b5692bd0
Author: Fran Burstall <fran.burstall@gmail.com>
Commit: Fran Burstall <fran.burstall@gmail.com>

    * emms-mpris.el: Fix Seek and SetPosition methods
    
    They were broken by recent updates to emms-seek-*
---
 emms-mpris.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emms-mpris.el b/emms-mpris.el
index 4daab6e123..82d932669c 100644
--- a/emms-mpris.el
+++ b/emms-mpris.el
@@ -459,7 +459,7 @@ Each entry of the form (info-field mpris-field dbus-type).")
 ;;*** Seek method
 (defun emms-mpris-seek (ms)
   "Method to seek by MS microseconds."
-  (emms-seek (emms-mpris-musec-to-sec ms))
+  (emms-seek (number-to-string (emms-mpris-musec-to-sec ms)))
   (emms-mpris-signal-position emms-playing-time)
   :ignore)
 
@@ -472,7 +472,7 @@ Each entry of the form (info-field mpris-field dbus-type).")
         (pos-in-secs (emms-mpris-musec-to-sec pos)))
     (when (and (string-equal track-id current-track-id)
               (<= 0.0 pos-in-secs duration))
-      (emms-seek-to pos-in-secs)
+      (emms-seek-to (number-to-string pos-in-secs))
       (emms-mpris-signal-position emms-playing-time))
     :ignore))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]