lastfm plugin (functional ig)

This commit is contained in:
vapormusic 2022-01-20 17:28:30 +07:00
parent f95d9dcab2
commit 443711df79
4 changed files with 274 additions and 28 deletions

View file

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