[Top][All Lists]

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

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

From: Leo
Subject: [emms-help] Re: how to use mpg123 with emms?
Date: Fri, 24 Apr 2009 19:34:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2009-04-24 17:35 +0100, William Xu wrote:
> 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")

I have adopted all the changes you suggested.

my exec-path is
("~/bin" "/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/bin"
"/usr/X11/bin" "/usr/local/os/bin" "/usr/local/os/sbin"

and in terminal, which mpg123 returns: /usr/local/os/bin/mpg123

And still it is not working.

.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.

    git - the one true version control system

reply via email to

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