From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: EMMS best practice, tag editing and fetching lyrics Date: Wed, 23 May 2012 09:42:20 +0800 Message-ID: <87zk8zd66b.fsf@ericabrahamsen.net> References: <87mx526uvq.fsf@ericabrahamsen.net> <87obphmmi8.fsf@gmx.co.uk> <87r4ucawkr.fsf@gmx.co.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337737378 31828 80.91.229.3 (23 May 2012 01:42:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 May 2012 01:42:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 23 03:42:57 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SX0bG-00009U-05 for geh-help-gnu-emacs@m.gmane.org; Wed, 23 May 2012 03:42:54 +0200 Original-Received: from localhost ([::1]:54273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SX0bF-0003nB-HS for geh-help-gnu-emacs@m.gmane.org; Tue, 22 May 2012 21:42:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SX0b9-0003mT-CP for help-gnu-emacs@gnu.org; Tue, 22 May 2012 21:42:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SX0b7-0005hU-I2 for help-gnu-emacs@gnu.org; Tue, 22 May 2012 21:42:46 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SX0b7-0005hM-BK for help-gnu-emacs@gnu.org; Tue, 22 May 2012 21:42:45 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SX0b4-00084I-6l for help-gnu-emacs@gnu.org; Wed, 23 May 2012 03:42:42 +0200 Original-Received: from 114.252.243.108 ([114.252.243.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 May 2012 03:42:42 +0200 Original-Received: from eric by 114.252.243.108 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 May 2012 03:42:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 67 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.252.243.108 X-Pgp-Key: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0xC98BAE7B99D0D373 X-Pgp-Fingerprint: 8E19 28A9 2B51 0C67 565D DB34 C98B AE7B 99D0 D373 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:dESy9FepeOcXzNTpiO/UxX12HJU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84938 Archived-At: On Wed, May 23 2012, Johnny wrote: > William Xu writes: >> Johnny writes: > [...] >> >> I'm liking Mingus: it only does music, which is all I want, and it stays >> aware of the global state of mpd (a 'g' is usually all it takes). I >> don't like the browsing interface as well as EMMS (it's too tied to the >> filesystem structure of your music library), but with ido-mode on it's >> not bad at all. > > I have seen mingus mentioned and got a copy to test. > > I read your discussion on the stumpwm list on mpd setup and have played > around to achieve something similar. I haven't been very successful > integrating mpd and stumpwm though and would be curious to understand > your setup better. I currently use ncmpcpp and alsamixer bound to shortcuts for > fast access, but as I mentioned in the original post, my main issue with > ncmpcpp is that the keybindings are just awful. > > Emacs to create and edit playlists (and possibly tags and view lyrics) > and stumpwm directly for play, pause, fwd, etc. would be great! Yup, it's a pretty ideal setup. We're getting a wee bit off topic here, but basically what I do is start mpd at boot time, so it's running before X starts, and then I've got the following in my .stumpwmrc: --8<---------------cut here---------------start------------->8--- (load-module "mpd") (define-key *root-map* (kbd "m") '*mpd-map*) (mpd-connect) (defcommand PCM-volume-up () () "Adjust PCM volume up" (run-shell-command "amixer set PCM 3+")) (defcommand PCM-volume-down () () "Adjust PCM volume down" (run-shell-command "amixer set PCM 3-")) (define-key *top-map* (kbd "XF86AudioRaiseVolume") "PCM-volume-up") (define-key *top-map* (kbd "XF86AudioLowerVolume") "PCM-volume-down") (define-key *top-map* (kbd "XF86AudioPlay") "mpd-toggle-pause") (define-key *top-map* (kbd "XF86AudioStop") "mpd-stop") (define-key *top-map* (kbd "XF86AudioNext") "mpd-next") (define-key *top-map* (kbd "XF86AudioPrev") "mpd-prev") (define-key *top-map* (kbd "XF86AudioMute") "toggle-mute") --8<---------------cut here---------------end--------------->8--- Only the first two lines are really necessary. If mpd is running at the default 127.0.0.1:6600, this will do it. You can connect manually using 'C-t m x' (provided you're using the prefix above), and after that 'C-t m C-h' to see all of stumpwm's mpd-module commands. I use mpd with pulseaudio, but I can't imagine that would make any difference. Good luck, E -- GNU Emacs 24.1.50.2 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-05-19 on pellet