diff options
author | forcer <forcer> | 2007-10-03 11:26:00 +0000 |
---|---|---|
committer | forcer <mwolson@gnu.org> | 2007-10-03 11:26:00 +0000 |
commit | 9a5aa42b2720a37eb7113453130e580ee4a3fbac (patch) | |
tree | a505ec167d74ca2e31eafabf4f8855be2d3b05b6 | |
parent | 37859ca345d970415b6232707f26bdd9469e4f52 (diff) |
emms-player-mplayer.el (emms-player-mplayer-subtitle-checker): Replace
/ with _ in track names.
darcs-hash:20071003112650-2189f-597e251af82e28fe8c0c9da2c7d8e7db256eab36.gz
-rw-r--r-- | emms-player-mplayer.el | 4 |
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 |