[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra 136ae0e 194/395: Add command for play/pause c
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra 136ae0e 194/395: Add command for play/pause current song |
Date: |
Thu, 25 Feb 2021 08:32:01 -0500 (EST) |
branch: externals/ivy-hydra
commit 136ae0e750c528f94000013ca8f1742a32e6c66e
Author: amirrezaask <raskarpour@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
Add command for play/pause current song
Fixes #2510
---
counsel.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/counsel.el b/counsel.el
index 91a4f10..5e7f255 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5606,6 +5606,15 @@ counter value and iteration amount."
(dbus-call-method :session service path interface
"AddToQueue" (cdr song))))
+(defun counsel-rhythmbox-playpause-current-song ()
+ "Play/pause the current song."
+ (interactive)
+ (let ((service "org.gnome.Rhythmbox3")
+ (path "/org/mpris/MediaPlayer2")
+ (interface "org.mpris.MediaPlayer2.Player"))
+ (dbus-call-method :session service path interface
+ "PlayPause")))
+
(defun counsel-rhythmbox-toggle-shuffle (_song)
"Toggle Rhythmbox shuffle setting."
(let* ((old-order (counsel--command "dconf" "read"
"/org/gnome/rhythmbox/player/play-order"))
- [elpa] externals/ivy-hydra 93d925d 121/395: counsel.el (counsel-mark--get-candidates): Extract, (continued)
- [elpa] externals/ivy-hydra 93d925d 121/395: counsel.el (counsel-mark--get-candidates): Extract, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 3119994 144/395: ivy.el (ivy--tramp-prefix-p): Fix regression, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 82331ed 147/395: Revert "Don't hardcode C-s and C-r", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 8386220 173/395: swiper.el (swiper-isearch): Save mark, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c84bc31 164/395: ivy.el (ivy--magic-file-slash): Use "///" instead of "//" on Windows, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7c0f16d 155/395: swiper.el (swiper--re-builder): Genaralize search-default-mode, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 40a7731 199/395: ivy.el (ivy-switch-buffer-transformer): Change how remote dirs are displayed, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 5f430f4 198/395: ivy.el (ivy-switch-buffer-transformer): Fix for virtual buffers, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 9e0803c 226/395: ivy.el (ivy--remote-name): Extract and use the file name, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7ed3d85 223/395: Move recent varalias before its referent, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 136ae0e 194/395: Add command for play/pause current song,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra a0063ce 224/395: ivy.el (ivy--done): Revert ivy-set-text, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 5c951e2 245/395: * counsel.el: Add comment on xor compatibility, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1396d7b 024/395: counsel.el (counsel-grep): Obey ivy-case-fold-search-default, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 2ccda7e 044/395: ivy.el (ivy--directory-done): Fix "Host name must not match method ssh", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra a7ae5f0 058/395: counsel.el (counsel-geiser-doc-look-up-manual): Add., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 13a1b87 059/395: ivy.el (ivy-minibuffer-map): Bind "M-a" to ivy-toggle-marks, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 49335d2 060/395: Allow to use window configurations for ivy views, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 0f61cc5 065/395: Add support for browising compilation errors, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 2fb4c9f 061/395: Update test instructions, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 3d9c222 069/395: swiper.el (swiper--query-replace-updatefn): Fix, Basil L. Contovounesios, 2021/02/25