Coder Social home page Coder Social logo

therandomlabs / scoop-spotify Goto Github PK

View Code? Open in Web Editor NEW
176.0 8.0 13.0 334 KB

A Scoop bucket for Spotify, Spicetify and related packages.

License: The Unlicense

PowerShell 100.00%
scoop scoop-bucket scoop-apps spotify spicetify spicetify-cli spicetify-extensions spicetify-themes spicetify-custom-apps spicetify-apps

scoop-spotify's Introduction

Scoop-Spotify Build status

A Scoop bucket for Spotify, Spicetify and related packages.

$ scoop bucket add spotify https://github.com/TheRandomLabs/Scoop-Spotify.git

...I've spent an unhealthy amount of time on automating all of this.

Also check out my personal bucket and my Python bucket!

spotify-latest: hash check failed

If the spotify-latest manifest has recently been updated, this error may occur because depending on the region, the old installer may stay cached for a bit. To work around this issue, pass the -s or --skip flag to Scoop when updating the package.

Notes

  • None of the packages in this bucket can be installed globally.
  • If you have the means, please buy Spotify Premium instead of installing BlockTheSpot.
  • All of the Spicetify packages require Spotify to be installed either through this Scoop bucket or the official installer.
  • All themes, extensions and custom apps for Spicetify should be installed to ~\.spicetify instead of the spicetify-cli installation directory.
  • Installing or updating any of the packages in this bucket automatically applies the Spicetify configuration and preserves BlockTheSpot if it is installed.
  • All Spicetify packages apart from spicetify-cli depend on spicetify-cli.
  • --purge or -p should be used to fully uninstall all packages apart from blockthespot, google-spicetify and spicetify-themes.

BlockTheSpot

  • This blocks advertisements for the latest version of Spotify.
  • This package depends on spotify-latest.
  • This is not an executable program. spotify-latest will be patched automatically every time this package or any of the Spicetify packages are installed or updated.
  • If BlockTheSpot is ever reset, blockthespot can be run to reapply it. This usually happens after running Spicetify commands, and running spicetify-apply rather than spicetify apply ensures that BlockTheSpot is enabled if it is installed.

genius-spicetify

  • See here to configure a custom Musixmatch user token. manifest.json can be found at ~\.spicetify\CustomApps\genius\manifest.json.

spicetify-autoVolume

  • See here to modify the configuration. autoVolume.js can be found at ~\.spicetify\Extensions\autoVolume.js.

spicetify-cli

  • Experimental features, fast user switching and all default extensions apart from Auto Skip Videos and DJ Mode are enabled by default.
  • spicetify-apply is should be run instead of spicetify apply if BlockTheSpot is installed, as it ensures that BlockTheSpot is enabled if it is installed.
  • It should be noted that spicetify-apply also runs spicetify restore and spicetify backup before running spicetify apply to ensure that changes are applied every time.
  • For similar reasons, spicetify-enable-devtool and spicetify-disable-devtool should be run instead of spicetify enable-devtool and spicetify disable-devtool.
  • The three above commands also support the -quiet switch.

spicetify-jqbx

  • This requires Spotify Premium.

spicetify-themes

  • The Elementary theme requires the Open Sans and Raleway fonts:
$ scoop bucket add nerd-fonts
$ sudo scoop install Open-Sans Raleway
$ scoop bucket add nerd-fonts
$ sudo scoop install Ubuntu-NF

Spotify (latest)

  • This is the latest version of Spotify.
  • Unlike Ash258's version, this version installs completely silently and to the Scoop directory.
  • Spotify's built-in updater is disabled, and Scoop should be used to update it instead.
  • Spotify should be installed locally and not globally.
  • This cannot be installed concurrently with spotify-with-blockthespot.

Spotify with BlockTheSpot

  • This is an outdated version of Spotify (1.1.4.197.g92d52c4f) with an old version of BlockTheSpot.
  • Spotify's built-in updater is disabled.
  • This should only be used if BlockTheSpot does not work with the latest version of Spotify.
  • Spotify with BlockTheSpot should be installed locally and not globally.
  • Installation and uninstallation of this package require administrator privileges.
  • This cannot be installed concurrently with spotify-latest.

Installing and customizing Spotify

First, the latest version of Spotify should be installed:

$ scoop install spotify-latest

Note that Spotify should not be installed globally, as it stores files in user-specific directories.

Once Spotify is installed, spicetify-cli can be installed to customize the Spotify client:

$ scoop install spicetify-cli

Again, spicetify-cli should be installed locally, as it also stores files in a user-specific location.

spicetify-themes can be installed for a collection of community-created themes for Spicetify. Obviously, this should also be installed locally:

$ scoop install spicetify-themes

google-spicetify is also available:

$ scoop install google-spicetify

I can recommend the Adapta-Nokto theme, which can be applied by running the following:

$ spicetify config current_theme Adapta-Nokto
$ spicetify-apply

As an example, I will also demonstrate the installation of the Elementary theme, which requires Open Sans and Raleway to be installed:

$ scoop bucket add nerd-fonts
$ sudo scoop install Open-Sans Raleway
$ spicetify config current_theme Elementary
$ spicetify-apply

To install spicetify-cli and apply a theme silently, the theme can be configured before installing spicetify-themes. When any of the Spicetify packages are installed, the current configuration is applied, and if Spotify was open previously, it is reopened.

$ scoop install spicetify-cli
$ spicetify config current_theme Elementary
$ scoop install spicetify-themes

genius-spicetify can be installed to fetch lyrics from Genius or Musixmatch:

$ scoop install genius-spicetify

spicetify-autoVolume can be installed to automatically decrease the volume at specific intervals of time:

$ scoop install spicetify-autovolume

BlockTheSpot can be installed to block advertisements:

$ scoop install blockthespot

All of the above packages can be updated through Scoop.

If you don't care about reading any of this and just want a quick way to install ad-blocked Spotify with the Elementary theme, genius-spicetify and developer tools, copy and paste this into PowerShell:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

scoop install git sudo

scoop bucket add nerd-fonts
sudo scoop install Open-Sans Raleway --global

scoop bucket add spotify https://github.com/TheRandomLabs/Scoop-Spotify.git
scoop install spotify-latest blockthespot spicetify-cli spicetify-themes genius-spicetify spicetify-autovolume

spicetify config current_theme Elementary --quiet
spicetify-enable-devtool -quiet

Or even shorter, but with Adapta-Nokto instead:

$ Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force; iwr -useb https://raw.githubusercontent.com/TheRandomLabs/Scoop-Spotify/master/basic-setup.ps1 | iex

I wrote the above script mostly for people who don't care about using Scoop and just need a foolproof way to set everything up automatically.

And in the future, if you want to update any installed packages:

$ scoop update *

scoop-spotify's People

Contributors

camjac251 avatar github-actions[bot] avatar lunchb0ne avatar therandomlabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scoop-spotify's Issues

[email protected]: hash check failed

Updating 'spotify-latest' (1.1.38.558.g4b100958 -> 1.1.39.612.g1e7e78a4)
Downloading new version
SpotifyFullSetup.exe (78.3 MB) [==============================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App: spotify/spotify-latest
URL: https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected: 752f3b4b5e41cc7948ed8050099bdca1bb109a3b64d81292b1da3486a5a55e59
Actual: 8067c8dafde4ce9f065fa1079f2cee14ad97dab62f3901fb5569286371c88879

Spotify doesn't work with BlockTheSpot

scoop install spotify-latest
scoop install blockthespot

However, it does work when I install spotify manually (through the exe) and apply BlockTheSpot manually.

[email protected]: hash check failed

i guess im back!

Updating 'spotify-latest' (1.1.39.612.g1e7e78a4 -> 1.1.40.508.gd5bc2931)
Downloading new version
SpotifyFullSetup.exe (77.4 MB) [==============================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App: spotify/spotify-latest
URL: https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected: 8067c8dafde4ce9f065fa1079f2cee14ad97dab62f3901fb5569286371c88879
Actual: 752f3b4b5e41cc7948ed8050099bdca1bb109a3b64d81292b1da3486a5a55e59

[email protected]: hash check failed

~\programs λ scoop install spotify-latest
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
Installing 'spotify-latest' (1.1.30.658.gf13cde74) [64bit]
Starting download with aria2 ...
Download: [#12079c 912KiB/74MiB(1%) CN:5 DL:1.2MiB ETA:59s]
Download: [#12079c 3.2MiB/74MiB(4%) CN:5 DL:1.8MiB ETA:37s]
Download: [#12079c 6.8MiB/74MiB(9%) CN:5 DL:2.5MiB ETA:26s]
Download: [#12079c 10MiB/74MiB(13%) CN:5 DL:2.7MiB ETA:23s]
Download: [#12079c 13MiB/74MiB(18%) CN:5 DL:2.9MiB ETA:20s]
Download: [#12079c 17MiB/74MiB(23%) CN:5 DL:3.0MiB ETA:18s]
Download: [#12079c 21MiB/74MiB(28%) CN:5 DL:3.1MiB ETA:16s]
Download: [#12079c 25MiB/74MiB(33%) CN:5 DL:3.2MiB ETA:14s]
Download: [#12079c 26MiB/74MiB(36%) CN:5 DL:2.8MiB ETA:16s]
Download: [#12079c 26MiB/74MiB(36%) CN:5 DL:2.6MiB ETA:17s]
Download: [#12079c 28MiB/74MiB(38%) CN:5 DL:2.5MiB ETA:18s]
Download: [#12079c 31MiB/74MiB(42%) CN:5 DL:2.4MiB ETA:17s]
Download: [#12079c 35MiB/74MiB(47%) CN:5 DL:2.5MiB ETA:15s]
Download: [#12079c 39MiB/74MiB(52%) CN:5 DL:2.4MiB ETA:14s]
Download: [#12079c 42MiB/74MiB(56%) CN:5 DL:2.4MiB ETA:13s]
Download: [#12079c 44MiB/74MiB(59%) CN:5 DL:2.2MiB ETA:13s]
Download: [#12079c 47MiB/74MiB(64%) CN:5 DL:2.2MiB ETA:11s]
Download: [#12079c 51MiB/74MiB(68%) CN:5 DL:3.0MiB ETA:7s]
Download: [#12079c 54MiB/74MiB(73%) CN:4 DL:3.1MiB ETA:6s]
Download: [#12079c 57MiB/74MiB(77%) CN:4 DL:3.1MiB ETA:5s]
Download: [#12079c 60MiB/74MiB(82%) CN:4 DL:3.2MiB ETA:4s]
Download: [#12079c 64MiB/74MiB(86%) CN:4 DL:3.1MiB ETA:3s]
Download: [#12079c 66MiB/74MiB(90%) CN:3 DL:3.1MiB ETA:2s]
Download: [#12079c 69MiB/74MiB(93%) CN:3 DL:3.0MiB ETA:1s]
Download: [#12079c 72MiB/74MiB(97%) CN:1 DL:3.0MiB]
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 12079c|OK  |   2.8MiB/s|C:/Users/myst/scoop/cache/spotify-latest#1.1.30.658.gf13cde74#https_download.spotify.com_SpotifyFullSetup.exe
Download: Status Legend:
Download: (OK):download completed.
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.spotify.com/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    77c953863c5882ba78796c192044cbea3841dbdab02a4b2b9237793991e17285
Actual:      0c34185f5521a0adb63f327ac15eeba88ab4a0f3d515a4045d1868dd0166cd8b

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%401.1.30.658.gf13cde74%3a+hash+check+failed

[email protected]: hash check failed

Updating 'spotify-latest' (1.1.34.694.gac68a2b3 -> 1.1.35.458.g891674f3)
Downloading new version
SpotifyFullSetup.exe (76.8 MB) [==============================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App: spotify/spotify-latest
URL: https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected: 7694b896b1e2984a4ab53ded1c8762f45786357dd46192a507dbd53534fb4789
Actual: f752d89788d1e82b03ae536d9191c0fff69fcb85cd103a56818adf9b9f35b982

if there is more stuff needed to be helpful, i gladly try to provide everything.

[email protected]: hash check failed

Hash check failed 3 times

Downloading new version
Downloading https://github.com/morpheusthewhite/spicetify-themes/archive/master.zip (-1 B)...

Checking hash of master.zip ... ERROR Hash check failed!
App:         spotify/spicetify-themes
URL:         https://github.com/morpheusthewhite/spicetify-themes/archive/master.zip
First bytes: 50 4B 03 04 0A 00 00 00
Expected:    ffbce9322415c471521bbf3769769c8afdee271cc27e50d0a0777ce9e123423c
Actual:      74dd0d2a7833a4b3b8cbaac8975bc349f2c929dabec68bcd507a70098ed2a8d7

Installer Error Code 24

I had the app running just fine, but then I restarted my machine, and all of a sudden when I try to open the app I get the Installer Error Code: 24. I saw that Spotify wanted to update the app (up in the right corner on the arrow icon) but I haven't touched that, since I figured it would break.

Now, after a restart I cannot open the app, since I am just getting this issue.

I have tried a scoop update spotify-latest without any success.

image

Hash check for spotify-latest fails, github-actions bot cannot reproduce

I previously opened #23, but the github-actions bot was unable to reproduce the hash check failure and therefore closed the issue. But I couldn't fix it, the issue persists. I tried:

scoop cache rm *
scoop cleanup *
scoop uninstall spotify-latest
scoop install spotify-latest

But I get the same error, still. Even after restarting my machine and retrying the above commands, I still get the wrong hash:

Expected: 5bd3ceba2a2e4769c3765d42e01ce87a22ce8cdeb908cd315e80ee7b92d8f57f
Actual: 8593986e6ca2807846644dbd0687663cb4d1f4620356ed4b19feec32bfa9fda0

I don't know why the bot was unable to reproduce the issue, but it still remains. Please fix it.

[email protected]: hash check failed

Here is my console output:

Installing 'spotify-latest' (1.1.33.569.gced9e0f5) [64bit]
SpotifyFullSetup.exe (74.7 MB) [========================================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    5abf27318a30c4d18ea2d68a558d063678c375e7978dce73990631099fbaaf05
Actual:      35ce7176234b5a050472f00e102fc50ab64ad8e96d53eff66f30f2217938723d

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%401.1.33.569.gced9e0f5%3a+hash+check+failed

I've tried to scoop update; scoop uninstall spotify-latest; scoop install spotify-latest but no luck.

[email protected]: hash check failed

> scoop update *
spotify-latest: 1.2.7.1277.g2b3ce637 -> 1.2.8.923.g4f94bf0d
Updating one outdated app:
Updating 'spotify-latest' (1.2.7.1277.g2b3ce637 -> 1.2.8.923.g4f94bf0d)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 677d8d|OK  |   9.5MiB/s|C:/Users/mkn/scoop/cache/spotify-latest#1.2.8.923.g4f94bf0d#https_download.scdn.co_SpotifyFullSetup.exe
Download: Status Legend:
Download: (OK):download completed.
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    84d09d341f412796e77587154eb81626c7067a856e2031d64583b6d9ec5ae8c4
Actual:      1b008a341397a43cc38ad20cbb3bb2f52d7ba91da0428f309c299da76bca20b3

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%401.2.8.923.g4f94bf0d%3a+hash+check+failed

[email protected]: hash check failed

scoop install spotify-latest
Installing 'spotify-latest' (1.1.38.558.g4b100958) [64bit]
SpotifyFullSetup.exe (77.4 MB) [==============================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App: spotify/spotify-latest
URL: https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected: ee2957008b72e044738bcbd4816fe32698ee361b9462556bad5354768707873a
Actual: 752f3b4b5e41cc7948ed8050099bdca1bb109a3b64d81292b1da3486a5a55e59

[email protected]: hash check failed

spotify-latest: 1.1.54.592.gc0b20638 -> 1.1.55.498.gf9a83c60
Updating one outdated app:
Updating 'spotify-latest' (1.1.54.592.gc0b20638 -> 1.1.55.498.gf9a83c60)
Downloading new version
SpotifyFullSetup.exe (83,3 MB) [==============================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App: spotify/spotify-latest
URL: https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected: c2fb3b05a0a06d02c7b3c6421eac4f5c0289d8c5a1b7c311ce4ebefcb8cc87ea
Actual: 1ee985b204757da46959aa95f0b44929b2150a5ba7b824391bab4f668cfce5d1

Spotify's built-in updater is **not** disabled

Maybe the cause which leads to #34. According to the Readme:

Spotify's built-in updater is disabled, and Scoop should be used to update it instead.

But I am asked to update within spotify:
screenshot 66

I have latest spotify via scoop installed (and no other plugins from this repo):

λ scoop list | grep ify
  spotify-latest 1.1.57.443.ga029a6c4 [spotify]

λ scoop update spotify-latest
spotify-latest: 1.1.57.443.ga029a6c4 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'

λ scoop status
Scoop is up to date.
Everything is ok!

There seems to be files from today after I opened Spotify a few hours ago:

λ ls -lah %LOCALAPPDATA%\Spotify\Update\
total 85M
drwxr-xr-x 1 Dionysius 197121   0 Apr 28 15:10 ./
drwxr-xr-x 1 Dionysius 197121   0 Apr 28 15:10 ../
-rwxr-xr-x 1 Dionysius 197121 85M Apr 28 15:10 spotify_installer-1.1.57.443.ga029a6c4-43.exe*
-rw-r--r-- 1 Dionysius 197121 172 Apr 28 15:10 update.json

λ date /T && time /T
28.04.2021
17:12

λ icacls %LOCALAPPDATA%\Spotify\Update\
C:\Users\Dionysius\AppData\Local\Spotify\Update\ NT-AUTORITÄT\SYSTEM:(I)(OI)(CI)(F)
                                                 VORDEFINIERT\Administratoren:(I)(OI)(CI)(F)
                                                 PC-Dionysius\Dionysius:(I)(OI)(CI)(F)

Successfully processed 1 files; Failed processing 0 files

don't mind I'm using unix-like commands from git-extensions

Extensions missing

i recently installed spicetify, but whenever i try to add a new theme it says
error Extension "newRelease.js" not found.
error Extension "queueAll.js" not found.

then, when I open the app, this is what happens when I load the theme

image
the font applies but not the color scheme or any of the formatting

error Cannot find symbol for Custom app React symbols

While applying a new theme coming from a new, fresh install under Windows 11 and scoop, I had this error:

❯ spicetify-apply
spicetify v2.5.0
info There is available backup.
info Clear current backup:
success Backup is cleared.
Backing up app files:
OK
Extracting:
OK
Preprocessing:
OK
OK
success Everything is ready, you can start applying now!
Copying raw assets:
OK
Overwriting themed assets:
OK
Transferring user.css:
OK
Applying additional modifications:
error Cannot find symbol for Custom app React symbols
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/khanhas/spicetify-cli/src/apply.insertCustomApp.func1(0xc001244000, 0x1bbaf7, 0x1bbaf7, 0xc001244000)
        D:/Code/spicetify-cli/src/apply/apply.go:180 +0xda6
github.com/khanhas/spicetify-cli/src/utils.ModifyFile(0xc00007c820, 0x42, 0xc0004259d8)
        D:/Code/spicetify-cli/src/utils/utils.go:190 +0xdb
github.com/khanhas/spicetify-cli/src/apply.insertCustomApp(0xc00007c820, 0x42, 0xc000580800, 0x25, 0x40, 0xc000042060, 0x1, 0x2, 0x101)
        D:/Code/spicetify-cli/src/apply/apply.go:155 +0x9e
github.com/khanhas/spicetify-cli/src/apply.AdditionalOptions(0xc0000c6340, 0x35, 0xc000580800, 0x25, 0x40, 0xc000042060, 0x1, 0x2, 0x101)
        D:/Code/spicetify-cli/src/apply/apply.go:34 +0x484
github.com/khanhas/spicetify-cli/src/cmd.Apply(0x12252d4, 0x5)
        D:/Code/spicetify-cli/src/cmd/apply.go:73 +0x598
main.main()
        D:/Code/spicetify-cli/spicetify.go:189 +0x519

and now spotify looks all black:
image

only a purge and a fresh install (without spicetify) does fix spotify after this happens.

[email protected]: hash check failed

Today, the hash check for spotify-latest version 1.1.45.621.gdddebadc failed.

  • The expected hash is: 5bd3ceba2a2e4769c3765d42e01ce87a22ce8cdeb908cd315e80ee7b92d8f57f
  • The actual hash is: 8593986e6ca2807846644dbd0687663cb4d1f4620356ed4b19feec32bfa9fda0

below is the console output:

Updating 'spotify-latest' (1.1.44.538.g8057de92 -> 1.1.45.621.gdddebadc)
Downloading new version
SpotifyFullSetup.exe (80,7 MB) [==============================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    5bd3ceba2a2e4769c3765d42e01ce87a22ce8cdeb908cd315e80ee7b92d8f57f
Actual:      8593986e6ca2807846644dbd0687663cb4d1f4620356ed4b19feec32bfa9fda0

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%401.1.45.621.gdddebadc%3a+hash+check+failed

Outdated spicetify-themes installer script

Since morpheusthewhite has changed the repo, the master branch is the old v2 branch, and the old master was moved to the legacy branch.
The install script for spicetify-themes is still trying to replace a font for the Elementary theme, which no longer exists for Spicetify v2.

Prefs is not created when using scoop to install spotify

I used scoop to install spotify and when I try to use spicetify backup
Its gives me this error

error C:\Users\user\scoop\apps\spotify-latest\current\prefs does not exist or is not a valid path. Please manually set "prefs_path" in config.ini to correct path of "prefs" file.

I tried searching for the prefs file in :\Users\user\scoop but it wasn't there.

[email protected]: hash check failed

Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App: spotify/spotify-latest
URL: https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected: 715a05026ee1dd6771f2b9d708bdfc25390fab1d139f9b6a660a37f63cba07a4
Actual: 8067c8dafde4ce9f065fa1079f2cee14ad97dab62f3901fb5569286371c88879

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%401.1.41.634.gc2c73ca7%3a+hash+check+failed

blockthespot stopped blocking and themes are getting overwritten by W10 high contrast theme

Today, after a scoop update of spotify-latest, I opened spotify and see that the Adapta-Nokto theme was being overwritten by my W10 high contrast theme and after playing a couple of songs the advertisements started. I've been using blockthespot + spicetify combo for some months now and not had any problem until today.
So I tried uninstalling everything --purge and reinstalling older versions of [email protected] and [email protected], but same results, no ad-blocking and no theme. so I checked the spotify version and even if I chose an older version when cliking on file-about the version is not the installed, but the laest, 1.1.57...
Anyone else? Any idea?
Thanks!

[email protected]: hash check failed

I've tried reinstalling it, here's my output:

$ scoop update                                                               
Updating Scoop...
Updating 'extras' bucket...
Updating 'games' bucket...
Updating 'janet-lang' bucket...
Updating 'main' bucket...
Updating 'nerd-fonts' bucket...
Updating 'nirsoft' bucket...
Updating 'spotify' bucket...
Scoop was updated successfully!
$ scoop uninstall spotify-latest                                            
ERROR 'spotify-latest' isn't installed.
$ scoop install spotify-latest                                                
Installing 'spotify-latest' (1.1.35.458.g891674f3) [64bit]
SpotifyFullSetup.exe (74.7 MB) [===========================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    7694b896b1e2984a4ab53ded1c8762f45786357dd46192a507dbd53534fb4789
Actual:      35ce7176234b5a050472f00e102fc50ab64ad8e96d53eff66f30f2217938723d

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%401.1.35.458.g891674f3%3a+hash+check+failed
$ scoop uninstall spotify-latest                                              
Uninstalling 'spotify-latest' (1.1.35.458.g891674f3).
'spotify-latest' was uninstalled.
$ scoop install spotify-latest                                               
Installing 'spotify-latest' (1.1.35.458.g891674f3) [64bit]
SpotifyFullSetup.exe (74.7 MB) [===========================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    7694b896b1e2984a4ab53ded1c8762f45786357dd46192a507dbd53534fb4789
Actual:      35ce7176234b5a050472f00e102fc50ab64ad8e96d53eff66f30f2217938723d

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%401.1.35.458.g891674f3%3a+hash+check+failed

spicetify-themes tiny-error

I've been getting this error for a while now:

[14:43:47]   ~ on ❯  scoop install spicetify-themes
Installing 'spicetify-themes' (2021-08-26T06.47.35) [64bit]
Loading master.zip from cache
Checking hash of master.zip ... ok.
Extracting master.zip ... done.
Running installer script...
Get-Content:
Line |
  16 |  (Get-Content "$env:USERPROFILE\.spicetify\Themes\Elementary\user.css" …
     |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\vanja\.spicetify\Themes\Elementary\user.css' because it does not exist.
InvalidOperation:
Line |
  16 |  (Get-Content "$env:USERPROFILE\.spicetify\Themes\Elementary\user.css" …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
Linking X:\Packages\Scoop\apps\spicetify-themes\current => X:\Packages\Scoop\apps\spicetify-themes\2021-08-26T06.47.35
'spicetify-themes' (2021-08-26T06.47.35) was installed successfully!

AND

[15:07:12]   ~\..\Themes on ❯  spicetify-apply
spicetify v2.5.0-itsmeow-patch4
info There is available backup.
info Clear current backup:
success Backup is cleared.
Backing up app files: OK
Extracting: OK
Preprocessing: OK
OK
success Everything is ready, you can start applying now!
Copying raw assets: OK
Overwriting themed assets: OK
Transferring user.css: OK
Applying additional modifications: OK
Transferring extensions:
error Extension "newRelease.js" not found.
error Extension "queueAll.js" not found.
error Extension "newRelease.js" not found.
error Extension "queueAll.js" not found.
OK
success Spotify is spiced up!

Hash check failed

Hello,

I tried to install spotify-latest, but I get the hash check failed error. When I run scoop update -s spotify-latest as you state in the README, but then I have to run the spotify installer my self from scoop\apps\spotify-latest, and I don't think that is how it should be?

The error log:

Installing 'spotify-latest' (1.1.48.625.g1c87c7f7) [64bit]
SpotifyFullSetup.exe (81.8 MB) [==============================================================================] 100%
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    9eecab4a43a6c4de66643a84977eb29f95d450ac068f2e0bd77e49f3970ed898
Actual:      02b3f3bdc7a1bd6dec822a73c8d12d5cdfa9ed76385c6fd33148d786801c90d4

Spicetify-cli: Some scripts are not recognised as cmdlet, scripts, ...

When I first installed and later updated this bucket through scoop, I got this error message:

The term: init-spicetify-config-and-apply.ps1 is not recognized as a name of a cmdlet, function, script ...

Basically it's not in path, and failed the rest of the installation process.

It seems that all the scripts from this bucket's scripts folder are not copied into where spicetify-cli is installed. I did a manually fix by copying all scripts into where it's needed, but each update is troublesome. So I submit a new issue.
This error may happened because there is another bucket (main) which also contains spicetify-cli, and this line in your spicetify-cli:

      "installer": {
        "script": [
            "...",
            "$null, $bucket = find_manifest($app)", <---
            "$bucketdir = Find-BucketDirectory($bucket)",
           "...", 
        ]
      } 

Without find_manifest($app, $bucket) specifying which bucket, it's set to default as main bucket, whose script folder does not contains necessary scripts like init-spicetify-config-and-apply.ps1, spicetify-apply.ps1, ... and the following line

    @(all the scripts) | ForEach-Object { Copy-Item "..." } ;

fail, never made it into spicetify-cli installation directory.
I suggest changing that line into

    "$null, $bucket = find_manifest $app 'spotify'",

as

     find_manifest($app, 'spotify'),

both will be passed as array into $app param.
I'm sorry for the verbosity, hope this help anyone who encounter the same problem as I did.

Error when installing spotify

I am having trouble installing spotify through this bucket. It appears that my %localappdata%\Spotify and the folder inside it Update are created by the scoop installation but inaccessible by my only user (admin) account on Windows 10. I have to take ownership in an administrator powershell window to be able to delete the folders

system32 $ RD "C:\Users\Username\AppData\Local\Spotify"
system32 $ takeown /F "C:\Users\Username\AppData\Local\Spotify"  /A /R /D Y

When trying to install I get this

~ $ scoop info spotify-latest
Name: spotify-latest
Description: Digital music service.
Version: 1.1.33.569.gced9e0f5
Website: https://www.spotify.com/
License: Freeware (https://www.spotify.com/au/legal/end-user-agreement/)
Manifest:
  C:\Users\Username\scoop\buckets\spotify\bucket\spotify-latest.json
Installed: No
Binaries:
  Spotify.exe
Notes
-----
--purge should be used to fully uninstall this package.
~ $  scoop install spotify-latest
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
Installing 'spotify-latest' (1.1.33.569.gced9e0f5) [64bit]
Loading SpotifyFullSetup.exe from cache.
Checking hash of SpotifyFullSetup.exe ... ok.
Running installer script...
Start-Process : A positional parameter cannot be found that accepts argument '"'.
At line:12 char:1
+ Start-Process -Wait "$dir\SpotifyFullSetup.exe" -ArgumentList '/extra ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Start-Process], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand

C:\Users\Username\AppData\Local\Spotify\*: The system cannot find the path specified.
Linking ~\scoop\apps\spotify-latest\current => ~\scoop\apps\spotify-latest\1.1.33.569.gced9e0f5
Creating shim for 'Spotify'.
Can't shim 'Spotify.exe': File doesn't exist.
~ $ scoop info spotify-latest
Name: spotify-latest
Description: Digital music service.
Version: 1.1.33.569.gced9e0f5
Website: https://www.spotify.com/
License: Freeware (https://www.spotify.com/au/legal/end-user-agreement/)
Manifest:
  C:\Users\Username\scoop\buckets\main\bucket\spotify-latest.json
Installed:
  C:\Users\Username\scoop\apps\spotify-latest\1.1.33.569.gced9e0f5
Binaries:
  Spotify.exe
Notes
-----
--purge should be used to fully uninstall this package.
~ $

[email protected]: hash check failed

Download: Status Legend:
Download: (OK):download completed.
Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App: spotify/spotify-latest
URL: https://download.scdn.co/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected: 715a05026ee1dd6771f2b9d708bdfc25390fab1d139f9b6a660a37f63cba07a4
Actual: 8067c8dafde4ce9f065fa1079f2cee14ad97dab62f3901fb5569286371c88879

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.