Browse Source

Small fixes

master
Damien Cassou 2 months ago
parent
commit
d689f4884d
Signed by: DamienCassou <damien@cassou.me> GPG Key ID: B68746238E59B548
3 changed files with 12 additions and 15 deletions
  1. +11
    -14
      README.org
  2. BIN
      media/mpdel-browser.png
  3. +1
    -1
      mpdel-browser.el

+ 11
- 14
README.org View File

@@ -145,20 +145,17 @@ refreshes them.

*** Browser

The MPDel Browser offers an alternative way of navigating through your
music collection, based on your local music directory structure. To
access the browser's top-level buffer, press ~C-x Z :~ (or call the
interactive command ~mpdel-browser-open~). By default, the top level
buffer gives you access to your music directory, as well as the artist
and albums navigators, playlists and available searches. Pressing ~RET~
on any of these buttons will open the corresponding item; in
particular, pressing ~Music directory~ will allow you to browser your
music files following their directory layout (this works also for MPD
servers such as modipy that can connect to remote music services that
export a virtual music directory structure).

In browser buffers, the regular mpdel keybindings also present in the
navigator or playlists are active.
The MPDel Browser offers an overview of MPDel entry points (see above
for a screenshot). To access the browser's top-level buffer, press
~C-x Z :~ (or call the interactive command ~mpdel-browser-open~). By
default, the top level buffer gives you access to your music
directory, as well as the artist and albums navigators, playlists and
available searches. Pressing ~RET~ on any line will open the
corresponding item. In particular, ~Music directory~ will let you to
navigate across directories: beyond local directories, some MPD
servers, such as Mopidi, map remote services to virtual directories.

Regular MPDel keybindings work in the browser too.

*** Song



BIN
media/mpdel-browser.png View File

Before After
Width: 1221  |  Height: 522  |  Size: 158KB Width: 1221  |  Height: 237  |  Size: 82KB

+ 1
- 1
mpdel-browser.el View File

@@ -263,7 +263,7 @@ This listing is constructed using `mpdel-browser-top-level-entries'."
(string= "Music directory" name))))

(cl-defmethod navigel-parent-to-open (entity &context (major-mode mpdel-browser-mode))
"Find parent of ENTITY when in a buffer with MAJOR-MODE mpdel-browser-mode."
"Find parent of ENTITY when in a buffer with MAJOR-MODE `mpdel-browser-mode'."
(cons (car (cl-find-if #'mpdel-browser--entry-is-parent-directory-p
tabulated-list-entries
:key #'car-safe))


Loading…
Cancel
Save