change cider key
This commit is contained in:
parent
a632dbd165
commit
dee42a0ac7
2 changed files with 4 additions and 3 deletions
|
@ -7,8 +7,8 @@ import {resolve} from 'path';
|
||||||
export default class LastFMPlugin {
|
export default class LastFMPlugin {
|
||||||
private sessionPath = resolve(electron.app.getPath('userData'), 'session.json');
|
private sessionPath = resolve(electron.app.getPath('userData'), 'session.json');
|
||||||
private apiCredentials = {
|
private apiCredentials = {
|
||||||
key: "174905d201451602407b428a86e8344d",
|
key: "f9986d12aab5a0fe66193c559435ede3",
|
||||||
secret: "be61d4081f6adec150f0130939f854bb"
|
secret: "acba3c29bd5973efa38cc2f0b63cc625"
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Private variables for interaction in plugins
|
* Private variables for interaction in plugins
|
||||||
|
@ -23,6 +23,7 @@ export default class LastFMPlugin {
|
||||||
console.log("[LastFM][authenticateFromFile] Logged in.", sessionData.username, sessionData.key)
|
console.log("[LastFM][authenticateFromFile] Logged in.", sessionData.username, sessionData.key)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private authenticate() {
|
private authenticate() {
|
||||||
try{
|
try{
|
||||||
if (this._win.store.store.lastfm.auth_token) {
|
if (this._win.store.store.lastfm.auth_token) {
|
||||||
|
|
|
@ -3206,7 +3206,7 @@ const app = new Vue({
|
||||||
console.log("[LastFM] Received LastFM authentication callback")
|
console.log("[LastFM] Received LastFM authentication callback")
|
||||||
const element = document.getElementById('lfmConnect');
|
const element = document.getElementById('lfmConnect');
|
||||||
// new key : f9986d12aab5a0fe66193c559435ede3
|
// new key : f9986d12aab5a0fe66193c559435ede3
|
||||||
window.open('https://www.last.fm/api/auth?api_key=174905d201451602407b428a86e8344d&cb=cider://auth/lastfm');
|
window.open('https://www.last.fm/api/auth?api_key=f9986d12aab5a0fe66193c559435ede3&cb=cider://auth/lastfm');
|
||||||
element.innerText = 'Connecting...';
|
element.innerText = 'Connecting...';
|
||||||
|
|
||||||
/* Just a timeout for the button */
|
/* Just a timeout for the button */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue