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

can't find offline.bnk in user installed flatpak & no colors applying #1979

Closed apprehensions closed 2 years ago

apprehensions commented 2 years ago

🔍 Have you checked Spicetify.app page for your issue?

🔍 Is there already an issue for your problem?

ℹ Environment / Computer Info

- Spotify version: 1.1.84.716.gc5f8b819
- Spicetify version:2.14.0

📝 Description

can't find offline.bnk:

prefs_path   = /home/wael/.var/app/com.spotify.Client/config/spotify/prefs
spotify_path = /home/wael/.local/share/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify

https://github.com/spicetify/spicetify-cli/blob/4b1fda2198fc61eb0b9a5fe30f3585dd47a02c16/src/cmd/devtools.go#L36 since spotify_path isnt in the 'flatpak installations' (/usr/var/lib/flatpak, which cannot be used) this does not work.

as for the no colors, i do not understand either; i am using marketplace and marketplace's CSS colors are being used.

current_theme           = spotify
color_scheme            = gruvbox
[gruvbox]
text               = #ebdbb2
subtext            = #a89984
main               = #1d2021
sidebar            = #1d2021 
player             = #1d2021
card               = #1d2021
shadow             = #1d2021
selected-row       = #1d2021
button             = #928374
button-active      = #928374
button-disabled    = #282828
tab-active         = #1d2021
notification       = #1d2021
notification-error = #282828
misc               = #1d2021

📸 Screenshots

No response

kyrie25 commented 2 years ago

Unsupported Spotify version. Downgrade to Spicetify v2.9.9 for compatibility with Spotify v1.1.84

kyrie25 commented 2 years ago

Also color scheme hexs aren't supposed to have # at the start of the value. Use other themes or SpicetifyDefault as reference. Default Marketplace theme is named marketplace.

apprehensions commented 2 years ago

Also color scheme hexs aren't supposed to have # at the start of the value.

yeah that should explain it. thanks for pointing that out.

Unsupported Spotify version. Downgrade to Spicetify v2.9.9 for compatibility with Spotify v1.1.84

why was this closed then? i was just experimenting with system installed flatpak to check. plus spicetify DOES attach and css and extensions work.

kyrie25 commented 2 years ago

why was this closed then? i was just experimenting with system installed flatpak to check. plus spicetify DOES attach and css and extensions work.

Linux's Spotify version is almost a year behind every other platforms, thus most of the internal function has changed. Even if it does manage to work, we won't and will not guarantee anything working, nor provide support or fix any problems that occurs. Latest Spicetify releases are meant for latest Spotify versions.

apprehensions commented 2 years ago

Latest Spicetify releases are meant for latest Spotify versions.

thanks, i sort of forgot this myself.

just to make sure, wouldn't it conflict with existing themes or extensions that are meant to be used with the newer versions that (maybe) have different CSS mappings?

kyrie25 commented 2 years ago

just to make sure, wouldn't it conflict with existing themes or extensions that are meant to be used with the newer versions that (maybe) have different CSS mappings?

CSS mappings are added every new version, not replaced. There won't be any concerns about unmatched class names. However, lots of theme developers have adapted their theme to patch bugs that appears in newer versions of Spotify (most noticeably Spotify released a new UI in their latest versions), so those themes might no longer work for older versions

apprehensions commented 2 years ago

yep. theme works now, will re-open as different issue since offline.bnk still errors.