Merge remote-tracking branch 'airsonic/pr/775'

master
Andrew DeMaria 6 years ago
commit b6a9b32b1c
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 2
      airsonic-main/src/main/java/org/airsonic/player/service/AudioScrobblerService.java

@ -175,7 +175,7 @@ public class AudioScrobblerService {
String clientVersion = "0.1"; String clientVersion = "0.1";
long timestamp = System.currentTimeMillis() / 1000L; long timestamp = System.currentTimeMillis() / 1000L;
String authToken = calculateAuthenticationToken(registrationData.password, timestamp); String authToken = calculateAuthenticationToken(registrationData.password, timestamp);
URI uri = new URI("https", URI uri = new URI("http",
/* userInfo= */ null, "post.audioscrobbler.com", -1, /* userInfo= */ null, "post.audioscrobbler.com", -1,
"/", "/",
String.format("hs=true&p=1.2.1&c=%s&v=%s&u=%s&t=%s&a=%s", String.format("hs=true&p=1.2.1&c=%s&v=%s&u=%s&t=%s&a=%s",

Loading…
Cancel
Save