summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-07-31 03:58:06 +0100
committerjao <jao@gnu.org>2022-07-31 03:58:06 +0100
commitf8e9b2e6099dd569e971b32c3a733ea8e5e0952d (patch)
treef518365fcf006b875d75e49be637e18c15498431 /custom
parentf11b804dbd11c6288b7847dd3ef0551323392747 (diff)
downloadelibs-f8e9b2e6099dd569e971b32c3a733ea8e5e0952d.tar.gz
elibs-f8e9b2e6099dd569e971b32c3a733ea8e5e0952d.tar.bz2
jao-mpc: playing http radio streams
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-completion.el2
-rw-r--r--custom/jao-custom-gnus.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 0e36fcc..c5c3e52 100644
--- a/custom/jao-custom-completion.el
+++ b/custom/jao-custom-completion.el
@@ -403,7 +403,7 @@
(define-key embark-url-map (kbd "f") #'browse-url-firefox)
(define-key embark-url-map (kbd "x") #'jao-rss-subscribe)
(define-key embark-url-map (kbd "m") 'jao-browse-with-external-browser)
-(define-key embark-url-map (kbd "p") 'jao-browse-add-url-to-mpc)
+(define-key embark-url-map (kbd "p") 'jao-mpc-add-or-play-url)
;;;; video url targets
(defvar jao-embark-targets-video-sites
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index 8f76563..d8a0b6e 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -704,7 +704,7 @@
(when (search-forward "Enclosure:")
(forward-char 2)
(when-let ((url (thing-at-point-url-at-point)))
- (jao-browse-add-url-to-mpc url))))))
+ (jao-mpc-add-or-play-url url))))))
;;; Add-ons
;;;; gnus-icalendar