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.61k stars 732 forks source link

Spotify black screen when running spicetify #564

Closed nick51953 closed 3 years ago

nick51953 commented 3 years ago

Spicetify was running fine until the new update. I tried running the 2.0.1 version but I'm having issues. I tried entering the script with the new code, but I get a message saying "a file cannot be loaded because running scripts on this system is disabled" even though I ran it through administrator mode. However, it still goes through and says it is installed. But it'll still say I'm using spicetify 1.2.1. Do I need to uninstall it and reinstall with the new version?

fIextify commented 3 years ago

I'm running into the exact same problem :)

nick51953 commented 3 years ago

Update: to fix the message: "a file cannot be loaded because running scripts on this system is disabled" , you need to run in powershell: Set-ExecutionPolicy RemoteSigned

So, I can install 2.0.0 fine, but I still get the black screen after applying a theme.

A-S3C commented 3 years ago

i get a black screen also

i also get this error too

fatal open C:\Users\x\AppData\Roaming\Spotify\Apps\zlink\css\user.css: The system cannot find the path specified.

khanhas commented 3 years ago

Please reinstall Spotify with installer then run spicetify backup apply.

nick51953 commented 3 years ago

Okay, I got it running. However, it's stuck on BIB-Green. I cannot change it. I try using spicetify restore and then spicetify config color_scheme (theme I want) and spicetify apply, but it stays on BIB-Green.

This is the theme I was using before the update. I had edited it to change the colors and it was working fine.

khanhas commented 3 years ago

I don't quite understand what do you mean by "stuck on BIB-Green"

nick51953 commented 3 years ago

Sorry, I mean it's stuck on one theme and I can't change it. When I try to change the theme, nothing happens, it just stays on one theme. I've tried capitalizing the name of the themes but that doesn't work either.

Umbrozium commented 3 years ago

when i entered spicetify backup apply it said i already have a backup, but restoring it just gave me a black themeless spotify.

khanhas commented 3 years ago

Sorry, I mean it's stuck on one theme and I can't change it. When I try to change the theme, nothing happens, it just stays on one theme. I've tried capitalizing the name of the themes but that doesn't work either.

Theme of legacy Spotify is not compatible with new one because CSS names completely different. But color scheme can be changed so you might want to do that

when i entered spicetify backup apply it said i already have a backup, but restoring it just gave me a black themeless spotify.

Reinstall and run spicetify backup apply

nick51953 commented 3 years ago

Okay, thank you so much!

umurkarakas commented 3 years ago

i get a black screen also

i also get this error too

fatal open C:\Users\x\AppData\Roaming\Spotify\Apps\zlink\css\user.css: The system cannot find the path specified.

I got the same error. I downloaded the spotify using its launcher and I ran spicetify backup apply and it worked. But Spotify keeps getting updated after I run spotify a few hours later than I run spicetify backup apply and theme is gone. Then I get the same error when I try to run spicetify backup apply so I need to redownload spotify multiple times everyday.

MatiPlayzzYT commented 3 years ago

Sorry, I mean it's stuck on one theme and I can't change it. When I try to change the theme, nothing happens, it just stays on one theme. I've tried capitalizing the name of the themes but that doesn't work either.

Theme of legacy Spotify is not compatible with new one because CSS names completely different. But color scheme can be changed so you might want to do that

when i entered spicetify backup apply it said i already have a backup, but restoring it just gave me a black themeless spotify.

Reinstall and run spicetify backup apply

i did it and it worked while i had spotify opened, whenever i turn off the pc and turn it on again it just stops working and show the "can't find the css" error again when applying

gordon-z commented 3 years ago

i get a black screen also i also get this error too fatal open C:\Users\x\AppData\Roaming\Spotify\Apps\zlink\css\user.css: The system cannot find the path specified.

I got the same error. I downloaded the spotify using its launcher and I ran spicetify backup apply and it worked. But Spotify keeps getting updated after I run spotify a few hours later than I run spicetify backup apply and theme is gone. Then I get the same error when I try to run spicetify backup apply so I need to redownload spotify multiple times everyday.

I've been getting the same thing and also had to reinstall spotify multiple times a day.

A-S3C commented 3 years ago

Please reinstall Spotify with installer then run spicetify backup apply.

this worked for me thanks :) <3

khanhas commented 3 years ago

If your Spotify version is 1.1.59, you have 2 choices:

  1. Download Spotify 1.1.58 installer from other source and continue to use spicetify v1.2.1. But beware that Spotify will auto update anyway so run this in Powershell to stop autoupdating:

    rm "$env:localappdata\Spotify\Update"
    mkdir "$env:localappdata\Spotify\Update"
    icacls "$env:localappdata\Spotify\Update" /deny "$env:username":D
    icacls "$env:localappdata\Spotify\Update" /deny "$env:username":R
  2. Try out spicetify v2.0.1. Run this to install: Windows:

    Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.ps1" -OutFile $env:TEMP\install.ps1
    Set-ExecutionPolicy -ExecutionPolicy Unrestricted
    Invoke-Expression "$env:TEMP\install.ps1 2.0.1"
    Set-ExecutionPolicy Restricted

Linux/MacOS:

curl -fsSL https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.sh -o /tmp/install.sh
sh /tmp/install.sh 2.0.1
collips commented 3 years ago

If your Spotify version is 1.1.59, you have 2 choices:

  1. Download Spotify 1.1.58 installer from other source and continue to use spicetify v1.2.1. But beware that Spotify will auto update anyway so run this in Powershell to stop autoupdating:
rm "$env:localappdata\Spotify\Update"
mkdir "$env:localappdata\Spotify\Update"
icacls "$env:localappdata\Spotify\Update" /deny "$env:username":D
icacls "$env:localappdata\Spotify\Update" /deny "$env:username":R
  1. Try out spicetify v2.0.1. Run this to install: Windows:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.ps1" -OutFile $env:TEMP\install.ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Invoke-Expression "$env:TEMP\install.ps1 2.0.1"
Set-ExecutionPolicy Restricted

Linux/MacOS:

curl -fsSL https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.sh -o /tmp/install.sh
sh /tmp/install.sh 2.0.1

i tried to do 2nd way but when i try to run spicetify command on powershell defender says its ransomware, its very strange.

and also virustotal flags spicetify.exe as malicious virustotal

physcrowley commented 3 years ago

https://github.com/khanhas/spicetify-cli/issues/564#issuecomment-841028101

I tried the v2.0.1 spicetify version on a fresh install of Spotify from the official source and still get the black screen.

physcrowley commented 3 years ago

#564 (comment)

I tried the v2.0.1 spicetify version on a fresh install of Spotify from the official source and still get the black screen.

Spotify's looking good again! [edit: well kind of. The new Spotify version will require new Themes to handle the new layout elements]

Ku-Tadao commented 3 years ago

If your Spotify version is 1.1.59, you have 2 choices:

1. Download Spotify 1.1.58 installer from other source and continue to use spicetify v1.2.1. But beware that Spotify will auto update anyway so run this in Powershell to stop autoupdating:
rm "$env:localappdata\Spotify\Update"
mkdir "$env:localappdata\Spotify\Update"
icacls "$env:localappdata\Spotify\Update" /deny "$env:username":D
icacls "$env:localappdata\Spotify\Update" /deny "$env:username":R
1. Try out spicetify v2.0.1. Run this to install:
   **Windows:**
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.ps1" -OutFile $env:TEMP\install.ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Invoke-Expression "$env:TEMP\install.ps1 2.0.1"
Set-ExecutionPolicy Restricted

Linux/MacOS:

curl -fsSL https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.sh -o /tmp/install.sh
sh /tmp/install.sh 2.0.1

Second method worked like a charm, sadly this does break every theme being applied (if there is a fix for this, be sure to let us know >_<)