mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-19 04:08:53 +00:00
Replace deprecated hermes protocol FIX #199
This commit is contained in:
parent
2e55b23b44
commit
145cfe9b53
1 changed files with 2 additions and 2 deletions
|
|
@ -460,8 +460,8 @@ Dribbblish.on("ready", () => {
|
|||
|
||||
/* js */
|
||||
async function getAlbumRelease(uri) {
|
||||
const info = await Spicetify.CosmosAsync.get(`hm://album/v1/album-app/album/${uri}/desktop`);
|
||||
return { year: info.year, month: (info.month ?? 1) - 1, day: info.day ?? 1 };
|
||||
const info = await Spicetify.CosmosAsync.get(`https://api.spotify.com/v1/albums/${uri}`);
|
||||
return { year: info.release_date };
|
||||
}
|
||||
|
||||
async function getGenres(uri) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue