aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2010-12-05 22:00:07 -0500
committerYoni Rabkin <yoni@rabkins.net>2010-12-05 22:00:07 -0500
commit6d7dfa890c90e0aa11c19d4751972aedb04f14b7 (patch)
treee2e24852a4f453074ee4e2d6a9e7e102ba191710
parent1126baf19b5c94c5abdd76c81b5ea3bc8e0e123f (diff)
* lisp/emms-lastfm-client.el: Add station.
-rw-r--r--lisp/emms-lastfm-client.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/emms-lastfm-client.el b/lisp/emms-lastfm-client.el
index 8090d36..9332216 100644
--- a/lisp/emms-lastfm-client.el
+++ b/lisp/emms-lastfm-client.el
@@ -587,6 +587,13 @@ This function includes the cryptographic signature."
(emms-lastfm-scrobbler-handshake)
(emms-lastfm-client-play-playlist))
+(defun emms-lastfm-client-play-recommended ()
+ "Play a Last.fm station with \"recommended\" tracks."
+ (interactive)
+ (emms-lastfm-client-play-user-station
+ emms-lastfm-client-username
+ "lastfm://user/%s/recommended"))
+
(defun emms-lastfm-client-play-loved ()
"Play a Last.fm station with \"loved\" tracks."
(interactive)