spicetify / cli

Command-line tool to customize Spotify client. Supports Windows, MacOS, and Linux.
https://spicetify.app
GNU Lesser General Public License v2.1
18.14k stars 715 forks source link

like #181 - no colors, only images visible after applying #203

Closed JSEverything closed 4 years ago

JSEverything commented 4 years ago

Please explain what do you mean by Web Player UI and how is this supposed to work on windows, what to do to disable web ui(?), anything. I am using a cleanly installed client from https://www.spotify.com/us/download/windows/ version 1.1.34.694.gac68a2b3-a, spicetify v. 0.9.9. Devtools console shows that https://zlink.app.spotify.com/css/user.css (referenced in almost all extracted .html files) is failing to load, and css variable definitions are nowhere to be seen, but for example html has a background-color of var(--modspotify_sidebar_and_player_bg);. Setting replace_colors in config to 0 makes the window render properly, but also blocks customization, error about user.css persists. It also seems that colors.ini css isn't injected - default theme has a --bar-height: 120px; definition in the :root pseudo-class which isn't there in devtools.

khanhas commented 4 years ago

If you can provide some screenshot, that would be better for me to see what's going on.

JSEverything commented 4 years ago

image

JSEverything commented 4 years ago

I should also mention that this isn't happening only in the home screen but in every tab (search, settings, etc) in the app

khanhas commented 4 years ago

Can I see your Spicetify config file?

JSEverything commented 4 years ago

https://pastebin.com/5mwxsa6Q

khanhas commented 4 years ago

Oh you are forced by Spotify to use new UI. Sorry I didn't notice that earlier. Open %appdata%\Spotify\prefs file and remove ui.experience_override line.

If it still doesn't work:

  1. Run spicetify restore
  2. Go to %appdata%\Spotify\Apps and delete xpui.spa file
  3. Run spicetify backup apply then you should be fine.
JSEverything commented 4 years ago

That line doesn't exist in this file, and without xpui spotify is entirely blank, in devtools the html has empty <head> and <body>. I also found out that manually adding all variables from colors.ini of a theme to Apps/xpui/xpui.css at the top in a body selector actually makes spotify use the theme's colors, but this doesn't work for css since spotify has obfuscated class names (which I guess confirms that this is the new UI). Are there any other options to change to the old UI?

khanhas commented 4 years ago

How about in prefs file, add ui.experience_override=false.

JSEverything commented 4 years ago

I tried, the line gets automatically deleted when spotify starts.

khanhas commented 4 years ago

Try sign out, delete prefs file and Users folder. Log in again.

JSEverything commented 4 years ago

Custom colors and css are injected on the login screen, but after logging in it's still the new ui, ui.experience_override doesn't exist in the new prefs, it's still getting removed when I add it.

Poopooracoocoo commented 4 years ago

Spotify updated itself today and now I'm getting the same issues as @Pawiczekk :((((((

khanhas commented 4 years ago

Will be fixed in next version.