Tetrax-10 / Nord-Spotify

Nord Themed Spotify
https://tetrax-10.github.io/Nord-Spotify/
MIT License
331 stars 20 forks source link

Atmosphere Dynamic Color Mode not working #17

Closed arifesat closed 1 year ago

arifesat commented 1 year ago

Atmosphere mode doesn't work, the app stays with the color of the previous theme's color. The other 3 dynamic modes work fine.

Tetrax-10 commented 1 year ago

send me your config. Also make sure your internet cconnection is on.

arifesat commented 1 year ago
[Setting]
spotify_path            = /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/
inject_css              = 1
replace_colors          = 1
spotify_launch_flags    = 
check_spicetify_upgrade = 0
prefs_path              = /home/arif/.var/app/com.spotify.Client/config/spotify/prefs
current_theme           = Nord-Spotify
color_scheme            = Spotify
overwrite_assets        = 0

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

[AdditionalOptions]
extensions            = injectNord.js
custom_apps           = marketplace
sidebar_config        = 1
home_config           = 1
experimental_features = 1

[Patch]

; DO NOT CHANGE!
[Backup]
version = 1.1.84.716.gc5f8b819
with    = 2.16.0

I also tried installing from marketplace but doesn't work.

Tetrax-10 commented 1 year ago

Can you enable dev tools in spotify and run this code and send me the output screenshot

(await Spicetify.CosmosAsync.get(
                `https://api-partner.spotify.com/pathfinder/v1/query?operationName=fetchExtractedColors&variables={"uris":["spotify:image:ab67616d0000b2736ac1ad714f815e19c2372401"]}&extensions={"persistedQuery":{"version":1,"sha256Hash":"d7696dd106f3c84a1f3ca37225a1de292e66a2d5aced37a66632585eeb3bbbfa"}}`
            )).data.extractedColors[0].colorRaw.hex
arifesat commented 1 year ago

image

Tetrax-10 commented 1 year ago

You are in mac or linux?

arifesat commented 1 year ago

Linux.

ohitstom commented 1 year ago

Linux.

update your Spotify to 2.0.

arifesat commented 1 year ago

update your Spotify to 2.0.

Ohh, now I see the problem. I was using 8 months old Flatpak package which is still not updated. I am on Fedora and lpf-spotify doesn't seem to work, also I don't want to use snaps. I have to wait for a new update for the Flatpak package then.

Thanks for clarifying.

svemat01 commented 1 year ago

Running version Spotify version 1.1.99.878.g1e4ccc6e produces the same console output. I'm using the spotify-edge AUR package so should be up to date. As far as I've seen there is no Spotify 2.0 client version. If there is, feel free to correct me.

svemat01 commented 1 year ago

The following console output is also sent on each song change. image

Tetrax-10 commented 1 year ago

am still working on that. you can expect a release soon. this problem only happens in Linux and Mac

zero-mindset commented 1 year ago

Just wanted to add that this mode doesn’t work for me either (MacOS)

Tetrax-10 commented 1 year ago

Yeah this mode is not supported on mac and linux. But am still working on it to resolve. thx for reporting

Tetrax-10 commented 1 year ago

@arifesat @svemat01 @zero-mindset

Fixed the Bug. Can you guys confirm whether atmosphere mode is working or not?

Code changed : Tetrax-10/Nord-Spotify@86f1edca97ace9007091cacb473c409bf1f30cfd

svemat01 commented 1 year ago

Thanks, I tried reinstalling nord spotify using spicetify marketplace but atmosphere mode still seems broken sadly. Any command I could run to verify this in my instance or is further action needed from my side to get it working?

zero-mindset commented 1 year ago

It’s fixed for me on MacOS!

On Fri, Feb 3, 2023 at 6:11 AM Jakob Helgesson @.***> wrote:

Thanks, I tried reinstalling nord spotify using spicetify marketplace but atmosphere mode still seems broken sadly. Any command I could run to verify this in my instance or is further action needed from my side to get it working?

— Reply to this email directly, view it on GitHub https://github.com/Tetrax-10/Nord-Spotify/issues/17#issuecomment-1415789004, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5MWCYH5CEKTNRNC7ZQWXA3WVTYX3ANCNFSM6AAAAAATZGWNEI . You are receiving this because you were mentioned.Message ID: @.***>

Tetrax-10 commented 1 year ago

Thanks, I tried reinstalling nord spotify using spicetify marketplace but atmosphere mode still seems broken sadly. Any command I could run to verify this in my instance or is further action needed from my side to get it working?

Run this code in console and screenshot me the output

(await Spicetify.CosmosAsync.get(
                encodeURI(`https://api-partner.spotify.com/pathfinder/v1/query?operationName=fetchExtractedColors&variables={"uris":["spotify:image:ab67616d0000b2736ac1ad714f815e19c2372401"]}&extensions={"persistedQuery":{"version":1,"sha256Hash":"d7696dd106f3c84a1f3ca37225a1de292e66a2d5aced37a66632585eeb3bbbfa"}}`
            ))).data.extractedColors[0].colorRaw.hex

I can get the output in my Ubuntu. whats ur os @svemat01 image

svemat01 commented 1 year ago

Sorry, it turned out I needed to run spicetify restart. I assumed the reload prompted by the marketplace was sufficient. Thanks for the fix, I appreciate it :)

arifesat commented 1 year ago

It worked for me too. Thanks for your work!