aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-player-mplayer.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emms-player-mplayer.el b/emms-player-mplayer.el
index 90216db..5f22a94 100644
--- a/emms-player-mplayer.el
+++ b/emms-player-mplayer.el
@@ -83,7 +83,9 @@
(defun emms-player-mplayer-subtitle-checker ()
(let* ((track (emms-playlist-current-selected-track))
- (name (emms-track-name track))
+ (name (emms-replace-regexp-in-string
+ "/" "_"
+ (emms-track-name track)))
(ext (file-name-extension name))
(choices
(emms-remove-if-not 'file-exists-p