Hugo-Heagren / consult-emms

Consult interface to Emacs MultiMedia System
7 stars 2 forks source link
consult emacs embark emms

+TITLE: consult-emms.el

+AUTHOR: Hugo Heagren

Consult-based interface to EMMS, the Emacs MultiMedia System.

** ~consult-emms-library~ Add elements of the EMMS library (a track, an artist, an album, etc.) to the current playlist.

Configure the variable ~consult-emms-library-sources~ to alter which inputs are listed. The following sources are currently implemented:

Annotations for each element (e.g. track length, number of tracks in an album etc.) will be added in the future.

** ~consult-emms-current-playlist~ Jump to selected track in the current playlist.

** ~consult-emms-metaplaylist~ An analogue of ~emms-metaplaylist-mode~. Choose an EMMS playlist buffer from all the currently open ones. The chosen playlist is then presented in the minbuffer for you to select a track from, just like with consult-emms-current-playlist~. (In fact, selecting the current playlist from ~consult-emms-metaplaylist~ is functionally identical to running ~consult-emms-metaplaylist~.)

** ~consult-emms-playlists~ Jump to any track in any playlist. Like ~consult-emms-current-playlist~, but presents /all/ currently open EMMS playlists, each as a separate source/category.

This will be especially useful with ~consult-emms-playlist~.