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.

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.
Set the current playlist buffer.
Start playing the next track in the playlist.
Start playing the previous track in the playlist.
Stop playing.
Seek ten seconds forward.
Seek ten seconds backward.
Describe the currently playing track in the minibuffer.
Display the current track in the center of the screen.
Start playing the track under point. Note that this is also available with <mouse-2>.
Scroll up a near full page.
Go to the first track in the playlist.
Go to the last track in the playlist.
Go to a randomly selected track in the playlist.
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:

Remove the track under point from the playlist buffer. Also available using the d key.
See the command yank
See the command kill-region
See the command yank-pop.
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.