aboutsummaryrefslogtreecommitdiff
path: root/emms-lastfm.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-lastfm.el')
-rw-r--r--emms-lastfm.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emms-lastfm.el b/emms-lastfm.el
index 51bee87..3758a8b 100644
--- a/emms-lastfm.el
+++ b/emms-lastfm.el
@@ -290,7 +290,7 @@ well or if an error occured."
;;; Playback of lastfm:// streams
-(defvar emms-lastfm-radio-base-url "http://ws.audioscrobbler.com/radio/"
+(defconst emms-lastfm-radio-base-url "http://ws.audioscrobbler.com/radio/"
"The base URL for playing lastfm:// stream.
-- only used internally --")
@@ -391,6 +391,11 @@ or
(interactive "sGlobal Tag: ")
(emms-lastfm-radio (concat "lastfm://globaltags/" tag)))
+(defun emms-lastfm-radio-artist-fan (artist)
+ "Plays the artist fan radio of ARTIST."
+ (interactive "sArtist: ")
+ (emms-lastfm-radio (concat "lastfm://artist/" artist "/fans")))
+
(defun emms-lastfm-radio-love ()
"Inform Last.fm that you love the currently playing song."
(interactive)