commit 4f830972893ff14c37c8276eef6cb77eebc2a6e5cb74d616f9b52c7149bb4ef6 Author: Jan Kužílek Date: Wed Feb 12 11:13:13 2025 +0000 Update to version 2.39.2 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/spicetify-cli?expand=0&rev=14 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..1df2fae --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/spicetify/cli + git + .git + v2.39.2 + @PARENT_TAG@ + enable + v(.*) + + + + *.tar + zst + + + + cli-* + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..c3a9f65 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/spicetify/cli + c3485db5542b4527fff84039c0286f00e2ed6316 \ No newline at end of file diff --git a/cli-2.38.3.obscpio b/cli-2.38.3.obscpio new file mode 100644 index 0000000..c560bf5 --- /dev/null +++ b/cli-2.38.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6f2cc799a2caea658b5c11e4f185d3af9b2f656616e42b5a423a11f5d1294cd +size 2650124 diff --git a/cli-2.38.4.obscpio b/cli-2.38.4.obscpio new file mode 100644 index 0000000..7c6844d --- /dev/null +++ b/cli-2.38.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b68579cc1a93c067c8410d80b3bb2d69b7cb90b7c0c373f657c41daf0fdcfb8d +size 2651148 diff --git a/cli-2.38.5.obscpio b/cli-2.38.5.obscpio new file mode 100644 index 0000000..28c7ffd --- /dev/null +++ b/cli-2.38.5.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa50513f9e30614379a17a58bef12e72231efba5dfdc5dd3ef64bd6cbd51d487 +size 2651660 diff --git a/cli-2.38.6.obscpio b/cli-2.38.6.obscpio new file mode 100644 index 0000000..f27ad1f --- /dev/null +++ b/cli-2.38.6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53b2c7d3323c79a41788e511ad6b5913ec997ec0e45c58b6773d91481d7ca3e0 +size 2653196 diff --git a/cli-2.38.7.obscpio b/cli-2.38.7.obscpio new file mode 100644 index 0000000..f18b831 --- /dev/null +++ b/cli-2.38.7.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:373fc87e1982632eae62b8f141616f1b95756071e94822bc5da4abdfcd85c894 +size 2655756 diff --git a/cli-2.38.9.obscpio b/cli-2.38.9.obscpio new file mode 100644 index 0000000..3aecadd --- /dev/null +++ b/cli-2.38.9.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:253ee33c7e4d2097a88fa42056e219a90d96d0196039c7719249511fb0dca5c0 +size 2658316 diff --git a/cli-2.39.2.obscpio b/cli-2.39.2.obscpio new file mode 100644 index 0000000..b4eed6f --- /dev/null +++ b/cli-2.39.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9c49eea3c498b1414881c910be0d34a733aa6348a644af8b52c8697cd0e5131 +size 2666508 diff --git a/cli.obsinfo b/cli.obsinfo new file mode 100644 index 0000000..21a2b41 --- /dev/null +++ b/cli.obsinfo @@ -0,0 +1,4 @@ +name: cli +version: 2.39.2 +mtime: 1739026376 +commit: c3485db5542b4527fff84039c0286f00e2ed6316 diff --git a/spicetify-cli.changes b/spicetify-cli.changes new file mode 100644 index 0000000..bbb1bda --- /dev/null +++ b/spicetify-cli.changes @@ -0,0 +1,143 @@ +------------------------------------------------------------------- +Wed Feb 12 11:11:17 UTC 2025 - jan.kuzilek@suse.com + +- Update to version 2.39.2: + * fix(preprocess): remove checking spotify ver + * chore(lyrics-plus/OptionsMenu): change displayed text + * fix: re-render lyrics div when `Translation Display` is changed + * feat(lyrics-plus): allow to change display of lyrics translation (#3297) + * feat(lyrics-plus): add select language translation for Musixmatch provider (#3288) + * feat: patch only `xpui.js` on Spotify `1.2.57` and higher + * fix(homeConfig): make the regex work on more versions + * feat(wrapper): add smooth scrolling for Spotify 1.2.56 + * fix(expFeatures): make it work on versions without `RemoteConfigDebugAPI` + * feat: migrate state folders + * chore(deps): bump github.com/mattn/go-colorable from 0.1.13 to 0.1.14 (#3267) + * chore(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 (#3265) + +------------------------------------------------------------------- +Tue Feb 04 13:12:15 UTC 2025 - jan.kuzilek@suse.com + +- Update to version 2.38.9: + * fix(homeConfig): make it work on Spotify `1.2.56` + * fix(GetStateFolder): put files in specific state folder + * feat(trashbin): add a working export button (#3268) + * refactor: change folder location for `Backup` and `Extracted` (#3282) + * fix: use new PlatformAPI in exp features + * fix(keyboardShortcut): change called function to skip song (#3273) + +------------------------------------------------------------------- +Fri Dec 27 01:18:15 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.7: + * chore: remove console log + * fix: indefinitely wait for necessary chunks + * chore(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 (#3242) + +------------------------------------------------------------------- +Thu Dec 19 18:04:22 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.6: + * fix(wrapper): set `priority` to 1 in `OnChunksLoaded` + * feat: add ability to change cors proxy server + * feat(css-map): add classes for `navLinks` in `1.2.53` + * chore(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 (#3236) + * chore(deps): bump actions/attest-build-provenance from 1 to 2 (#3235) + * fix(update): use `GetSpotifyPath` from `cmd` + * fix(shuffle+): update GraphQL handling (#3229) + +------------------------------------------------------------------- +Mon Dec 09 17:36:20 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.5: + * fix(new-releases): stop close button propagation (#3224) + * chore(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 (#3218) + * style(trashbin): update used icon (#3212) + * feat(fullAppDisplay): seekable progress and aligned buttons (#3168) + * chore(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 (#3196) + * feat(css-map): add header 1.2.49 classnames (#3208) + * chore: remove stale labeler (#3207) + * fix: svg url in readme.md (#3204) + * chore(sidebarConfig): make phrasing more os inclusive (#3190) + +------------------------------------------------------------------- +Sat Sep 28 14:54:38 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.4: + * fix(preprocess): add new regex to catch variable names for context menu + * chore(sidebarConfig): change how msg is shown + * fix(new-releases): use hardcoded `queryArtistDiscographyAll` def (#3166) + * fix(apply): check for old global navbar existence + +------------------------------------------------------------------- +Wed Sep 11 06:18:10 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.3: + * feat(topbar): cross-version classname support (#3162) + * feat(wrapper): relay on webpack's `OnChunksLoadedRuntimeModule` + +------------------------------------------------------------------- +Mon Sep 09 08:22:35 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.2: + * fix(block-updates): block update folder on `macOS` + * fix(preprocess/contextmenu): fallback when regex doesn't find candicates + * fix(block-updates): go back one folder + +------------------------------------------------------------------- +Sun Sep 08 23:25:58 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.0: + * fix(homeConfig): check if `uri` exists too + * feat(preprocess/contextmenu): simplify matches + * fix(apply): remove 4th submatch since it's unnecessary + * fix(navlinks): add support for `1.2.46`'s global navbar + * feat(apply): add ability to call multiple functions to one file + * fix(home-config): support up to 1.2.45 (#3161) + * feat(sidebarConfig): disable functionality when Global navbar is used + * fix(apply): move expFeatures regex to the `insertExpFeatures` + * chore(preprocess): remove console log + * fix(preprocess/contextmenu): adapt regex for `1.2.46` + * chore(wrapper): change check for `os_name` to `osx` + * fix(InitPaths): check for `Apps` folder + * fix(reddit/tabBar): showing context menu in `More` + * fix(new-releases): use `PlatformAPI` to fetch podcasts + * fix(sidebarConfig): remove remaining legacy stuff + * feat(sidebarConfig): remove support for pre-Library X + * feat: remove support for pre-Library X UI + * feat: rename `block-updates` to `spotify-updates` + * feat(wrapper): set buttons heigh for 1.2.45 and older for Library X + * feat(cmd): add `block-updates` cmd to block spotify updates + * revert: check for spotify.exe existence instead of app folder + * chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 (#3156) + * fix(css-map): just fixing a typo (#3152) + +------------------------------------------------------------------- +Thu Aug 29 07:54:55 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.37.7: + * fix(wrapper): sanitize text content to remove all strings + * fix(wrapper): ignore chunks in strings + * fix(wrapper): fire `platformLoaded` event later + * feat(css-map): map `search-searchCategory-carouselButtonVisible` (#3146) + * feat(popupLyrics): add lrclib provider (#3133) + +------------------------------------------------------------------- +Sun Aug 25 19:05:07 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.37.4: + * fix(wrapper/webpack): do not return while webpack is loading + * fix(wrapper): wait until all modules loaded (#3143) + * fix(preprocess): match more special characters for `_platform` + * fix(workflows): only run build & linter on main branches (#3137) + * fix(wrapper): replace find string for `Slider` component (#3134) + * fix(preprocess): adapt `_platform` regex for `1.2.44` + * style(lyrics-plus): adjust lyric animation in `karaoke` mode (#3130) + * chore(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 (#3129) + * fix(lyrics-plus/genius): remove `encodeURIComponent` (#3131) + * fix(new-releases): use `50000` as a limit + +------------------------------------------------------------------- +Sun Aug 18 16:34:07 UTC 2024 - Jan Kužílek + +- Initial package, version 2.37.1 diff --git a/spicetify-cli.spec b/spicetify-cli.spec new file mode 100644 index 0000000..5a260ab --- /dev/null +++ b/spicetify-cli.spec @@ -0,0 +1,57 @@ +# +# spec file for package spicetify-cli +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sname cli +%define binname spicetify +Name: spicetify-cli +Version: 2.39.2 +Release: 0 +Summary: Command-line tool to customize Spotify client +License: LGPL-2.1-or-later +URL: https://spicetify.app/ +Source0: %{sname}-%{version}.tar.zst +Source1: vendor.tar.gz +BuildRequires: golang-packaging +BuildRequires: zstd +BuildRequires: golang(API) >= 1.21 + +%description +Command-line tool to customize the official Spotify client + +%prep +%autosetup -a1 -n %{sname}-%{version} + +%build +go build -mod=vendor -buildmode=pie -ldflags="-X 'main.version=%{version}'" +printf "#!/bin/sh\n%{_libdir}/%{name}/%{binname} \"\$@\"" > ./shortcut + +%install +install -Dm755 shortcut %{buildroot}%{_bindir}/%{binname} +install -Dm755 %{sname} %{buildroot}%{_libdir}/%{name}/%{binname} +cp -r Themes Extensions CustomApps jsHelper globals.d.ts css-map.json %{buildroot}%{_libdir}/%{name} + +find %{buildroot}%{_libdir}/%{name}/ -type f -executable | grep -v %{name}/%{binname} | xargs chmod a-x + +%files +%{_bindir}/%{binname} +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/* +%license LICENSE +%doc README.md + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..68a4d65 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57f704972f814e7f04bb0c77aee6b6b052fa53c0bfbe643c447a346ca0e051b8 +size 1264070