Next: , Previous: Simple Setup, Up: Top



4 Configuration

This chapter discusses the configuration of Emms in more detail.

The following code fragment provides a minimal Emms setup without using the layer of `emms-setup'. It can maybe be used to better understand the internals of Emms. You can see how Emms needs to know about players (these are defined in `emms-player-simple') and about sources for tracks (trivial file system based sources, such as this `emms-directory-tree', are defined in `emms-source-file').

     (require 'emms-player-simple)
     (require 'emms-source-file)
     (require 'emms-source-playlist)
     (setq emms-player-list '(emms-player-mpg321
                              emms-player-ogg123
                              emms-player-mplayer))

For a discussion on how to define additional players, see See Simple Players.

Much of the behaviour of Emms can be changed by setting variables. For example:

     (setq emms-info-asynchronously nil)
     (setq emms-playlist-buffer-name "*Music*")

The first setq turns off the asynchronous updating of info tags. The second sets the default name of the Emms playlist buffer.

Another way to change Emms variables is to use the M-x customize mechanism provided by Emacs.