aboutsummaryrefslogtreecommitdiff
path: root/emms-playlist-mode.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-05-24 05:57:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-05-24 05:57:00 +0000
commit7a770fa4ab50ae5b7445ec239c7e7375d09d3a24 (patch)
tree55df40076364a23a71c1f657bf2859f49e5c35f1 /emms-playlist-mode.el
parent3fe590d6b34b30a6d76c6a7a888a8fb49debbdaf (diff)
emms-player-mpd: Overhaul for streamlist support, and fix a few miscellaneous issues.
darcs-hash:20060524055707-1bfb2-252c06fd98f7b7c5c9b2faae8d109274ca7fc649.gz
Diffstat (limited to 'emms-playlist-mode.el')
-rw-r--r--emms-playlist-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el
index b35e9b3..88f36c7 100644
--- a/emms-playlist-mode.el
+++ b/emms-playlist-mode.el
@@ -190,7 +190,8 @@ Otherwise play the track immediately."
(name (emms-track-get track 'name))
(type (emms-track-get track 'type)))
(if (or (eq type 'playlist)
- (string-match "\\.\\(m3u\\|pls\\)\\'" name))
+ (and (eq type 'file)
+ (string-match "\\.\\(m3u\\|pls\\)\\'" name)))
(emms-playlist-mode-load-playlist)
(emms-playlist-mode-play-current-track)))))