Next: , Previous: Configuration, Up: Top



5 Basic Commands

Before you can use the interface commands, you need a playlist to start with. The following commands allow you to add to the current playlist from different sources:

Note that the commands with the “emms-add-” prefix add the source to the playlist but do not start playing it immediately. Conversely, the commands with the “emms-play-” prefix begin playing the track immediately.

— Function: emms-play-file file

A source for a single file - either file, or queried from the user. If called with a prefix the file will be added like emms-add-file.

— Function: emms-add-file file

A source for a single file - either file, or queried from the user. If called with a prefix the file will be played like emms-play-file.

— Function: emms-play-directory dir

A source for a whole directory tree - either dir, or queried from the user.

— Function: emms-add-directory dir

A source for a whole directory tree - either dir, or queried from the user.

— Function: emms-play-directory-tree dir

A source for multiple directory trees - either dir, or the value of emms-source-file-default-directory.

— Function: emms-add-directory-tree dir

A source for multiple directory trees - either dir, or the value of emms-source-file-default-directory.

— Function: emms-play-url url

A source for an url - for example, for streaming.

— Function: emms-add-url url

A source for an url - for example, for streaming.

— Function: emms-play-playlist playlist

A source for the M3u or PLS playlist format from the file playlist.

— Function: emms-add-playlist playlist

A source for the M3u or PLS playlist format from the file playlist.

— Function: emms-play-find dir regexp

A source that will find files in dir or emms-source-file-default-directory which match regexp.

— Function: emms-add-find dir regexp

A source that will find files in dir or emms-source-file-default-directory which match regexp.

The basic functionality of Emms is just to play music without being noticed. It provides a few commands to skip the current track and such, but other than that it doesn't show up. Emms provides the following basic user commands (which you might want to bind to keystrokes):

— Function: emms-start

Start playing the current playlist

— Function: emms-stop

Stop playing

— Function: emms-next

Start playing the next track in the playlist

— Function: emms-previous

Start playing previous track in the playlist

— Function: emms-shuffle

Shuffle the current playlist. This uses emms-playlist-shuffle-function.

— Function: emms-sort

Sort the current playlist. This uses emms-playlist-sort-function.

— Function: emms-show &optional insertp

Describe the current Emms track in the minibuffer. If insertp is non-nil, insert the description into the current buffer instead. This function uses emms-show-format to format the current track.