Merge branch 'musickit-v3' of https://github.com/ciderapp/Cider into musickit-v3

This commit is contained in:
vapormusic 2022-01-16 16:08:20 +07:00
commit 48839c6a4f
7 changed files with 86 additions and 69 deletions

View file

@ -3180,9 +3180,9 @@ const app = new Vue({
element.onclick = app.LastFMAuthenticate;
},
LastFMAuthenticate() {
console.log("wag")
console.log("[LastFM] Received LastFM authentication callback")
const element = document.getElementById('lfmConnect');
window.open('https://www.last.fm/api/auth?api_key=174905d201451602407b428a86e8344d&cb=ame://auth/lastfm');
window.open('https://www.last.fm/api/auth?api_key=f9986d12aab5a0fe66193c559435ede3&cb=cider://auth/lastfm');
element.innerText = 'Connecting...';
/* Just a timeout for the button */