mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-07 08:40:44 +00:00
Fix console error
This commit is contained in:
parent
cf2327d271
commit
a6026f8ece
1 changed files with 3 additions and 5 deletions
|
|
@ -287,11 +287,9 @@ let coverListenerInstalled = true
|
||||||
async function songchange() {
|
async function songchange() {
|
||||||
try {
|
try {
|
||||||
// warning popup
|
// warning popup
|
||||||
if (Spicetify.PlaybackControl.featureVersion < "1.1.68")
|
if (Spicetify.Platform.PlatformData.client_version_triple < "1.1.68") Spicetify.showNotification(`Your version of Spotify ${Spicetify.Platform.PlatformData.client_version_triple}) is un-supported`);
|
||||||
Spicetify.showNotification("Your version of Spotify (" + Spicetify.PlaybackControl.featureVersion + ") is un-supported")
|
} catch (err) {
|
||||||
}
|
console.error(err);
|
||||||
catch(err) {
|
|
||||||
console.log(err.message)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let album_uri = Spicetify.Player.data.track.metadata.album_uri
|
let album_uri = Spicetify.Player.data.track.metadata.album_uri
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue