kinyerakenneth / lastfm-java

Automatically exported from code.google.com/p/lastfm-java
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Can't use library with Libre.fm service (while it is Last.fm compatible) #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
No chance to use the library for other Last.fm similar services (for instance, 
Libre.fm that implements Last.fm API).

Scrobbler.java
private static final String HANDSHAKE_URL = "http://post.audioscrobbler.com/";

Handshake URL is hardcoded and there's no way to pass alternative one to 
handshake method. It is a problem for other service implementations right now, 
and could be a problem if one day Last.fm move it's handshake service to 
another URL.

Original issue reported on code.google.com by the.sub....@gmail.com on 27 Oct 2010 at 7:56

GoogleCodeExporter commented 9 years ago
I'll add a method to Scrobbler to change the URL, similar to the 
setApiRootUrl() method in Caller, BUT please be aware that with the next 
release of this library the old scrobbling API is going to be deprecated and be 
replaced by the new 2.0 scrobbling API (http://www.last.fm/forum/21716/_/652464)

Original comment by jannikov...@gmail.com on 29 Oct 2010 at 10:33

GoogleCodeExporter commented 9 years ago
Fixed in trunk and will be available in the next release.

Original comment by jannikov...@gmail.com on 31 Oct 2010 at 8:29