49 Commits
1.2 ... 1.4

Author SHA1 Message Date
amd64fox
61738f2e35 Update
- migration to Spotify version 1.1.92.647
 - added to the settings cleaning downloaded tracks and cache
 - fixed minor bugs and link paths
2022-08-16 14:39:11 +03:00
amd64fox
5d9acf57e2 Update bug report and fix no_shortcut
- added a question about the country of the account
 - fix no_shortcut
2022-08-14 18:41:13 +03:00
amd64fox
95aeeeb745 Without shortcut on desktop
- Added an incoming parameter (no_shortcut) that installs SpotX without a desktop shortcut https://github.com/amd64fox/SpotX/issues/108
2022-08-14 17:37:32 +03:00
amd64fox
8b168815c7 device picker unlock
- device picker unlock added for everyone https://github.com/amd64fox/SpotX/issues/93
2022-08-14 14:27:04 +03:00
amd64fox
03c677ca14 Add Translation
- added Polish Translation (thanks @Nokxixr) https://github.com/amd64fox/SpotX/issues/110
 -  added Georgian Translation  (thanks @Naviamold1) https://github.com/amd64fox/SpotX/issues/106
2022-08-14 14:14:32 +03:00
amd64fox
4c424794c4 Array sort error 2022-08-04 20:14:13 +03:00
amd64fox
1999acb1f1 Invalid environment variable
- Fixed incorrect PowerShell environment variable if launched from a bat file (Thanks @fastnicky69) https://github.com/amd64fox/SpotX/issues/101
2022-08-04 16:20:27 +03:00
amd64fox
669e0ced59 Update *.yml translation 2022-08-03 16:04:00 +03:00
amd64fox
0f42f1be40 Turkish translation added
- Added Turkish translation of the installer (Thanks @metezd) https://github.com/amd64fox/SpotX/issues/99
2022-08-02 16:53:24 +03:00
amd64fox
1bd9d25a65 fix connect unlock test 2022-08-02 12:37:28 +03:00
amd64fox
fcc3861d91 connect unlock test
- connect unlock test for 1.1.91
2022-08-02 11:50:26 +03:00
amd64fox
9586c6245d Update installer-new-translation.yml 2022-08-01 23:00:59 +03:00
amd64fox
0e99522557 update
- added automatic substitution of stars in the string
 - minor translation fixes
2022-08-01 22:52:19 +03:00
amd64fox
273ce14d7d Added Italian translation
- added Italian translation for installer (Thanks to @francescoaracu)
 - typos in translation corrected
2022-08-01 19:00:08 +03:00
amd64fox
f17e4f58b2 fix regex 2022-07-30 20:05:05 +03:00
amd64fox
53d718dc13 Update
- migration to Spotify version 1.1.91.824
 - ru translation fix
 - minor code fixes and typos
2022-07-30 19:48:38 +03:00
amd64fox
f8c7603c44 typo 2022-07-28 17:37:05 +03:00
amd64fox
240fd91559 fix installer translation 2022-07-28 17:20:55 +03:00
amd64fox
7345add4a1 Merge branch 'main' of https://github.com/amd64fox/SpotX 2022-07-28 17:16:50 +03:00
amd64fox
54ac38ff57 fix idea.yml 2022-07-28 17:16:43 +03:00
amd64fox
3865d7cab7 Update README.md 2022-07-28 17:08:09 +03:00
amd64fox
96d629e4b5 Update README.md 2022-07-28 17:07:55 +03:00
amd64fox
e6c06a89bb Update
- added FAQ
 - added forms yml
 - added "Report incorrect translations"
2022-07-28 17:03:10 +03:00
amd64fox
6d9930c7cd translation fix 2022-07-26 13:25:04 +03:00
amd64fox
e4bb370065 curl exception
- added exception for web request via curl
 - minor translation fixes
2022-07-26 13:10:57 +03:00
amd64fox
754413f760 Fixed bug
- fixed bug when deleting Ms Spotify (Thanks Ziad)
2022-07-22 07:27:32 +03:00
amd64fox
684f97c1f9 Added screenshot for enablenavalt 2022-07-22 05:14:14 +03:00
amd64fox
6786d4b1c1 fix enablenavalt
- fix error in enablenavalt input parameter
2022-07-22 04:22:34 +03:00
amd64fox
937acf8eb5 Del spotify.bak
- Deleting a possibly outdated copy of spotify.bak
2022-07-21 21:46:07 +03:00
amd64fox
a32f1a89fe Update
- up 1.1.90.859
 - improved algorithm for restoring files when refusing to re-block updates
2022-07-21 20:13:39 +03:00
amd64fox
51695f87d1 typo 2022-07-21 10:40:06 +03:00
amd64fox
9e7ec8f6fb hosts backup
- create a backup before changing the hosts file
2022-07-21 10:30:39 +03:00
amd64fox
93127b1376 fix regex 2022-07-21 09:40:50 +03:00
amd64fox
96ceebda0c fix regex
Fixing a bug where the script deleted commented lines in the hosts file (Thanks Bec-de-Xorbin)
2022-07-21 09:22:41 +03:00
amd64fox
a02860d3dd exp_off => exp_spotify
- changing the name of the input parameter from exp_off to exp_spotify
2022-07-21 08:33:41 +03:00
amd64fox
e79382186e Fix error in condition
- Fix error in condition when restoring files in reinstallation of Spicetify
2022-07-21 04:57:15 +03:00
amd64fox
0b8a0dc57e cutt
- removing translation strings
 - comment added
2022-07-20 08:49:34 +03:00
amd64fox
02b0664913 fix Install_Basic
- fixation standard Spotify features
2022-07-19 23:44:41 +03:00
amd64fox
fb05aa948f Fix links 2022-07-19 15:28:07 +03:00
amd64fox
ef040003d3 added cutt statistics 2022-07-19 14:52:42 +03:00
amd64fox
d9f024b6f1 new search enabled by default
Function has moved more into the main functionality of the client (outdated)
2022-07-19 14:21:59 +03:00
amd64fox
12125fd9cb Merge branch 'main' of https://github.com/amd64fox/SpotX 2022-07-19 14:16:17 +03:00
amd64fox
061c418e6d Update
- migration to Spotify version 1.1.90.855
 - added to Scoop installer (Thanks to NeoFoxxo)
 - equalizer activated
 - new device picker panel activated
 - updated incoming parameters
 - edits in the Russian translation of Spotify
 - code reduction and correction

Co-Authored-By: NeoFoxxo <104744179+NeoFoxxo@users.noreply.github.com>
2022-07-19 14:16:07 +03:00
amd64fox
9d819c031e Merge pull request #83 from NeoFoxxo/main
added how to install spotx via scoop
2022-07-19 13:37:00 +03:00
amd64fox
daa382dfe7 minor edits 2022-07-19 13:36:32 +03:00
NeoFoxxo
97617cce03 added how to install via scoop 2022-07-19 09:51:57 +10:00
amd64fox
b70c0cb4c0 fix the hosts file
- Attempt to fix the hosts file https://github.com/amd64fox/SpotX/issues/52
2022-07-15 06:58:41 +03:00
amd64fox
259580f704 typo 2022-07-14 07:54:29 +03:00
amd64fox
133f2c0c97 Cleanup readme, simplifying install.bat 2022-07-14 07:15:36 +03:00
21 changed files with 972 additions and 568 deletions

View File

@@ -1,33 +0,0 @@
---
name: ❌ Bug report
about: Create a report to help us improve
title: ''
labels: ❌ bug
assignees: ''
---
## Computer information
- Spotify version:
- Plan Spotify: free or premium
- Windows version:
- PowerShell version:
- Spicetify installed: yes or no
## 📝 Description of the problem
1.
2.
3.
## 📷 Screenshots
<details>
<summary><small>Screenshot</small></summary><p>
![test_screen](https://user-images.githubusercontent.com/62529699/149568115-36120440-1799-4b1b-80d5-06df10da5ec4.png)
</small></summary><p>
</details>

94
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,94 @@
name: ❌ Bug report
description: Report errors or unexpected behavior
labels: ❌ bug
body:
- type: checkboxes
attributes:
label: 🧐 Have you read the FAQ and viewed similar issues?
description: Please read the <a href="https://github.com/amd64fox/SpotX/discussions/111">FAQ</a>. Also check the open and closed <a href="https://github.com/amd64fox/SpotX/issues">issue</a> because your issue may have already been fixed.
options:
- label: I have read the FAQ
required: true
- label: I have checked older issues, open and closed
required: true
- label: I did a clean install of SpotX as <a href="https://github.com/amd64fox/SpotX/discussions/111#discussion-4304353">described in the FAQ</a>
required: true
- type: markdown
attributes:
value: "###"
- type: input
id: lang_spoti
attributes:
label: Сountry of your account
description: You can view your country on your account page, in paragraph <a href="https://www.spotify.com/account/">Country or region</a>.
placeholder: "e.g. Ukraine"
validations:
required: true
- type: markdown
attributes:
value: "###"
- type: dropdown
id: plan
attributes:
label: What is your Spotify Plan?
description: You can view your plan on your account page, under <a href="https://www.spotify.com/account/">Your plan</a>.
options:
- Free
- Premium
validations:
required: true
- type: markdown
attributes:
value: "###"
- type: dropdown
id: spicetify
attributes:
label: Do you have Spicetify installed?
description: <a href="https://spicetify.app/">Spicetify</a> is a command line tool to customize Spotify client.
options:
- "Yes"
- "No"
validations:
required: true
- type: markdown
attributes:
value: "###"
- type: textarea
attributes:
label: Computer information
description: |
- Spotify: e.g. <kbd>1.1.90.859.gf1bb1e36</kbd>
- In the open Spotify client in the upper left corner, click <kbd>•••</kbd> → <kbd>Help</kbd> → <kbd>About Spotify</kbd>
- Windows: e.g. <kbd>Windows 11 21H2 22000.527</kbd>
- Press <kbd>Win</kbd> + <kbd>Pause/Break</kbd> to open the page to copy from.
- PowerShell: e.g. <kbd>5.1.19041.1200</kbd>
- In the Windows PowerShell console, type the following command <kbd>Get-Host | Select-Object Version</kbd>
placeholder: |
- Spotify:
- Windows:
- PowerShell:
value: |
- Spotify:
- Windows:
- PowerShell:
render: markdown
validations:
required: true
- type: textarea
attributes:
label: 📝 Description
description: List steps to reproduce the error and details on what happens and what you expected to happen.
value: |
1.
2.
3.
...
validations:
required: true
- type: textarea
attributes:
label: 📸 Screenshots
description: Place any screenshots of the issue here if needed
validations:
required: false

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: ✏️ FAQ
url: https://github.com/amd64fox/SpotX/discussions/111
about: Read the frequently asked questions, maybe it will help solve your problem right now.

View File

@@ -1,25 +0,0 @@
---
name: 💡 To suggest an idea
about: Suggest an idea for this project
title: ''
labels: 💡 enhancement
assignees: ''
---
## 📝 Description of the idea
1.
2.
3.
## 📷 Screenshots
<details>
<summary><small>Screenshot</small></summary><p>
![test_screen](https://user-images.githubusercontent.com/62529699/149568115-36120440-1799-4b1b-80d5-06df10da5ec4.png)
</small></summary><p>
</details>

20
.github/ISSUE_TEMPLATE/idea.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: 💡 To suggest an idea
description: Suggest a new feature or improvement
labels: 💡 enhancement
body:
- type: textarea
attributes:
label: Description of the new feature / enhancement
description: A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable)
value: |
- 1
- 2
- 3
validations:
required: true
- type: textarea
attributes:
label: 📸 Screenshots
description: Place any screenshots of the issue here if needed
validations:
required: false

View File

@@ -0,0 +1,96 @@
name: 🌐 Installer translation
description: Translate the installer into your language
labels: 🌐 New translation
body:
- type: input
id: lang
attributes:
label: What language do you want to translate into?
description: Also note the already added languages in the <a href="https://github.com/amd64fox/SpotX/discussions/60">Language parameters</a> section
placeholder: e.g. English
validations:
required: true
- type: input
id: langpowershell
attributes:
label: Enter language name in PowerShell
description: Enter the following command in the PowerShell terminal <kbd>$PSUICulture.Remove(2)</kbd>, write the answer in the line below. For this to work, your Windows must be in this language.
placeholder: e.g. en
validations:
required: true
- type: textarea
attributes:
label: 📝 Translation strings
description: |
Now you can start translating strings, a few notes before you start:
- Translation strings start after an equals sign and are enclosed in quotation marks
- There are variables before the equal sign, they do not need to be translated.
- Also, if you come across characters <kbd>{0}</kbd>, <kbd>{1}</kbd>, <kbd>[Y/N]</kbd> or file names, then just skip them.
Good luck to you.
value: |
Author = "Patch author:"
Author2 = "@Amd64fox"
TranslationBy = "Translation author:"
TranslationBy2 = "@"
Incorrect = "Oops, an incorrect value,"
Incorrect2 = "enter again through "
Download = "Error downloading"
Download2 = "Will re-request in 5 seconds..."
Download3 = "Error again"
Download4 = "Check your network settings and run the installation again"
Download5 = "Downloading Spotify"
StopScrpit = "Script is stopped"
MsSpoti = "The Microsoft Store version of Spotify has been detected which is not supported"
MsSpoti2 = "Uninstall Spotify Windows Store edition [Y/N]"
MsSpoti3 = "Automatic uninstalling Spotify MS..."
MsSpoti4 = "Uninstalling Spotify MS..."
Prem = "Modification for premium account..."
OldV = "Found outdated version of Spotify"
OldV2 = "Your Spotify {0} version is outdated, it is recommended to upgrade to {1}"
OldV3 = "Want to update ? [Y/N]"
AutoUpd = "Automatic update to the recommended version"
DelOrOver = "Do you want to uninstall the current version of {0} or install over it? Y [Uninstall] / N [Install Over]"
DelOld = "Uninstalling old Spotify..."
NewV = "Unsupported version of Spotify found"
NewV2 = "Your Spotify {0} version hasn't been tested yet, currently it's a stable {1} version"
NewV3 = "Do you want to continue with {0} version (errors possible) ? [Y/N]"
Recom = "Do you want to install the recommended {0} version ? [Y/N]"
DelNew = "Uninstalling an untested Spotify..."
DownSpoti = "Downloading and installing Spotify"
DownSpoti2 = "Please wait..."
PodcatsOff = "Off Podcasts"
PodcastsOn = "On Podcasts"
PodcatsSelect = "Do you want to disable podcasts from the main page? [Y/N]"
DowngradeNote = "It is recommended to block because there was a downgrade of Spotify"
UpdBlock = "Spotify updates blocked"
UpdUnblock = "Spotify updates are not blocked"
UpdSelect = "Want to block Spotify updates? [Y/N]"
CacheOn = "Clear cache enabled ({0})"
CacheOff = "Clearing the cache is not enabled"
CacheSelect = "Want to set up automatic cache cleanup? [Y/N]"
CacheDays = "Cache older: XX days to be cleared "
CacheDays2 = "Enter the number of days from 1 to 100"
NoVariable = "Didn't find variable"
NoVariable2 = "in xpui.js"
NoVariable3 = "in licenses.html"
NoVariable4 = "in html"
ModSpoti = "Patching Spotify..."
Error = "Error"
FileLocBroken = "Location of Spotify files is broken, uninstall the client and run the script again"
Spicetify = "Spicetify detected"
NoRestore = "SpotX has already been installed, but files to recover xpui.js.bak and xpui.css.bak not found. `nPlease uninstall Spotify client and run Install.bat again"
ExpSpotify = "Experimental features operated by Spotify"
ExpStandart = "Experimental features of SpotX are not included"
NoRestore2 = "SpotX has already been installed, xpui.bak not found. `nPlease uninstall Spotify client and run Install.bat again"
UpdateBlocked = "Spotify updates are already blocked"
UpdateError = "Failed to block updates"
NoSpotifyExe = "Could not find Spotify.exe"
InstallComplete = "installation completed"
HostInfo = "Unwanted URLs found in hosts file"
HostBak = "Backing up hosts.bak..."
HostDel = "Trying to remove unwanted URLs from the original hosts file..."
HostError = "Something went wrong while editing the hosts file, edit it manually or run the script as administrator"
render: txt
validations:
required: true

View File

@@ -1,87 +0,0 @@
---
name: 🌏 Installer translation
about: Translate the installer into your language
title: Translation for [Write here your translation language]
labels: 🌏 New translation
assignees: ''
---
## 📝 Features translation
Before you start translating, you need to know how your language is called in powershell, for this you need Windows with this default language, enter the following command in the powershell terminal :
```ps1
$PSUICulture.Remove(2)
```
- Translation language powershell: *Enter here what you received in powershell*
Then you can start translating lines, they start after the equal sign.
It is important that you do not need to translate before the equal sign, these are variables.
Also, if you come across characters {0}, {1} or file names, then just skip them.
Good luck to you.
## 📝 Translation strings
```txt
Author = "Author:"
Incorrect = "Oops, an incorrect value,"
Incorrect2 = "enter again through "
CuttError = "Request error in cutt"
Download = "Error downloading"
Download2 = "Will re-request in 5 seconds..."
Download3 = "Error again"
Download4 = "Try to check your internet connection and run the installation again"
Download5 = "Downloading Spotify"
StopScrpit = "Script is stopped"
MsSpoti = "The Microsoft Store version of Spotify has been detected which is not supported"
MsSpoti2 = "Uninstall Spotify Windows Store edition [Y/N]"
MsSpoti3 = "Automatic uninstalling Spotify MS..."
MsSpoti4 = "Uninstalling Spotify MS..."
Prem = "Modification for premium account..."
DownBts = "Downloading latest patch BTS..."
OldV = "Found outdated version of Spotify"
OldV2 = "Your Spotify {0} version is outdated, it is recommended to upgrade to {1}"
OldV3 = "Want to update ? [Y/N]"
AutoUpd = "Automatic update to the recommended version"
DelOrOver = "Do you want to uninstall the current version of {0} or install over it? Y [Uninstall] / N [Install Over]"
DelOld = "Uninstalling old Spotify..."
NewV = "Unsupported version of Spotify found"
NewV2 = "Your Spotify {0} version hasn't been tested yet, currently it's a stable {1} version"
NewV3 = "Do you want to continue with {0} version (errors possible) ? [Y/N]"
Recom = "Do you want to install the recommended {0} version ? [Y/N]"
DelNew = "Uninstalling an untested Spotify..."
DownSpoti = "Downloading and installing Spotify"
DownSpoti2 = "Please wait..."
PodcatsOff = "Off Podcasts"
PodcastsOn = "On Podcasts"
PodcatsSelect = "Want to turn off podcasts ? [Y/N]"
DowngradeNote = "It is recommended to block because there was a downgrade of Spotify"
UpdBlock = "Updates blocked"
UpdUnblock = "Updates are not blocked"
UpdSelect = "Want to block updates ? [Y/N]"
CacheOn = "Clear cache enabled ({0})"
CacheOff = "Clearing the cache is not enabled"
CacheSelect = "Want to set up automatic cache cleanup? [Y/N]"
CacheDays = "Cache older: XX days to be cleared "
CacheDays2 = "Enter the number of days from 1 to 100"
NoVariable = "Didn't find variable"
NoVariable2 = "in xpui.js"
NoVariable3 = "in licenses.html"
NoVariable4 = "in html"
ModSpoti = "Patching Spotify..."
Error = "Error"
FileLocBroken = "Location of Spotify files is broken, uninstall the client and run the script again"
Spicetify = "Spicetify detected"
NoRestore = "SpotX has already been installed, xpui.js and xpui.css not found. `nPlease uninstall Spotify client and run Install.bat again"
ExpOff = "Experimental features disabled"
NoRestore2 = "SpotX has already been installed, xpui.bak not found. `nPlease uninstall Spotify client and run Install.bat again"
UpdateBlocked = "Spotify updates are already blocked"
UpdateError = "Failed to block updates"
NoSpotifyExe = "Could not find Spotify.exe"
InstallComplete = "installation completed"
```

View File

@@ -0,0 +1,35 @@
name: "🌐 Localization/Translation issue"
description: Report incorrect translations.
labels: 🌐 Fix translation
body:
- type: dropdown
id: langselect
attributes:
label: 🌐 Select language
options:
- English
- Russian
- Italian
- Turkish
- Georgian
- Polish
validations:
required: true
- type: textarea
attributes:
label: ❌ Actual phrase(s)
placeholder: What is there? Please include a screenshot as that is extremely helpful.
validations:
required: true
- type: textarea
attributes:
label: ✔️ Expected phrase(s)
placeholder: What was expected?
validations:
required: true
- type: textarea
attributes:
label: Why is the current translation wrong
placeholder: Why do you feel this is incorrect?
validations:
required: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
.github/Pic/Excremental-fun/Navalt.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

1
.github/Pic/Shields/faq.svg vendored Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="61" height="20" role="img" aria-label="FAQ: "><title>FAQ: </title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="61" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="50" height="20" fill="#555"/><rect x="50" width="11" height="20" fill="#dfb317"/><rect width="61" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" xlink:href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZEMDAwIiByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+SGVscERlc2s8L3RpdGxlPjxwYXRoIGQ9Ik0xMiAxMC43MWw2LjEyLTUuMzFIMTJjLTIuMTYgMC00LjMyLjA2LTYuMzYuMjEtLjg0LjA2LTEuNS42OS0xLjU2IDEuNTMtLjEyIDEuMjYtLjE4IDIuODUtLjE4IDQuNDF2Ljg3YzAgMS41OS4wNiAzLjE1LjE4IDQuNDEuMDkuODEuNzUgMS40NyAxLjU2IDEuNWE5MCA5MCAwIDAwMTIuNzIgMGMuODEtLjAzIDEuNS0uNjkgMS41Ni0xLjUuMDktMS4yLjE1LTIuNjcuMTgtNC4xN0wyNCA5LjNWMTIuNjZjMCAxLjU5LS4wNiAzLjE4LS4xOCA0LjQ3YTUuNTcgNS41NyAwIDAxLTUuMTkgNS4xYy0yLjEzLjE4LTQuMzguMjctNi42My4yN3MtNC41LS4wOS02LjYzLS4yNGE1LjU3IDUuNTcgMCAwMS01LjE5LTUuMUMuMDYgMTUuODEgMCAxNC4xMyAwIDEyLjQ1di0uODdDMCA5LjkuMDYgOC4yMi4xOCA2Ljg0YTUuNTcgNS41NyAwIDAxNS4xOS01LjFDNy41IDEuNTkgOS43NSAxLjUgMTIgMS41aDEydjMuOUwxMiAxNS44MWwtNS42MS00Ljg2TDkuMzMgOC40eiIvPjwvc3ZnPg=="/><text aria-hidden="true" x="345" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="230">FAQ</text><text x="345" y="140" transform="scale(.1)" fill="#fff" textLength="230">FAQ</text></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,73 +1,6 @@
@echo off
Setlocal EnableDelayedExpansion
set "exec=powershell $PSVersionTable.PSVersion.major"
for /f %%i in ('%exec%') do set ps-v=%%i 2>nul
if %ps-v% LEQ 2 (
Echo Powershell %ps-v%is not supported
@echo.
Echo Please read the instruction "Outdated versions of PowerShell" at the following link
@echo.
Echo "https://github.com/amd64fox/SpotX#possible-problems"
@echo.
pause
exit
)
curl -V >nul 2>&1
if %errorlevel% EQU 9009 (
echo "Curl" command line utility not found
@echo.
echo Please follow the link, download and install "Curl" manually
@echo.
echo "http://www.confusedbycode.com/curl/#downloads"
@echo.
pause
exit
)
for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul
if %STATUS_CODE% EQU 200 (
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}"
)
if %STATUS_CODE% LSS 1 (
echo No network connection
@echo.
echo Trying to reconnect via...
TIMEOUT /T 5
cls
for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul
if "!STATUS_CODE!" EQU "200 " (
cls
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}"
) else (
echo Error again
@echo.
echo Check your internet connection
@echo.
echo Script stopped
@echo.
pause
exit
)
)
if %STATUS_CODE% GTR 100 if not %STATUS_CODE% EQU 200 (
echo Failed to connect to github.com
@echo.
echo HTTP response code %STATUS_CODE%
@echo.
echo Trying to reconnect via...
TIMEOUT /T 5
cls
for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul
if "!STATUS_CODE!" EQU "200 " (
cls
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}"
) else (
echo Error again
@echo.
echo Try to run after some time
@echo.
echo Script stopped
@echo.
)
)
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}"
pause
exit /b

File diff suppressed because it is too large Load Diff

134
README.md
View File

@@ -6,13 +6,15 @@
<a href="https://t.me/spotify_windows_mod"><img src="https://raw.githubusercontent.com/amd64fox/SpotX/main/.github/Pic/Shields/tg.svg"></a>
<a href="https://www.youtube.com/results?search_query=https%3A%2F%2Fgithub.com%2Famd64fox%2FSpotX"><img src="https://raw.githubusercontent.com/amd64fox/SpotX/main/.github/Pic/Shields/youtube.svg"></a>
<a href="https://cutt.ly/8EH6NuH"><img src="https://raw.githubusercontent.com/amd64fox/SpotX/main/.github/Pic/Shields/excel.svg"></a>
<a href="https://github.com/amd64fox/SpotX/blob/main/.github/Doc/FAQ.md#faq"><img src="https://raw.githubusercontent.com/amd64fox/SpotX/main/.github/Pic/Shields/faq.svg"></a>
</p>
<h2> <div align="center"><b> Modified Spotify Client for Windows </b></div> </h2>
<h2> <div align="center"><b> Modified Spotify Client for Windows </b></div> </h2>
<h1>System requirements</h1>
- <strong>OS: Windows 7-11</strong>
- <strong>Spotify: Recommended official version [1.1.89.862](https://cutt.ly/8EH6NuH)</strong>
- <strong>Spotify: Recommended official version [1.1.92.647](https://cutt.ly/8EH6NuH)</strong>
- <strong>For Windows Desktop only (Microsoft store version is not suitable).</strong>
- <strong>PowerShell: 3 or higher</strong>
@@ -27,10 +29,11 @@
- <strong>Enabled [enhance playlist](https://github.com/amd64fox/SpotX/discussions/50#discussion-4108773)</strong>
- <strong>Enabled [enhance liked songs UI](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-2851482)</strong>
- <strong>Enabled [new lyrics](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-2851485)</strong>
- <strong>Enabled [new search with chips experience](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-2851545)</strong>
- <strong>Enabled [a condensed discography shelf on artist pages](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-2851591)</strong>
- <strong>Enabled [Ignore In Recommendations](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-2996165)</strong>
- <strong>Activated ["Made For You" in the left sidebar](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-2853981)</strong>
- <strong>Enabled [Equalizer](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-3179778)</strong>
- <strong>Enabled [new device picker panel](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-3179782)</strong>
- <strong>Activated [Made For You" in the left sidebar](https://github.com/amd64fox/SpotX/discussions/50#discussioncomment-2853981)</strong>
- <strong>Disabled Sentry (Prevented Sentry from sending console log/error/warning to Spotify developers)</strong>
- <strong>Disabled logging (Stopped various elements to log user interaction)</strong>
- <strong>Removed RTL rules (Removed all right-to-left CSS rules to simplify CSS files)</strong>
@@ -41,13 +44,17 @@
<details>
<summary><small>Usual installation</small></summary><p>
<h4>During installation, you need to confirm some actions</h4>
#### During installation, you need to confirm some actions, also contains:
- All [experimental features](https://github.com/amd64fox/SpotX/discussions/50) included
<h4> </h4>
* Just download and run [Install.bat](https://raw.githack.com/amd64fox/SpotX/main/Install.bat)
#### Just download and run [Install.bat](https://raw.githack.com/amd64fox/SpotX/main/Install.bat)
or
- Run The following command in PowerShell:
#### Run The following command in PowerShell:
```ps1
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | iex
@@ -58,7 +65,7 @@ or
<details>
<summary><small>Automated basic installation</small></summary><p>
<h4>Automated basic installation without confirmation, what does it do?</h4>
#### 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)
@@ -66,14 +73,14 @@ or
<h4> </h4>
- Just download and run [Install_Basic.bat](https://raw.githack.com/amd64fox/SpotX/main/scripts/Install_Basic.bat)
#### Just download and run [Install_Basic.bat](https://raw.githack.com/amd64fox/SpotX/main/scripts/Install_Basic.bat)
or
- Run The following command in PowerShell:
#### Run The following command in PowerShell:
```ps1
[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"
[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_standart -hide_col_icon_off -start_spoti"
```
</details>
@@ -92,28 +99,64 @@ or
<h4> </h4>
- Just download and run [Install_Auto.bat](https://raw.githack.com/amd64fox/SpotX/main/scripts/Install_Auto.bat)
#### Just download and run [Install_Auto.bat](https://raw.githack.com/amd64fox/SpotX/main/scripts/Install_Auto.bat)
or
- Run The following command in PowerShell:
#### Run The following command in PowerShell:
```ps1
[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"
```
</details>
<details>
<summary><small>Installing with Scoop</small></summary><p>
#### Installing SpotX via the Scoop package manager includes:
- 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](https://github.com/amd64fox/SpotX/discussions/50) included
<h4> </h4>
#### Installing SpotX with Scoop
Just run these commands in the command prompt or powershell:
<br>
<br>```scoop bucket add nonportable```
<br>```scoop install spotx-np```
#### Updating SpotX with Scoop
To update SpotX or check for updates run this command in the command prompt or powershell:
```scoop update spotx-np```
#### Uninstalling SpotX with Scoop
To fully uninstall SpotX and Spotify run this command in the command prompt or powershell:
```scoop uninstall spotx-np```
</details>
<details>
<summary><small>Installation for premium</small></summary><p>
<h4>Usual installation only without ad blocking, for those who have a premium account</h4>
#### Usual installation only without ad blocking, for those who have a premium account, also contains:
- All [experimental features](https://github.com/amd64fox/SpotX/discussions/50) included
<h4> </h4>
* Just download and run [Install_Prem.bat](https://raw.githack.com/amd64fox/SpotX/main/scripts/Install_Prem.bat)
#### Just download and run [Install_Prem.bat](https://raw.githack.com/amd64fox/SpotX/main/scripts/Install_Prem.bat)
or
- Run The following command in PowerShell:
#### Run The following command in PowerShell:
```ps1
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) } -premium"
@@ -128,69 +171,18 @@ You can specify various parameters for a more flexible installation, more [detai
</details>
<details>
<summary><small>Установка на русском</small></summary><p>
Теперь установка на русском языке доступна в основном скрипте, просто скачайте и запустите `Install.bat` или выполните другие типы установки указанные выше.
</details>
<h1>Uninstall</h1>
- Just run [Uninstall.bat](https://cutt.ly/dErpPEK)
- Just run [Uninstall.bat](https://raw.githack.com/amd64fox/SpotX/main/Uninstall.bat)
or
- Reinstall Spotify ([Full uninstall](https://github.com/amd64fox/Uninstall-Spotify) recommended)
<h1>Possible problems</h1>
<h1>FAQ</h1>
<details>
<summary><small>In most cases, this helps solve problems.</small></summary><p>
- Read [FAQ](https://github.com/amd64fox/SpotX/discussions/111)
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](https://github.com/amd64fox/Uninstall-Spotify) 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](https://community.spotify.com/t5/Desktop-Windows/bd-p/desktop_windows).
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](https://github.com/amd64fox/Rollback-Spotify) will help you with this.
</details>
<details>
<summary><small>Outdated versions of PowerShell</small></summary><p>
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:
- Upgrade to [NET Framework 4.8](https://go.microsoft.com/fwlink/?linkid=2088631)
- Upgrade to [WMF 5.1](https://www.microsoft.com/en-us/download/details.aspx?id=54616)
- Reboot your PC
</details>
<details>
<summary><small>After running Install.bat, the message "Curl command line utility not found" appeared</small></summary><p>
The curl command was not found in the system (in windows 10 and above it comes out of the box), you need to install it manually:
- Follow the [link](http://www.confusedbycode.com/curl/#downloads) and download the installation file, depending on the bitness of the OS.
- We start the installation process, at the end we must restart the PC.
</details>
<details>
<summary><small>How do I go back to the previous version of the client ?</small></summary><p>
If you have problems with the patch after upgrading the client version, then use this [tool](https://github.com/amd64fox/Rollback-Spotify) to revert back to the working version.
</details>
<h1>Additional Notes</h1>
<h1>Credits</h1>
- The repository is based on <a href="https://github.com/mrpond/BlockTheSpot">BlockTheSpot</a>, and also some tricks were taken from <a href="https://github.com/khanhas/spicetify-cli">spicetify-cli</a>, 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](https://github.com/amd64fox/SpotX/discussions/28#discussioncomment-2389043), but you may need to run Install.bat again after running the `spicetify apply` or other commands.

View File

@@ -1,6 +1,6 @@
@echo off
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing '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 """" | Invoke-Expression"
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing '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 """" | Invoke-Expression"
pause
exit /b

View File

@@ -1,6 +1,6 @@
@echo off
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing '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"""" | Invoke-Expression"
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing '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_standart -hide_col_icon_off -start_spoti"""" | Invoke-Expression"
pause
exit /b

View File

@@ -1,6 +1,6 @@
@echo off
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -premium """" | Invoke-Expression"
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -premium """" | Invoke-Expression"
pause
exit /b