github

amd64fox / SpotX

  • воскресенье, 17 июля 2022 г. в 00:34:37
https://github.com/amd64fox/SpotX


Blocking ads and updates for the desktop version of Spotify, disabling podcasts and something else.



Modified Spotify Client for Windows

System requirements

  • OS: Windows 7-11
  • Spotify: Recommended official version 1.1.89.862
  • For Windows Desktop only (Microsoft store version is not suitable).
  • PowerShell: 3 or higher

Features

Fast installation / Update

Choose installation type:

Usual installation

During installation, you need to confirm some actions, also contains:

or

  • Run The following command in PowerShell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | iex
Automated basic installation

Automated basic installation without confirmation, what does it do?

  • Automatic removal of Spotify MS if it was found
  • Automatic installation of the recommended version of Spotify (if another client has already been found, it will be installed over)
  • After the installation is completed, the client will autorun

or

  • Run The following command in PowerShell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) } -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_on -cache_off -block_update_off -exp_off -start_spoti"
Automatic full installation

Automatic installation without confirmation, what does it do?

  • Automatic removal of Spotify MS if it was found
  • Automatic installation of the recommended version of Spotify (if another client has already been found, it will be installed over)
  • Removal of podcasts from the main page
  • Automatic blocking of Spotify updates
  • All experimental features included
  • After the installation is completed, the client will autorun.

or

  • Run The following command in PowerShell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) } -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_off -cache_off -block_update_on -start_spoti"
Installation for premium

Usual installation only without ad blocking, for those who have a premium account, also contains:

or

  • Run The following command in PowerShell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) } -premium"
Installing with parameters

You can specify various parameters for a more flexible installation, more details here

Uninstall

or

Possible problems

In most cases, this helps solve problems.

If you notice an error or other malfunction in the mod or in its installation, then do not rush to create a problem report, try this couple of simple steps, this helps to solve a large number of different bugs:

  • Completely remove Spotify so that there are no tails from the old versions of the client, this patch will do it for you in one click.
  • Also, as an additional measure, look at your host file, it should not contain different URLs that can cause the client to work incorrectly, even if you are sure that you did not add anything to it, then go into it anyway and check it for sure, since Some ad blockers that you may have used in the past may have added entries to the host file automatically without your consent. To quickly open the host file, press Win + R and enter %WinDir%\System32\Drivers\Etc\hosts, in order for the system to allow you to edit the file, you need to open it as an administrator.
  • If you still see errors, then install the original client and check this error there, if the error is present in the original client, then here you need to wait for a fix from the Spotify developers. To expedite resolution of a problem in the original client, please create a problem report on their support forum. In the meantime, you are waiting for a fix, you can temporarily return to the previous version of Spotify that worked for you and block updates in it, this instruction will help you with this.
Outdated versions of PowerShell

If you are using Windows 7, there may be errors in the installation process due to an outdated version of NET Framework and PowerShell. Do the following:

How do I go back to the previous version of the client ?

If you have problems with the patch after upgrading the client version, then use this tool to revert back to the working version.

Additional Notes

  • The repository is based on BlockTheSpot, and also some tricks were taken from spicetify-cli, many thanks to the contributors
  • SpotX will only work correctly on the latest versions of Spotify, please make sure of this before asking a question.
  • The modifiable files are replaced by the Spotify installer every time it is updated, so you will need to apply the patch again when this happens.
  • SpotX will be installed even if you are using Spicetify, but you may need to run Install.bat again after running the spicetify apply or other commands.