Skip to content

Commit

Permalink
ProSpotify.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ProChopa authored Mar 4, 2024
1 parent 658a38d commit 43c44e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ProSpotify.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
return;
}

console.log("ProSpotify is running");
function getAlbumInfo(uri) {
return Spicetify.CosmosAsync.get(`https://api.spotify.com/v1/albums/${uri}`);
}

async function onSongChange() {
let album_uri = Spicetify.Player.data.item.metadata.album_uri;
let bgImage = Spicetify.Player.data.item.metadata.image_url;
Expand Down

0 comments on commit 43c44e0

Please sign in to comment.