The API at
http://www.last.fm/api/submissions#np does not include an
index for the now-playing song. Using an index causes an error with
libre.fm.
Signed-off-by: Chris Gray <
chrismgray@...>
---
lisp/emms-lastfm.el | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lisp/emms-lastfm.el b/lisp/emms-lastfm.el
index a58e13a..028a221 100644
--- a/lisp/emms-lastfm.el
+++ b/lisp/emms-lastfm.el
@@ -218,12 +218,12 @@ These will be displayed on the user's last.fm page."
emms-lastfm-now-playing-url)
(emms-lastfm-http-POST emms-lastfm-now-playing-url
(concat "&s=" emms-lastfm-session-id
- "&a[0]=" (emms-url-quote artist)
- "&t[0]=" (emms-url-quote title)
- "&b[0]=" (emms-url-quote album)
- "&l[0]=" track-length
- "&n[0]=" track-number
- "&m[0]=" musicbrainz-id)
+ "&a=" (emms-url-quote artist)
+ "&t=" (emms-url-quote title)
+ "&b=" (emms-url-quote album)
+ "&l=" track-length
+ "&n=" track-number
+ "&m=" musicbrainz-id)
'emms-lastfm-submit-now-playing-sentinel))))
(defun emms-lastfm-submit-now-playing-sentinel (&rest args)
--
1.6.0.3.618.g55080
_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help