Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[listPlaylistsWithSong][BUG] #97

Open
madeanaccountforthisonecomment opened this issue Jun 5, 2024 · 1 comment
Open

[listPlaylistsWithSong][BUG] #97

madeanaccountforthisonecomment opened this issue Jun 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@madeanaccountforthisonecomment

Describe the bug
Additional code causes extension to break, and not display playlists.

To Reproduce

Have the code included.
No clue, it's just been happening to me for the past few months.

Expected behavior

To display the playlists.
I'm assuming it's pulling the rowDuration from the song, and removing it so it doesn't display. But it's undefined and therefor throwing up gang signs asking where tf the data's at.

Console Errors

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'classList') at listPlaylists (listPlaylistsWithSon717622979487:264:59)
  | listPlaylists | @ | listPlaylistsWithSon…e=1717622979487:264 -- | -- | -- | --   | await in listPlaylists (async) |   |     | onClick | @ | spicetifyWrapper.js:1766   | onClick | @ | spicetifyWrapper.js:1534   | (anonymous) | @ | xpui.js:1   | He | @ | vendor~xpui.js:1   | Je | @ | vendor~xpui.js:1   | (anonymous) | @ | vendor~xpui.js:1   | Ci | @ | vendor~xpui.js:1   | Ni | @ | vendor~xpui.js:1   | (anonymous) | @ | vendor~xpui.js:1   | Me | @ | vendor~xpui.js:1   | (anonymous) | @ | vendor~xpui.js:1   | Di | @ | vendor~xpui.js:1   | Qt | @ | vendor~xpui.js:1   | Xt | @ | vendor~xpui.js:1   | t.unstable_runWithPriority | @ | vendor~xpui.js:1   | Ko | @ | vendor~xpui.js:1   | we | @ | vendor~xpui.js:1   | qt | @ | vendor~xpui.js:1

image_2024-06-05_173239100

Screenshots

image_2024-06-05_173530986

Desktop (please complete the following information):

  • OS: Windows 10
  • Spotify Version: 1.2.39
  • Spicetify Version: v2.36.12

Additional context
I am NOT a code person, I don't know what the hell I'm doing.

I "solved" this by legit just deleting lines 264, 265, and 288-298. It proceeds to render the playlists AFTER deleting these.

After:
image_2024-06-05_173643397

image_2024-06-05_180143120

@madeanaccountforthisonecomment
Copy link
Author

madeanaccountforthisonecomment commented Jun 5, 2024

Good evening twitter, I'd like to make an immediate update:
It seems that on songs with multiple playlists, my "hot fix" doesn't display more than one playlist.
Oopsie doopsie.

Hopefully though this leads to some form of a fix xoxo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants