Closed ToasterDEV closed 2 years ago
Can you run Spicetify.test() in devtool and send a screenshot of the result?
xpui.app.spotify.com is local routing, the source map errors are meaningless. The actual error here is a React minified error - the error is un-minified at this URL: https://reactjs.org/docs/error-decoder.html?invariant=267&args[]=null
It's likely Spicetify.React
is broken again, probably a quick fix.
Spicetify.test()
Sure!
Spicetify.test()
spicetifyWrapper.js:156 25/25 Spicetify methods and objects are OK.
spicetifyWrapper.js:165 34/34 Spicetify.Player methods and objects are OK.
spicetifyWrapper.js:169 Spicetify method version exists but is not in the method list. Consider adding it.
spicetifyWrapper.js:169 Spicetify method expFeatureOverride exists but is not in the method list. Consider adding it.
spicetifyWrapper.js:175 Spicetify.Player method playUri exists but is not in the method list. Consider adding it.
undefined
xpui.app.spotify.com is local routing, the source map errors are meaningless. The actual error here is a React minified error - the error is un-minified at this URL: https://reactjs.org/docs/error-decoder.html?invariant=267&args[]=null
It's likely
Spicetify.React
is broken again, probably a quick fix.
Alright then, will keep an eye out for next time. Thanks!
Got the update link, it works just fine on my machine. I would say reinstall Spotify and run spicetify backup apply
(do not restore)
Nevermind custom apps are indeed broken. Forgot to enable them on my laptop.
The CSS map has reset
This means Lyrics Plus cannot match main-navbar-navbarItem
, causing error
Temporary fix: disable lyrics plus
@khanhas How did you regenerate the CSS map in 4fa2aca70e8a0cdeafbfb87e83acae7c4223cfb6? Can it be reproduced on the new version, or was it manual?
Here's the force update link btw https://upgrade.scdn.co/upgrade/client/win32-x86/spotify_installer-1.1.72.439.gc253025e-33.exe
We need @khanhas to reveal if he has a secret css remapper or if I need to do it againπ₯²π
If you don't have an automated script for the CSS remap @khanhas I do have a bit of an idea for a shitty semi-automatic one to take a majority of the workload off.
@khanhas How did you regenerate the CSS map in 4fa2aca70e8a0cdeafbfb87e83acae7c4223cfb6? Can it be reproduced on the new version, or was it manual?
Here's the force update link btw https://upgrade.scdn.co/upgrade/client/win32-x86/spotify_installer-1.1.72.439.gc253025e-33.exe
Some people found code that seem like a css remapper maker in preprocess
If you don't have an automated script for the CSS remap @khanhas I do have a bit of an idea for a shitty semi-automatic one to take a majority of the workload off.
My method was pretty fast and good at the end so should be ok even if it was a bit boring.
If the HTML is exactly the same (no new elements in it) a simple script can do the trick.
@khanhas How did you regenerate the CSS map in 4fa2aca? Can it be reproduced on the new version, or was it manual? Here's the force update link btw https://upgrade.scdn.co/upgrade/client/win32-x86/spotify_installer-1.1.72.439.gc253025e-33.exe
Some people found code that seem like a css remapper maker in preprocess
That code was not a CSS remapper, it was the initialization of the CSS map and fetcher of the CSS map per version.
Damn. Now they reset every new Spotify version. I don't have script to it. I used vscode regexp search and multiple cursor feature and I can do it manually fairly quick. But do it every version would be hell. Can you guys check if CSS IDs changed completely or just some of them?
Damn. Now they reset every new Spotify version. I don't have script to it. I used vscode regexp search and multiple cursor feature and I can do it manually fairly quick. But do it every version would be hell. Can you guys check if CSS IDs changed completely or just some of them?
I did like that for >=1.1.66
@itsmeow found that https://open.scdn.co/cdn/build/web-player/web-player.95528e5d.css
We were discussing about that on the discord btw
I am writing a remapper using two xpui.css files from 71 and 72 and diff + regex processing.
@itsmeow I will leave it to you then. I'm probably busy till next weekends so if you can make an update on css map that would be awesome. Also please append new new, instead of replacing. I still want to keep backward compatible with v1.1.69 and 1.1.71.
I have an idea or two to automate for future-proof but I need more time.
@khanhas We already added backwards compat for the css map! See #1026
We just have to make a minor (2.8
) release with the new map immediately after merge
βΉ Computer information
π Provide detailed reproduction steps (if any)
spicetify upgrade
spicetify restore backup apply enable-devtool
βοΈ Expected result
Spotify would load as per the previous version of both the app and spicetify.
β Actual result
The source maps being missing leads to Spotify failing to load at all.
π· Screenshots
Also attaching text output of DevTools:
Network is able to reach spotify.com itself:
But not xpui.app.spotify.com:
Perhaps the location of the source map has changed?