huh-spicetify-extensions icon indicating copy to clipboard operation
huh-spicetify-extensions copied to clipboard

[listPlaylistsWithSong][BUG]

Open madeanaccountforthisonecomment opened this issue 8 months ago • 1 comments

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