summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-06-01 03:13:06 +0100
committerjao <jao@gnu.org>2021-06-01 03:13:06 +0100
commit3c6913a6d4fb0d89f3b40ad552c533473d0271c0 (patch)
tree0608f58613521aaef4808db1ba532e5b30924bbf /lib
parentf44288f792b42c5b7fc3fe979e4915afdd3e2e33 (diff)
downloadelibs-3c6913a6d4fb0d89f3b40ad552c533473d0271c0.tar.gz
elibs-3c6913a6d4fb0d89f3b40ad552c533473d0271c0.tar.bz2
jao-mpc-add-url, for podcasts
Diffstat (limited to 'lib')
-rw-r--r--lib/media/jao-mpc.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el
index 669883c..5f70f15 100644
--- a/lib/media/jao-mpc.el
+++ b/lib/media/jao-mpc.el
@@ -203,6 +203,11 @@
(jao-notify (jao-mpc--current-str)))
;;;###autoload
+(defun jao-mpc-add-url (url)
+ (interactive "sURL: ")
+ (jao-mpc--cmd (format "add %s" url)))
+
+;;;###autoload
(defun jao-mpc-show-albums ()
"Show album list."
(interactive)