aboutsummaryrefslogtreecommitdiff
path: root/emms-player-mpd.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-10-28 04:21:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-10-28 04:21:00 +0000
commit59cc07ba42ed34d1aa83c01fec576d93cdb903d6 (patch)
treef43331887430ec9192e5bfe334233e0087db356b /emms-player-mpd.el
parent189556320ffc56d9489fb68f217707855757702c (diff)
emms-player-mpd: Deal with change in output when getting supported file types
darcs-hash:20061028042119-1bfb2-ac4774e6e82e7c4a15626c99d33efaa378d5e5a0.gz
Diffstat (limited to 'emms-player-mpd.el')
-rw-r--r--emms-player-mpd.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index 7b6cf24..1fd15f7 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -137,8 +137,9 @@ or nil if we cannot figure it out."
(while (car out)
(cond ((string= (car out) "Supported formats:")
(setq found-start t))
- ((and found-start
- (not (string= (car out) "")))
+ ((string= (car out) "")
+ (setq found-start nil))
+ (found-start
(setq supported (concat supported (car out)))))
(setq out (cdr out)))
;; Create regexp