Add mpdel-nav-open-albums to display all albums (fix #5)

parent b5612a17
Pipeline #1669 passed with stage
in 3 minutes and 28 seconds
......@@ -84,6 +84,9 @@
(cl-defmethod mpdel-nav--tabulated-list-format ((_entity (eql artists)))
(mpdel-nav--default-tabulated-list-format))
(cl-defmethod mpdel-nav--tabulated-list-format ((_entity (eql albums)))
(mpdel-nav--album-tabulated-list-format))
(cl-defmethod mpdel-nav--tabulated-list-format ((_entity (eql stored-playlists)))
(mpdel-nav--default-tabulated-list-format))
......@@ -157,6 +160,12 @@ Use entity at point if ENTITY is nil."
(interactive)
(mpdel-nav--open 'artists))
;;;###autoload
(defun mpdel-nav-open-albums ()
"Display all albums in the MPD database."
(interactive)
(mpdel-nav--open 'albums))
;;;###autoload
(defun mpdel-nav-open-stored-playlists ()
"Display all stored playlists in the MPD database."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment