From f30bc3215bdbb5a6745bf1fe02697420ddeae661 Mon Sep 17 00:00:00 2001 From: Brandon <52553007+crypticplank@users.noreply.github.com> Date: Tue, 8 Feb 2022 20:26:31 -0500 Subject: [PATCH] Switch to v1 V1 adds Websockets iCloud artwork api better json responses --- src/renderer/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/index.js b/src/renderer/index.js index 4ddf7905..1caa41fc 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -3692,7 +3692,7 @@ document.addEventListener('musickitloaded', function () { function initMusicKit() { let parsedJson = JSON.parse(this.responseText) MusicKit.configure({ - developerToken: parsedJson.Key, + developerToken: parsedJson.token, app: { name: 'Apple Music', build: '1978.4.1', @@ -3716,7 +3716,7 @@ document.addEventListener('musickitloaded', function () { fallbackinitMusicKit() } }; - request.open("GET", "https://api.cider.sh/"); + request.open("GET", "https://api.cider.sh/v1/"); request.send(); // check for widevine failure and reconfigure the instance.