Next: , Previous: Track Information, Up: Top


14 Interactive Playlists

Emms provides a visual, interactive playlist mode as well as the ability to use playlists without ever looking at then. This visual, interactive mode is called the `emms-playlist-mode' and is defined in emms-playlist-mode.el.

The interactive playlist mode is enabled by default in the `emms-standard', `emms-all' and `emms-devel' setup levels. For more information about Emms setup levels see See Simple Setup.

— Function: emms-playlist-mode-go

Switch to the current emms-playlist buffer and use emms-playlist-mode.

If you wish to make this the default EMMS playlist mode, add the following to your .emacs.

     (setq emms-playlist-default-major-mode 'emms-playlist-mode)

The interactive playlist buffer shows the tracks in the current Emms playlist in the order in which they will be played. The current track will be highlighted.

When in the interactive playlist mode we can perform different actions on the current playlist.

a
Add files in the playlist at point to the current playlist buffer. If we are in the current playlist, make a new playlist buffer and set it as current.
b
Set the current playlist buffer.
n
Start playing the next track in the playlist.
p
Start playing the previous track in the playlist.
s
Stop playing.
P
Pause.
>
Seek ten seconds forward.
<
Seek ten seconds backward.
f
Describe the currently playing track in the minibuffer.
c
Display the current track in the center of the screen.
RET
Start playing the track under point. Note that this is also available with <mouse-2>.
SPC
Scroll up a near full page.
M-<
Go to the first track in the playlist.
M->
Go to the last track in the playlist.
r
Go to a randomly selected track in the playlist.
q
Put the interactive playlist buffer at the end of the list of all buffers.
C-x C-s
Save the current playlist buffer to a file. By default, Emms will ask you for confirmation before overwriting an existing playlist. You can silently overwrite existing playlist by setting emms-source-playlist-ask-before-overwrite to nil.
?
Describe the mode.

We can also edit the playlist using familiar GNU/Emacs commands:

C-k
Remove the track under point from the playlist buffer. Also available using the d key.
C-y
See the command yank
C-w
See the command kill-region
M-y
See the command yank-pop.
C-j
Insert a newline at point.

We can use the regular GNU/Emacs killing and yanking commands to move and copy tracks in between playlist buffers. We can use the same commands to insert arbitrary text into the playlist buffers together with the playlist tracks. Text which is not a track is ignored by the program and can therefore be used to include titles and annotations within the playlist.