Closed potatohub741 closed 3 years ago
I'm going to close this issue as it has been fixed on master as well. Thanks @TheSolly! Eventually, once that hook is fixed we can bring it back.
@afonsojramos We got a different issue with the latest updates!
debugged, and the culprit was a change in the structure of the Player
hook, made a temp fix:
had to change getProgress
inside the spicetifyWrapper
getProgress: () =>
(Spicetify.Player.origin._state.isPaused ? 0 : Date.now() - Spicetify.Player.origin._state.timestamp) +
Spicetify.Player.origin._state.positionAsOfTimestamp,
Edit: And look like Spicetify.Platform
hook is back online!
@TheSolly Thanks, this is on 1.1.68, right? I haven't been able to fix methods like getProgress because my client hasn't pulled the update. Can you verify that implementation works on Spotify 1.1.68 (File -> Help -> About Spotify)?
Yup Spotify is on latest version 👌
Do you want me to open a PR?
@TheSolly please do!
ℹ Computer information
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
ModularPlayers skin should display the currently playing spotify song and song information.
❌ Actual result
Plugin remains unchanged. NOTE 1: When webnowplaying chrome or firefox extension is used instead, the ModularPlayers skin works fine and displays the information correctly (including the web version of spotify) NOTE 2: I have tried other Rainmeter skins that utilise spicetify and its webnowplaying.js extension and they don't work either. NOTE 3: Using the dev tools in spotify, under the "sources" tab, under the "extensions" drop-down menu, webnowplaying.js is listed.
📷 Screenshots