Hot answers tagged

26

The Emacs Multimedia System (EMMS) Your initial rant suggests that you did not really give EMMS a try... Maybe you should? With the recent release of version 4, Yoni Rabkin, the maintainer, put a lot of effort into the manual. It's very good these days. It is simple since it mostly uses default Emacs bindings. Want to remove a song from the playlist? ...


10

You may be looking for Bongo: http://wikemacs.org/index.php/Media_player#Bongo it is simple (and much simpler than Emms !!) because when you start it, you have all the commands listed in the buffer. You can get it from MELPA. is has got the Dired integration. I never used it but we can either read it here or ask another user not sure about id3tags, but you ...


4

Bookmark+. Search for "music" (and "navigation list") on that page. You can bookmark individual sound files. "Jumping" to such a bookmark plays it. You can display only your sound-file bookmarks in the *Bookmark List* display, and navigate among them, as a playlist. Use C-x p B and then C-x p next to cycle the playlist. Use P B in *Bookmark List*, to show ...


3

Since it can be helpful to start with a minimum working example, please see if this works for you. It should help debug any other features of your setup that are causing breakage. emacs -Q --load emms-init.el and then M-x emms-play-directory RET ~/Music RET, where emms-init.el is as follows, and where ~/Music/ contains the 0.4 MB .flac test file downloaded ...


3

You can display some text (something looks like process bar) in the echo area to indicate the music has been played after seeking: (defun chunyang-emms-indicate-seek (_sec) (let* ((total-playing-time (emms-track-get (emms-playlist-current-selected-track) 'info-playing-time)) (elapsed/...


2

Here is an extremely crude function that will play a random album in EMMS. (defun emms-play-random-album () (interactive) (emms-browse-by-album) (goto-random-line) (emms-browser-add-tracks-and-play)) It depends on functions posted to the Emacs Wiki by sburke@cpan.org. (defun goto-random-line () "Go to a random line in this buffer." ; good for ...


2

As for track name etc, you'll want to require emms-info and one or more of the emms-info-* modules (emms-info-mp3info, emms-info-ogginfo etc), and also make sure that the corresponding command line tools are installed (see if you can run mp3info in the terminal). Then add emms-info-initialize-track to emms-track-initialize-functions. (The setup function emms-...


1

You have to run M-x emms-cache-set-from-mpd-all instead of M-x emms-cache-set-from-mpd-directory You should add (emms-player-mpd-connect) to your Emms configuration if you want Emms to connect to mpd on startup. Late answer, but might be useful to someone.


1

Try resetting the cache M-x emms-cache-reset and then re-importing your music M-x emms-add-directory-tree. Then emms-info-libtag will cook away in the background for a bit and, after a few minutes, you should see your metadata.


1

I don't know about emms but... Basically you either hard-code the required argument : (emms-add-directory "foo") or pass it with the wrapping function: (defun my-emms-command(directory) ,,, (emms-add-directory directory) ,,, Look at the doc of the specific functions you are using to find out what datatype your argument must be. BTW, in the case of not ...


1

emms-print-metadata is a C shim to enable use of libtag for extracting metadata from music files. It should only be needed if you have done something like (require 'emms-info-libtag) (setq emms-info-functions '(emms-info-libtag)) in yr config. See the EMMS manual for more information. If libtag is installed on yr system and you want to use it, you need ...


1

In my emacs26.2 use (append emms-player-mplayer-parameters (list "-novideo")) worked for me, however I think it's may disable the videoplay function.


1

You can just rename-buffer and create a new playlist. EMMS functions keep a list of playlist buffers internally. You can see this list at any time by calling (emms-playlist-buffer-list) The playlist/buffer that's being "currently" playing is pointed by emms-playlist-buffer EDIT: I thought that "the current playlist-buffer" was updated automagically, but ...


1

I have come up with adding a kill emacs hook: (add-hook 'kill-emacs-hook 'emms-stop) And it solves the problem for me.


1

M-x emms-seek-to with the argument n jumps to n-th second of the track (for n=601 you get 10:01). M-x emms-seek is also helpful. From emms.el: defun emms-seek (seconds): "Seek the current player SECONDS seconds. This can be a floating point number for sub-second fractions. It can also be negative to seek backwards."


1

There are two (three) things that, in my experience, can cause EMMS to fail to get tags from mp3info. Your $PATH variable in Emacs is different from your shell's $PATH variable. This can happen especially on Mac OS X gui emacs. You can check Emacs' path variable with M-x getenv RET, and choosing PATH from a list. A solution is to use the package exec-...


1

This post offers a partial solution to your problem. Note that it does not do a sort by AlbumArtist (hence the "partial"), but it does deal with compilation albums in the browser in a sane way. You will want to modify emms-browser-get-track-field-function, whose doctstring reads: Documentation: *A function to get an element from a track. Change ...


1

If calling an external Python script is not a problem, then give Albumbler a try. The website lists EMMS support as "untested", and I haven't had the chance to try it myself, but it might work for you.


Only top voted, non community-wiki answers of a minimum length are eligible