summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
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)