From ae7f35a9cdd8aaf9a8415ca4245ae501ef61af06 Mon Sep 17 00:00:00 2001 From: Peter Marheine Date: Tue, 7 Aug 2018 15:43:49 +1000 Subject: [PATCH] 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 --- .../java/org/airsonic/player/service/AudioScrobblerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airsonic-main/src/main/java/org/airsonic/player/service/AudioScrobblerService.java b/airsonic-main/src/main/java/org/airsonic/player/service/AudioScrobblerService.java index 00d51489..e1da4dcc 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/service/AudioScrobblerService.java +++ b/airsonic-main/src/main/java/org/airsonic/player/service/AudioScrobblerService.java @@ -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",