diff options
Diffstat (limited to 'emms-source-file.el')
-rw-r--r-- | emms-source-file.el | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/emms-source-file.el b/emms-source-file.el index e3c8a59..5384f4a 100644 --- a/emms-source-file.el +++ b/emms-source-file.el @@ -280,10 +280,17 @@ files) can play." ;;;###autoload (autoload 'emms-play-streamlist "emms-source-file" nil t) ;;;###autoload (autoload 'emms-add-streamlist "emms-source-file" nil t) (define-emms-source streamlist (streamlist) - "An EMMS source for streaming playlists (usually URLs ending in .pls." - (interactive "sPlay URL: ") + "An EMMS source for streaming playlists (usually URLs ending in .pls)." + (interactive "sPlay streamlist URL: ") (emms-playlist-insert-track (emms-track 'streamlist streamlist))) +;;;###autoload (autoload 'emms-play-lastfm "emms-lastfm" nil t) +;;;###autoload (autoload 'emms-add-lastfm "emms-lastfm" nil t) +(define-emms-source lastfm (lastfm-url) + "An EMMS source for Last.fm URLs, which begin with lastfm://." + (interactive "sPlay Last.fm URL: ") + (emms-playlist-insert-track (emms-track 'lastfm lastfm-url))) + (provide 'emms-source-file) ;;; emms-source-file.el ends here |