aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-player-simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-player-simple.el b/emms-player-simple.el
index bc3fc05..6286504 100644
--- a/emms-player-simple.el
+++ b/emms-player-simple.el
@@ -98,7 +98,8 @@ to call the player and ARGS are the command line arguements."
"Return non-nil when we can play this track."
(and (executable-find ,command-name)
(memq (emms-track-type track) ,types)
- (string-match ,regex (emms-track-name track)))))))
+ (string-match (emms-player-get ,player-name 'regex)
+ (emms-track-name track)))))))
;; Global variables
(defvar emms-player-simple-process-name "emms-player-simple-process"