branch: externals/emms
commit 085ea3679154e5ba2e40414e20b08a15b5692bd0
Author: Fran Burstall <fran.burst...@gmail.com>
Commit: Fran Burstall <fran.burst...@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