huhridge / huh-spicetify-extensions

Collection of my spicetify extensions
221 stars 20 forks source link

[skipStats.js] Does Not Work On My Playlists #90

Open eeriemyxi opened 7 months ago

eeriemyxi commented 7 months ago

The bug skipStats.js fails to work on my playlists. It errors on the dev-tools console tab.

To Reproduce

Console Errors

Uncaught (in promise) TypeError: Argument `uri` must be a string.
    at se.le [as fromString] (vendor~xpui.js:1:1745300)
    at skipStats.js?time=1711911433372:309:38
    at onClick (spicetifyWrapper.js:1657:57)
    at onClick (spicetifyWrapper.js:1480:7)
    at xpui.js:1:108682
    at Object.Me (vendor~xpui.js:1:2253579)
    at He (vendor~xpui.js:1:2253733)
    at vendor~xpui.js:1:2273615
    at Ui (vendor~xpui.js:1:2273709)
    at Vi (vendor~xpui.js:1:2274123)
    at vendor~xpui.js:1:2279561
    at ul (vendor~xpui.js:1:2342932)
    at Pe (vendor~xpui.js:1:2252712)
    at Wi (vendor~xpui.js:1:2275415)
    at zt (vendor~xpui.js:1:2259826)
    at Yt (vendor~xpui.js:1:2259610)
    at HTMLDivElement.i (vendor~xpui.js:1:175668)
le @ vendor~xpui.js:1
(anonymous) @ skipStats.js?time=1711911433372:309
onClick @ spicetifyWrapper.js:1657
onClick @ spicetifyWrapper.js:1480
(anonymous) @ xpui.js:1
Me @ vendor~xpui.js:1
He @ vendor~xpui.js:1
(anonymous) @ vendor~xpui.js:1
Ui @ vendor~xpui.js:1
Vi @ vendor~xpui.js:1
(anonymous) @ vendor~xpui.js:1
ul @ vendor~xpui.js:1
Pe @ vendor~xpui.js:1
Wi @ vendor~xpui.js:1
zt @ vendor~xpui.js:1
Yt @ vendor~xpui.js:1
i @ vendor~xpui.js:1

Desktop:

Extras It does notify with a toast message if I haven't skipped any song from a playlist.

eeriemyxi commented 7 months ago

Let me know if I can help further to debug the issue. I kind of need this plugin.

THEKILERFRIEND commented 5 months ago

send your playlist if still got an issue

eeriemyxi commented 4 months ago

send your playlist if still got an issue

Hi, I am no longer experiencing this issue with other playlists but one: it does not work on "Liked Songs" playlist that Spotify creates for each user.

image

THEKILERFRIEND commented 4 months ago

https://github.com/huhridge/huh-spicetify-extensions/issues/95 check if this fixes it for u!

eeriemyxi commented 4 months ago

95 check if this fixes it for u!

I don't think I have a podcast in there as the track list of my playlist is numbered rather than them all having a musical note as the number. image Besides, I have never listened to a podcast using Spotify.