emms-help
[Top][All Lists]
Advanced

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

[emms-help] Re: how to use mpg123 with emms?


From: William Xu
Subject: [emms-help] Re: how to use mpg123 with emms?
Date: Sat, 25 Apr 2009 00:35:40 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (darwin)

Leo <address@hidden> writes:

> Hi there,
>
> I am on mac os x (leopard 10.5.6).
>
> I compiled mpg123 from source and I can play mp3 files in terminal with
> it. I try to use it with emms by the following setup.
>
>   (define-emms-simple-player mpg123 '(file url)
>      (emms-player-simple-regexp "mp3" "mp2")
>      "mpg123")
>   (setq emms-player-mplayer-parameters '("-slave")
>         emms-player-list '(emms-player-mpg123
>                            emms-player-mpg321
>                            emms-player-mplayer
>                            emms-player-mplayer-playlist))
>
> Unfortunately I don't know why it can't play. I can see the line keep
> moving to the next track until there's no next track.
>
> Any ideas?

Probably the command "mpg123" is not under your $PATH.  What does `M-!
which mpg123' returns? 

And, you don't have to define a new mpg123 backend, instead simply
use mpg321 backend, by setting:

  (setq emms-player-mpg321-command-name "mpg123"
        emms-player-list '(emms-player-mpg321
                           emms-player-mplayer
                           emms-player-mplayer-playlist))

Also, unnecessary to set emms-player-mplayer-parameters, it has a better
default value: ("-slave" "-quiet" "-really-quiet")

-- 
William

http://xwl.appspot.com





reply via email to

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