Skip to content

This project is a PowerShell script for automatically installing Spotify and Spicetify along with some useful extensions.

License

Notifications You must be signed in to change notification settings

MBNpro-ir/All-in-one-spotify

Repository files navigation

This project is a PowerShell script for automatically installing Spotify and Spicetify along with some useful extensions.

image

Features

  • Automatic installation of Spotify
  • Installation of Spicetify CLI
  • Configuration of Spicetify extensions

Requirements

  • PowerShell 5.0 or higher
  • Internet access to download the software

How to Use

  1. Download the install_spotify.ps1 file.
  2. Right-click the install_spotify.ps1 file and select Run with PowerShell. (Be sure its NOT running as administrator.)
  3. Select your desired options from the displayed menu.
  4. download the Spotify marketplace configs.json file and import it to Marketplace Settings after you install Spicetify. This file includes premium features that can be only enable on premium account.

How to Use On Windows 11?

In windows 11 there is an issue in PowerShell that occurs when script execution is restricted due to the system's execution policy. By default, Windows applies an execution policy that prevents untrusted scripts from running to protect system security. The error message typically looks like this:

File C:\path\to\script.ps1 cannot be loaded because running scripts is disabled on this system.

Why does this happen?

This happens because of the Execution Policy settings in PowerShell. The execution policy determines what kinds of scripts can run and under what conditions. Common execution policy modes are:

  1. Restricted (default): No scripts are allowed to run.
  2. AllSigned: Only scripts with a valid digital signature can run.
  3. RemoteSigned: Local scripts run without a signature, but scripts downloaded from the internet require a signature.
  4. Unrestricted: All scripts are allowed to run, but you'll get a warning for those downloaded from the internet.
  5. Bypass: No restrictions; everything can run.

How to resolve the issue?

To change the execution policy, you can use the Set-ExecutionPolicy command. Follow these steps:

  1. Open PowerShell as Administrator.

  2. Run one of the following commands based on your needs:

    • USE THIS LINE !!!! - To allow all scripts (not secure, recommended only for testing or personal use):

      Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
    • To allow safer scripts:

      Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  3. If prompted for confirmation, type A and If prompted for Install.all.in.one.ps1, type R.

Check the current policy

To see the current Execution Policy settings, use this command:

Get-ExecutionPolicy -List

Spotify.marketplace.configs.json

  1. image
  2. image
  3. image
  4. image
  5. image

Security Tips

  • Always use RemoteSigned or AllSigned policies unless you're in a testing environment.
  • If you set the policy to Unrestricted, remember to revert it to a safer policy after completing your work.

Problems :

If spotify shows a black screen, on the taskbar right click on spotify and on the Troubleshooting section click reload.(This is spicetify bug)

image

About

This project is a PowerShell script for automatically installing Spotify and Spicetify along with some useful extensions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published