From 87d38abc15487493da80afc3ecf92e32ed815ccd Mon Sep 17 00:00:00 2001 From: Luca Capello Date: Sun, 6 Jan 2008 15:29:00 +0000 Subject: emms-player-mplayer.el: allow subtitle even for URLs darcs-hash:20080106152951-f6b0c-663254836e588cd5212d30d1ce0f72e632a5d02c.gz --- emms-player-mplayer.el | 5 +++-- 1 file 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)) -- cgit v1.2.3