diff options
-rw-r--r-- | init.org | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -2904,7 +2904,7 @@ (use-package espotify :demand t - :init (setq espotify-service-name "spotifyd")) + :init (setq espotify-service-name "mopidy")) (use-package consult-spotify :demand t) (defalias 'jao-spotify-album #'consult-spotify-album) (defalias 'jao-spotify-track #'consult-spotify-track) @@ -2921,7 +2921,7 @@ (defalias 'jao-spotify-current #'jao-mpris-show-osd))) (jao-mpris-setup-aliases) - (jao-mpris-register "spotifyd" nil (if jao-modeline-in-minibuffer-p -10 70)) + (jao-mpris-register "mopidy" :system (if jao-modeline-in-minibuffer-p -10 70)) #+end_src *** mpc @@ -2988,11 +2988,14 @@ (interactive) (jao-mpc-echo-current jao-mopidy-port)) - (defalias 'jao-spotify-playlist #'jao-exwm-spt) + (defun jao-spotify-show-playlist () + (interactive) + (jao-mpc-show-playlist jao-mopidy-port)) (defun jao-player-seek-m10 () (interactive) (jao-player-seek 10 jao-mopidy-port)) + (defun jao-player-seek-m-10 () (interactive) (jao-player-seek -10 jao-mopidy-port)) @@ -3016,8 +3019,8 @@ ("f" "seek fwd" jao-player-seek-m10 :transient t) ("F" "seek bwd" jao-player-seek-m-10 :transient t)] ["Browse" - ("l" "playing list" jao-spotify-show-playlist) - ;; ("c" "clear list"jao-spotify-clear :transient t) + ("l" "playing list" jao-exwm-ncmpcpp) + ("T" "show times" jao-mpris-status-times) ("w" "currently playing" jao-spotify-current)]]) (transient-define-prefix jao-transient-media () |