diff options
author | Luca Capello <luca@pca.it> | 2008-01-06 15:29:00 +0000 |
---|---|---|
committer | Luca Capello <luca@pca.it> | 2008-01-06 15:29:00 +0000 |
commit | 87d38abc15487493da80afc3ecf92e32ed815ccd (patch) | |
tree | 784f7f092f4a65cf3c0d9febc809ee9c0cdb0a0d | |
parent | eaa8db4d476216dc2f33582926eb44ece94a5923 (diff) |
emms-player-mplayer.el: allow subtitle even for URLs
darcs-hash:20080106152951-f6b0c-663254836e588cd5212d30d1ce0f72e632a5d02c.gz
-rw-r--r-- | emms-player-mplayer.el | 5 |
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)) |