aboutsummaryrefslogtreecommitdiff
path: root/emms-player-mpd.el
diff options
context:
space:
mode:
authorforcer <forcer>2006-04-01 18:59:00 +0000
committerforcer <mwolson@gnu.org>2006-04-01 18:59:00 +0000
commite41edcad7947fab43b17cae064ae617d0162f783 (patch)
tree21ecf5a20ea50a5af99ce21c6169ba5e0a0eefea /emms-player-mpd.el
parente539ab44dad0dfe282ef6cc4e30800cdbbb7be8d (diff)
Move emms-parse-playlist to emms-source-file.el, rename to emms-source-file-parse-playlist
darcs-hash:20060401185913-2189f-75ccf31626867407f72de64642d6fc020cfc240e.gz
Diffstat (limited to 'emms-player-mpd.el')
-rw-r--r--emms-player-mpd.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index 176d50d..fe2bd33 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -90,6 +90,7 @@
;; emms-playing-time, the displayed time will be accurate.
(require 'emms-player-simple)
+(require 'emms-source-file) ; for emms-source-file-parse-playlist
(defun emms-player-mpd-get-supported-regexp ()
"Returns a regexp of file extensions that MusicPD supports,
@@ -509,7 +510,7 @@ This handles both m3u and pls type playlists."
;; This allows us to keep playlists anywhere and not worry about
;; having to mangle their names. Also, mpd can't handle pls
;; playlists by itself.
- (let ((playlist (emms-parse-playlist playlist))
+ (let ((playlist (emms-source-file-parse-playlist playlist))
(any-success nil))
(dolist (file playlist)
(when (emms-player-mpd-add-file file)