Difference between revisions of "Media player"
(added short description of how to install emms, how to play a file and how to see the playlist buffer (which isn't really one, is it ?).) |
(details, lang changed to scheme.) |
||
Line 29: | Line 29: | ||
(you may also try with [http://wikemacs.org/wiki/El-get el-get].) | (you may also try with [http://wikemacs.org/wiki/El-get el-get].) | ||
− | + | add the following to your ~/.emacs : | |
− | <source lang=" | + | <source lang="scheme"> |
(require 'emms-setup) | (require 'emms-setup) | ||
(emms-all) | (emms-all) | ||
Line 42: | Line 42: | ||
You can play a file or a directory with the command ''M-x emms-play-file'' or ''emms-play-directory''. | You can play a file or a directory with the command ''M-x emms-play-file'' or ''emms-play-directory''. | ||
− | You can add files and directories to the emms playlist (which will be created if it doesn't exist yet) with ''M-x emms-add-file'', play it with emms-start and you can '''visit the playlist buffer''' by simply calling '''M-x emms RET'''. | + | You can add files and directories to the emms playlist (which will be created if it doesn't exist yet) with ''M-x emms-add-file'', play it with emms-start and you can '''visit the playlist buffer''' by simply calling '''M-x emms RET'''. Hitting 'h' in the playlist buffer will show you all the available shortcuts. |
== External links == | == External links == |
Revision as of 16:39, 7 August 2012
EMMS
EMMS, The Emacs Multimedia System.
EMMS is the Emacs Multimedia System. It tries to be a clean and small application to play multimedia files from Emacs using external players. Many of it's ideas are derived from MpthreePlayer , but it tries to be more general and cleaner.
The fact that EMMS is based on external players makes it powerful, because it supports all formats that those players support, with no effort from your side.
Features
- Free Software (as in Free Speech, and Free Beer)
- Extensible
- Very light (some might even say stealth)
- Audio support : MP3, Ogg Vorbis, FLAC
- Video support : MPEG, WMV, MOV, AVI, OGM, MKV, etc...
- Tagging capability, possibly batched
- Playlist management
- Remotely drivable via emacsclient (playlist creation via rox-filer, for example)
- And last but not least : Written in Emacs lisp :)
Installation
Install the needed packages with the package manager of your system :
sudo apt-get install emms vorbis-tools
(you may also try with el-get.)
add the following to your ~/.emacs :
(require 'emms-setup)
(emms-all)
(emms-default-players)
and, as usual, restart emacs or M-x eval-current-buffer RET.
Usage
You can play a file or a directory with the command M-x emms-play-file or emms-play-directory.
You can add files and directories to the emms playlist (which will be created if it doesn't exist yet) with M-x emms-add-file, play it with emms-start and you can visit the playlist buffer by simply calling M-x emms RET. Hitting 'h' in the playlist buffer will show you all the available shortcuts.
External links
http://www.emacswiki.org/emacs/EMMS
http://www.gnewsense.org/Documentation/Emacs#Listening_to_Music an easy tutorial to begin with.