Merge branch 'ciderapp:main' into main
This commit is contained in:
commit
cbe7890c26
2 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ module.exports = {
|
||||||
|
|
||||||
// console.log('[DiscordRPC][updateActivity] Updating Discord Activity.')
|
// console.log('[DiscordRPC][updateActivity] Updating Discord Activity.')
|
||||||
|
|
||||||
const listenURL = `https://applemusicelectron.com/p?id=${attributes.playParams.id}` // cider://play/s/[id] (for song)
|
const listenURL = `https://cider.sh/p?s&id=${attributes.playParams.id}` // cider://play/s/[id] (for song)
|
||||||
//console.log(attributes)
|
//console.log(attributes)
|
||||||
let ActivityObject = {
|
let ActivityObject = {
|
||||||
details: attributes.name,
|
details: attributes.name,
|
||||||
|
|
|
@ -3123,9 +3123,9 @@ const app = new Vue({
|
||||||
element.onclick = app.LastFMAuthenticate;
|
element.onclick = app.LastFMAuthenticate;
|
||||||
},
|
},
|
||||||
LastFMAuthenticate() {
|
LastFMAuthenticate() {
|
||||||
console.log("wag")
|
console.log("[LastFM] Received LastFM authentication callback")
|
||||||
const element = document.getElementById('lfmConnect');
|
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...';
|
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