branch: externals/listen
commit 3dcac303ac88615bb218df7f7d1d3835d7944afe
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>

    Fix: (listen-mode-lighter)
    
    Use the methods for compatibility with VLC backend (unless/until it
    gets refactored to be asynchronous, too).
---
 listen.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/listen.el b/listen.el
index 0a1a2c5f2c..76fb0e5ad7 100755
--- a/listen.el
+++ b/listen.el
@@ -246,9 +246,9 @@ Interactively, jump to current queue's current track."
 According to `listen-lighter-format', which see."
   (when-let* ((player listen-player)
               ((listen--running-p player))
-              ((pcase (listen-player-status player)
+              ((pcase (listen--status player)
                  ((or 'playing 'paused) t)))
-              (metadata (listen-player-metadata player)))
+              (metadata (listen--info player)))
     (format-spec listen-lighter-format
                  `((?a . ,(lambda ()
                             (propertize (or (alist-get 'artist metadata nil 
nil #'equal) "")

Reply via email to