[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emms-help] Re: Emms and mpd
From: |
Thierry Volpiatto |
Subject: |
[emms-help] Re: Emms and mpd |
Date: |
Thu, 11 Mar 2010 08:15:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
David Engster <address@hidden> writes:
> David Engster <address@hidden> writes:
>> 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:
>
> [...]
>
> Still fails if last entry in playlist isn't handled by mpd (=a
> video). I'll fix this soon.
If that help here my `emms-player-mpd-supported-regexp'.
(setq emms-player-mpd-supported-regexp
(concat "\\(file\\|http\\|lastfm\\|mms\\|mmsh\\|mmst|mmsu\\):.*"
(mapconcat 'regexp-quote '("mp3" "mp2" "ogg" "oga" "wav"
"au" "aiff" "aif" "aac" "amf"
"dsm" "far" "gdm" "imf" "it"
"med" "mod" "mtm" "s3m" "stm"
"stx" "ult" "uni" "xm" "16sv"
"3g2" "3gp" "4xm" "8svx" "aa3"
"aac" "ac3" "afc" "aif" "aifc"
"aiff" "al" "alaw" "amr" "anim"
"apc" "ape" "asf" "asx" "atrac"
"au" "aud" "avi" "avm2" "avs" "bap"
"bfi" "c93" "cak" "cin" "cmv"
"cpk" "daud" "dct" "divx"
"dts" "dv" "dvd" "dxa" "eac3"
"film" "flac" "flc" "fli"
"fll" "flx" "flv" "g726"
"gsm" "gxf" "iss" "m1v" "m2v"
"m2t" "m2ts" "m4a" "m4v" "mad"
"mj2" "mjpeg" "mjpg" "mka" "mkv"
"mlp" "mm" "mmf" "mov" "mp+" "mp1"
"mp2" "mp3" "mp4" "mpc" "mpeg"
"mpg" "mpga" "mpp" "mpu" "mve"
"mvi" "mxf" "nc" "nsv" "nut" "nuv"
"oga" "ogm" "ogv" "ogx" "oma" "ogg"
"omg" "psp" "pva" "qcp" "qt" "r3d"
"ra" "ram" "rl2" "rm" "rmvb" "roq"
"rpl" "rvc" "shn" "smk" "snd" "sol"
"son" "spx" "str" "swf" "tgi" "tgq"
"tgv" "thp" "ts" "tsp" "tta" "xa"
"xvid" "uv" "uv2" "vb" "vid" "vob"
"voc" "vp6" "vmd" "wav" "wma" "wmv"
"wsaud" "wsvga" "wv" "wve")
"\\|")))
> -David
>
>
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
Re: [emms-help] Emms and mpd, David Engster, 2010/03/13