From f8e9b2e6099dd569e971b32c3a733ea8e5e0952d Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 31 Jul 2022 03:58:06 +0100 Subject: jao-mpc: playing http radio streams --- custom/jao-custom-completion.el | 2 +- custom/jao-custom-gnus.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'custom') 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 -- cgit v1.2.3