From 7a770fa4ab50ae5b7445ec239c7e7375d09d3a24 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Wed, 24 May 2006 05:57:00 +0000 Subject: emms-player-mpd: Overhaul for streamlist support, and fix a few miscellaneous issues. darcs-hash:20060524055707-1bfb2-252c06fd98f7b7c5c9b2faae8d109274ca7fc649.gz --- emms-playlist-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emms-playlist-mode.el') 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))))) -- cgit v1.2.3