This fixes multiple major hooks which were broken, the second step that #870 was missing. This PR includes #870 and solves #845.
I have tested and ran this on the newest Spotify, it works very well.
With a build of this PR Spotify should display properly again.
PATCH DOWNLOAD + INSTRUCTIONS TO FIX FOR NEW SPOTIFY
https://github.com/itsmeowForks/spicetify-cli/releases/tag/v2.5.0-patch4
Fixed hooks by PR
Spicetify.React
Spicetify.Platform
Spicetify.Player.getProgress()
Spicetify.Player.getProgressPercent()
Spicetify.ReactComponent.ContextMenu
Spicetify.ReactComponent.RightClickMenu
Spicetify.ReactComponent.Menu
Known currently broken hooks
- Remove star wars easter egg
- disable_sentry (This is completely removed, regardless of config settings, as of patch4. Disabling this is no longer necessary)
- disable_logging
Spicetify.Menu
Spicetify.ReactComponent.MenuItem
Spicetify.ReactComponent.AlbumMenu
Spicetify.ReactComponent.PodcastShowMenu
Spicetify.ReactComponent.ArtistMenu
Spicetify.ReactComponent.PlaylistMenu
Known issues
- Some apps will not work due to the above broken hooks (let me know if any hooks you use are listed above as broken!)
loopyLoop.js Fix
patch4 currently doesn't include this, you can fix it yourself by downloading and replacing the loopyLoop.js from the repo or manually updating it as so:
Open up spicetify-cli/Extensions/loopyLoop.js
Change:
const bar = document.querySelector(".playback-bar .progress-bar");
to
const bar = document.querySelector(".playback-bar > div:nth-child(2)");