khanhas / Spicetify

Spice up your Spotify client
GNU General Public License v3.0
796 stars 72 forks source link

Artist/Album page with no CSS at all. #45

Closed nodgear closed 6 years ago

nodgear commented 6 years ago

Playlists work's great, and appear howit should be, but if you click in a artist/album everything goes crzy image

khanhas commented 6 years ago
  1. Restore
  2. Make sure you are on lastest Spicetify.
  3. Clear backup
  4. Backup and Apply again.
nodgear commented 6 years ago

I just download spotify and spicetify 2 hours ago. did the backup steps, still the same. image

khanhas commented 6 years ago

What is your Spotify version? Check in Menu in top left -> About

nodgear commented 6 years ago

Spotify 1.0.84

khanhas commented 6 years ago

Can you zip folder artist in %appdata%\Spotify\Apps and send it here?

nodgear commented 6 years ago

artist.zip Here you go.

khanhas commented 6 years ago

Seems like your artist's index.html is modded 2 times. Correctly modded index.html should looks like this:

<!DOCTYPE html>
<html dir="auto">
  <head>
    <meta charset="utf-8">
    <meta name="google" value="notranslate">
    <link rel="stylesheet" href="https://zlink.app.spotify.com/css/glue.css">
    <title>Artist</title>
  <link href="/css/main.css" rel="stylesheet"><link rel="stylesheet" class="spicetify-userCSS" href="https://zlink.app.spotify.com/css/user.css"></head>

  <body>

    <div id="artist-page" data-play-source="artist"></div>
    <div id="message-container"></div>

    <!-- "init.js" is served by the desktop client and provides the "window.__spotify" object. -->
    <script src="init.js"></script>
  <script type="text/javascript" src="/artist.bundle.js"></script></body>
</html>

Can you clear backup, reinstall Spotify again then backup and apply again. If you can, uninstall Spotify first just to be sure.

nodgear commented 6 years ago

Working like magic, any clue about how this bug happens?

khanhas commented 6 years ago

Tbh, I can't think of any.
Backup, extracted and processed files need to be deleted before user can backup and process them again. If somehow it isn't deleted, it will still be overwritten by original file when extracting.