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.54k stars 730 forks source link

High CPU usage(70+) on 1.0.1 with no music playing #231

Closed exadeci closed 4 years ago

exadeci commented 4 years ago

I did a restore and then applied:

[Setting]
current_theme        = google-spicetify
color_scheme         = gow
inject_css           = 1
replace_colors       = 1
overwrite_assets     = 0
spotify_path         = /Applications/Spotify.app/Contents/Resources
prefs_path           = /Users/gaetan/Library/Application Support/Spotify/prefs
spotify_launch_flags = 

[Preprocesses]
disable_sentry        = 1
disable_ui_logging    = 1
remove_rtl_rule       = 1
expose_apis           = 1
disable_upgrade_check = 1

[AdditionalOptions]
experimental_features        = 1
search_in_sidebar            = 0
extensions                   = shuffle+.js|trashbin.js|newRelease.js
custom_apps                  = 
home                         = 0
minimal_ui                   = 0
new_feedback_ui              = 0
fastUser_switching           = 0
lyric_force_no_sync          = 1
radio                        = 0
song_page                    = 0
tastebuds                    = 0
visualization_high_framerate = 0
lyric_always_show            = 1
made_for_you_hub             = 0

; DO NOT CHANGE!
[Backup]
version = 1.1.36.734.g8731c306

This is on OSX: (CMD + Option + J) Screen Shot 2020-07-07 at 3 14 55 pm

Disabling everything in the config doesn't fix the issue, only a restore actually fixes the issue and Spotify only uses 2% of CPU while playing music.

khanhas commented 4 years ago

Judging by error log, nothing stands out:

  1. Failed to load resources: I guess you are either using Dribbblish or Google theme but didn't turn overwrite_assets config on. Please run:

    spicetify config overwrite_assets 1
    spicetify apply
  2. Invalid Dns: To suppress telemetry, I changed Spotify telemetry domain to something useless. It not used to throw error like this before but It won't interfere with UI usability or audio playing. I should take care of that later.

Can you try running spicetify restore backup apply once and see if it fixes? If you can't restore, reinstall Spotify and run spicetify backup apply.

exadeci commented 4 years ago

Tried it all nothing fixed it.

khanhas commented 4 years ago

Problem identified. I will upload new version soon. Thank you!

williambcra commented 4 years ago

Problem identified. I will upload new version soon. Thank you!

Good to know, I was going to make an issue too, it makes a MacBook Pro overheat to 98 degrees celsius, which is unusable 👍

khanhas commented 4 years ago

Please upgrade to spicetify v1.0.2 and run spicetify restore backup apply to apply the change. It should be fine now!

williambcra commented 4 years ago

Please upgrade to spicetify v1.0.2 and run spicetify restore backup apply to apply the change. It should be fine now!

Fixed! Well done, that was pretty fast 👍

exadeci commented 4 years ago

Sweet! Thanks for the quick fixing!