emms-help
[Top][All Lists]
Advanced

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

Re: [emms-help] Emms and mpd


From: David Engster
Subject: Re: [emms-help] Emms and mpd
Date: Wed, 10 Mar 2010 22:42:46 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.92 (gnu/linux)

AvataR <address@hidden> writes:
> Ignore regex looks better. But even with this regex
>
> (setq emms-player-mpd-supported-regexp
>    (concat "\\`http://\\|"
>               (emms-player-simple-regexp
>                "m3u" "ogg" "flac" "mp3" "wav" "mod" "au" "aiff")))
>
> setted, i couldn't play anything, if some video added to playlist.

Sorry, I should have tested this before posting. I forgot you also have
to set this regexp in the player structure. The following should work:

    (require 'emms-player-mpd)

    (setq emms-player-mpd-supported-regexp
          (concat "\\`http://\\|"
                  (emms-player-simple-regexp
                   "m3u" "ogg" "flac" "mp3" "wav" "mod" "au" "aiff")))
    
    (emms-player-set emms-player-mpd
                     'regex
                     emms-player-mpd-supported-regexp)


-David




reply via email to

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