Don't use HTTPS for scrobbling

Turns out HTTPS isn't supported for the old API that we're using, so go
back to using plain HTTP.

Signed-off-by: Peter Marheine <peter@taricorp.net>
This commit is contained in:
Peter Marheine
2018-08-07 15:43:49 +10:00
parent f6905dec1b
commit ae7f35a9cd
@@ -175,7 +175,7 @@ public class AudioScrobblerService {
String clientVersion = "0.1";
long timestamp = System.currentTimeMillis() / 1000L;
String authToken = calculateAuthenticationToken(registrationData.password, timestamp);
URI uri = new URI("https",
URI uri = new URI("http",
/* userInfo= */ null, "post.audioscrobbler.com", -1,
"/",
String.format("hs=true&p=1.2.1&c=%s&v=%s&u=%s&t=%s&a=%s",