diff --git a/CustomApps/lyrics-plus/index.js b/CustomApps/lyrics-plus/index.js index a3a50a1cb8..9136471c40 100644 --- a/CustomApps/lyrics-plus/index.js +++ b/CustomApps/lyrics-plus/index.js @@ -550,7 +550,7 @@ class LyricsContainer extends react.Component { this.tryServices(nextInfo, this.state.explicitMode); }; - if (Spicetify.Player?.data?.track) { + if (Spicetify.Player?.data?.item) { this.state.explicitMode = this.state.lockMode; this.currentTrackUri = Spicetify.Player.data.item.uri; this.fetchLyrics(Spicetify.Player.data.item, this.state.explicitMode); diff --git a/Extensions/trashbin.js b/Extensions/trashbin.js index e6f0d00597..65f2af43f1 100644 --- a/Extensions/trashbin.js +++ b/Extensions/trashbin.js @@ -313,11 +313,11 @@ if (!list[uri]) { list[uri] = true; if (shouldSkipCurrentTrack(uri, type)) Spicetify.Player.next(); - Spicetify.Player.data?.track.uri === uri && setWidgetState(true); + Spicetify.Player.data?.item.uri === uri && setWidgetState(true); Spicetify.showNotification(type === Spicetify.URI.Type.TRACK ? "Song added to trashbin" : "Artist added to trashbin"); } else { delete list[uri]; - Spicetify.Player.data?.track.uri === uri && setWidgetState(false); + Spicetify.Player.data?.item.uri === uri && setWidgetState(false); Spicetify.showNotification(type === Spicetify.URI.Type.TRACK ? "Song removed from trashbin" : "Artist removed from trashbin"); }