[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emms-help] minimal setup for emms2

From: Yoni Rabkin Katzenell
Subject: Re: [emms-help] minimal setup for emms2
Date: Sat, 17 Dec 2005 12:45:37 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

leon <address@hidden> writes:

> Dear all,
> I got the emms2 from:
> http://www.kollektiv-hamburg.de/~forcer/darcs/emms (any cvs access)
> Can someone just give me a minimal setup? I use
> (require 'emms-setup)
> (require 'emms)

>From the new Emms manual which is included in Emms2, chapter 3 "Simple

     (require 'emms-setup)

In Emms2 the function `emms-setup' is no more. It has been
replaced. Once again, it is all documented in the Emms2 manual.

You don't have to byte-compile all of Emms2 to read it either, you can
just `makeinfo emms.texinfo' or convert it to PDF, HTML or whatever else
rocks your boat.

Below I've added part of my current Emms2 setup for your general

----------------start elisp

(add-to-list 'load-path "~/elisp/emms/")

(require 'emms-setup)

(setq emms-source-file-default-directory "/home/yrk/audio/")

(define-emms-simple-player mplayer-mp3 '(file url)
  "\\.[mM][pP][23]$" "mplayer")

(define-emms-simple-player mplayer-ogg '(file)
  (regexp-opt '(".ogg" ".OGG" ".FLAC" ".flac" )) "mplayer")

(define-emms-simple-player mplayer-playlist '(streamlist)
  "http://"; "mplayer" "-playlist")

(define-emms-simple-player mplayer-apachemp3 '(file url)
  ".m3u" "mplayer" "-playlist")

(define-emms-simple-player mplayer-video '(file url)
  (regexp-opt '(".ogg" ".mp3" ".wav" ".mpg" ".mpeg" ".wmv"
                ".wma" ".mov" ".avi" ".divx" ".ogm" ".asf"
                ".mkv" "http://";)) "mplayer")

(setq emms-player-list '(emms-player-mplayer-mp3

(setq emms-playlist-buffer-name "*Music*")

(setq emms-info-asynchronously t)

(setq emms-stream-default-action "play")

(defun emms-add-universe-synchronously ()
  (let ((emms-info-asynchronously nil))
    (emms-add-directory-tree emms-source-file-default-directory)
    (message "Thud!")))

----------------end elisp

"Cut your own wood and it will warm you twice"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]