aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-player-mplayer.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-player-mplayer.el b/emms-player-mplayer.el
index 76f978c..2bdecaa 100644
--- a/emms-player-mplayer.el
+++ b/emms-player-mplayer.el
@@ -87,8 +87,9 @@
(ext (file-name-extension name))
(choices
(emms-remove-if-not (lambda (i)
- (and (eq (emms-track-type track) 'file)
- (file-exists-p i)))
+ (or (and (eq (emms-track-type track) 'file)
+ (file-exists-p i))
+ (eq (emms-track-type track) 'url)))
(mapcar (lambda (el)
(emms-replace-regexp-in-string
(concat ext "$") el name))