On 2009-04-24 17:35 +0100, William Xu wrote:
> Leo <[email protected]> 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"
"/usr/local/texlive/2008basic/bin/universal-darwin" 
"/Applications/Emacs.app/Contents/MacOS/bin")

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 :.

               www.git-scm.com
    git - the one true version control system



_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to