From f29e12ff6fb71422a0e2fd9c59b6daf35cd2338a Mon Sep 17 00:00:00 2001 From: forcer Date: Mon, 27 Aug 2007 13:31:00 +0000 Subject: Simple players now use their regex property as they should. emms-player-simple.el (define-emms-simple-player): `playablep' now uses `emms-player-get' for the regex property, instead of using the hardcoded regex, as it should. Thanks to Ye Wenbin for noticing this old bug. darcs-hash:20070827133149-2189f-c1d9cec8543eec45106379d520c8d829cc31ba52.gz --- emms-player-simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3