From 440e4491dd9b32fa589479029e2c51e396c6fcb4 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sun, 9 Apr 2006 00:53:00 +0000 Subject: Add new playlist sources to documentation. darcs-hash:20060409005306-1bfb2-d3512df73bfefc5371cd57bdab6c4552fa56677d.gz --- emms-source-playlist.el | 2 +- emms.texinfo | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/emms-source-playlist.el b/emms-source-playlist.el index 6ca9008..1a381b1 100644 --- a/emms-source-playlist.el +++ b/emms-source-playlist.el @@ -154,7 +154,7 @@ return a list of the files contained in the playlist." ;;;###autoload (autoload 'emms-add-playlist "emms-source-playlist" nil t) (define-emms-source playlist (file) "An EMMS source for playlists. -See `emms-source-playlist-formats' for supported formats." +See `emms-source-playlist-formats' for a list of supported formats." (interactive (list (read-file-name "Playlist file: " emms-source-file-default-directory emms-source-file-default-directory diff --git a/emms.texinfo b/emms.texinfo index 8f71b09..ada427e 100644 --- a/emms.texinfo +++ b/emms.texinfo @@ -592,6 +592,19 @@ from the user An Emms source for multiple directory trees - either @var{dir}, or the value of @var{emms-source-file-default-directory}. @end defun +@defun emms-source-playlist file +An EMMS source for playlists. See `emms-source-playlist-formats' for +a list of supported formats. +@end defun +@defun emms-source-playlist-native file +An EMMS source for a native EMMS playlist file. +@end defun +@defun emms-source-playlist-m3u file +An EMMS source for an m3u playlist file. +@end defun +@defun emms-source-playlist-pls file +An EMMS source for a pls playlist file. +@end defun @defun emms-source-find &optional dir regex An Emms source that will find files in @var{dir} or @var{emms-source-file-default-directory} that match @var{regexp}. @@ -665,6 +678,11 @@ to `emms-playlist-buffer-name'. If called interactively, the new buffer is also selected. @end defun +@defun emms-playlist-save &optional format file +Store the current playlist to FILE as the type FORMAT. The default +format is specified by `emms-source-playlist-default-format'. +@end defun + The current Emms playlist buffer is stored in the variable @var{emms-playlist-buffer}. @@ -794,7 +812,7 @@ Go to a randomly selected track in the playlist. Put the interactive playlist buffer at the end of the list of all buffers. @item C-x C-s -@findex emms-playlist-mode-save-buffer +@findex emms-playlist-save Save the current playlist buffer to a file. @item ? @findex describe-mode -- cgit v1.2.3