Compare commits
265 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3d5139b4e | ||
|
|
8ea7f0c677 | ||
|
|
7877f39333 | ||
|
|
038ef3fc61 | ||
|
|
c888ed03a6 | ||
|
|
8bf3b46a21 | ||
|
|
9777d44c84 | ||
|
|
b1dd99dd4a | ||
|
|
900564f786 | ||
|
|
a99bf71e88 | ||
|
|
c6094e5605 | ||
|
|
7c96a49f95 | ||
|
|
647279169e | ||
|
|
92163cedd2 | ||
|
|
e63cbcf5db | ||
|
|
b94d597e18 | ||
|
|
c8e50f67fb | ||
|
|
79a946700e | ||
|
|
a9731ae08c | ||
|
|
7f8adc0a0e | ||
|
|
eceec38ddb | ||
|
|
c16777beab | ||
|
|
d750a447ba | ||
|
|
22f43006ab | ||
|
|
38bdc38ef4 | ||
|
|
fcc7a76d47 | ||
|
|
04b8a076dc | ||
|
|
720a72fcea | ||
|
|
f1df98877c | ||
|
|
f12c977e1e | ||
|
|
d3699b79bb | ||
|
|
d4bda059a8 | ||
|
|
bce7e809b9 | ||
|
|
0fe08d8f8f | ||
|
|
b39f484dbd | ||
|
|
d8dcb80612 | ||
|
|
77c558b464 | ||
|
|
701b037a30 | ||
|
|
be332a6883 | ||
|
|
55d7d12314 | ||
|
|
ace56ed9f2 | ||
|
|
9dcd7c377b | ||
|
|
f800b9e27a | ||
|
|
105833ac9e | ||
|
|
ca3ac2cc8a | ||
|
|
b73785af40 | ||
|
|
82ad7038eb | ||
|
|
79d251511b | ||
|
|
3e75024211 | ||
|
|
7b372c2f4b | ||
|
|
d613c47646 | ||
|
|
6153c396ae | ||
|
|
070a1fc4bd | ||
|
|
ec9778a767 | ||
|
|
fd318017f6 | ||
|
|
26e79aaa1b | ||
|
|
c3cd47891a | ||
|
|
0abfd117aa | ||
|
|
3ca558f7c6 | ||
|
|
de6eaaf1d4 | ||
|
|
29236075a1 | ||
|
|
e2c4b0051b | ||
|
|
6b7658e57a | ||
|
|
7eaf67de2c | ||
|
|
3b950a2737 | ||
|
|
26c3a57b2b | ||
|
|
6ee0a16b86 | ||
|
|
36a7e099f2 | ||
|
|
e96af19e65 | ||
|
|
8adb8ebf5c | ||
|
|
83d7972a98 | ||
|
|
99caa61d4f | ||
|
|
495add289c | ||
|
|
f106fef6d6 | ||
|
|
e039778ba7 | ||
|
|
fd952fd9e5 | ||
|
|
db41d36aec | ||
|
|
c202bf08bc | ||
|
|
ea8e3aa7f0 | ||
|
|
a28d62d742 | ||
|
|
d2a9b4e53e | ||
|
|
7bf2892e38 | ||
|
|
f599ce7d21 | ||
|
|
78b068d6f0 | ||
|
|
029a7aa756 | ||
|
|
2ccdf8ba17 | ||
|
|
d6d29f5fb3 | ||
|
|
d6bc4e2951 | ||
|
|
af58b7af4e | ||
|
|
688aea881c | ||
|
|
569b5e9d96 | ||
|
|
3a3a843f9f | ||
|
|
81bb483435 | ||
|
|
bfbc6a11e1 | ||
|
|
4ea1373296 | ||
|
|
e551f9b5e5 | ||
|
|
13fa2292b8 | ||
|
|
6858eaa2c1 | ||
|
|
24ef481778 | ||
|
|
2a5e28764c | ||
|
|
327a0181d8 | ||
|
|
4b740e0737 | ||
|
|
628d3aec12 | ||
|
|
f8898404a2 | ||
|
|
6c165e0c52 | ||
|
|
b8893d8685 | ||
|
|
6baff91c38 | ||
|
|
6d898af81d | ||
|
|
c42b94adf5 | ||
|
|
d11e073e5b | ||
|
|
65dc144724 | ||
|
|
e21a88575c | ||
|
|
af2afe9598 | ||
|
|
639e7c6de4 | ||
|
|
e52b136f87 | ||
|
|
05e12e5ebd | ||
|
|
d73f55dbc8 | ||
|
|
86fe0fb96b | ||
|
|
00fac9038b | ||
|
|
eb538ce21a | ||
|
|
ab8dd8cd3d | ||
|
|
d72755f3cd | ||
|
|
802ce5f300 | ||
|
|
fce3bdbd2a | ||
|
|
4c1524dd8f | ||
|
|
7d7b197dd9 | ||
|
|
85fab63e1b | ||
|
|
a330968fb3 | ||
|
|
9c22f6d34d | ||
|
|
b8e870a086 | ||
|
|
8f06a87a6a | ||
|
|
801fe4e0da | ||
|
|
8395b4a30b | ||
|
|
0e5ae5698e | ||
|
|
f051b61cbc | ||
|
|
04c4c499ed | ||
|
|
0c5ba7a8e6 | ||
|
|
dad6907b51 | ||
|
|
6a71397c65 | ||
|
|
fecda83e0a | ||
|
|
fa999c970b | ||
|
|
25e29c1035 | ||
|
|
c6a4721645 | ||
|
|
cf80511867 | ||
|
|
deae6dd38b | ||
|
|
f4185b2364 | ||
|
|
4c0d09e232 | ||
|
|
e88f05f991 | ||
|
|
a75e0b16f2 | ||
|
|
bb581ac4af | ||
|
|
4dc72c7390 | ||
|
|
a0e3f8135f | ||
|
|
8ecfa9b130 | ||
|
|
3da3216b85 | ||
|
|
d69b95262b | ||
|
|
0ab5daddce | ||
|
|
79df9c4ead | ||
|
|
7fcedad299 | ||
|
|
1b59c44d8d | ||
|
|
18d279d517 | ||
|
|
819bbeebe3 | ||
|
|
b8834df2a8 | ||
|
|
51045c08b7 | ||
|
|
1202fdf4c3 | ||
|
|
4f0efd17fd | ||
|
|
366a8a3d7b | ||
|
|
34610b33f8 | ||
|
|
00ab5bd8b2 | ||
|
|
f2e5a70a74 | ||
|
|
b11eef040f | ||
|
|
03a7a2c126 | ||
|
|
38972537fc | ||
|
|
3616b19c6c | ||
|
|
9a35111bab | ||
|
|
e07cf56ebb | ||
|
|
7875b67f1e | ||
|
|
055d818890 | ||
|
|
189b11405c | ||
|
|
e8421da894 | ||
|
|
3cdc07434a | ||
|
|
8b5e8e71b5 | ||
|
|
0db5ac8fbe | ||
|
|
482754771c | ||
|
|
c9f986f656 | ||
|
|
362924df7f | ||
|
|
5255ffb452 | ||
|
|
6b9a5ca32e | ||
|
|
bfcab71e2d | ||
|
|
8cdea5636b | ||
|
|
4c9e423c5c | ||
|
|
b2c1edca87 | ||
|
|
de5d7d0f8e | ||
|
|
fc6809db90 | ||
|
|
d8c20b3b69 | ||
|
|
9a92c5776b | ||
|
|
8f0f970240 | ||
|
|
4607e00ab4 | ||
|
|
b243fd9199 | ||
|
|
ae93a6b990 | ||
|
|
17d2b3327e | ||
|
|
ee2ceaa916 | ||
|
|
da4def8d47 | ||
|
|
046fe6de9e | ||
|
|
9ac706663d | ||
|
|
250ee01123 | ||
|
|
ebca446d05 | ||
|
|
b3e2062637 | ||
|
|
fb04207022 | ||
|
|
ba44827cf6 | ||
|
|
caf91f369b | ||
|
|
b604a6d1d1 | ||
|
|
e74f635b77 | ||
|
|
c89f0b0a5c | ||
|
|
8a0adaca76 | ||
|
|
c972e9649f | ||
|
|
9447a264b7 | ||
|
|
9024b8e552 | ||
|
|
6c3f82acaa | ||
|
|
074d7120ad | ||
|
|
b6e5c9ea67 | ||
|
|
121784f5e0 | ||
|
|
8af98030df | ||
|
|
12d15be5c8 | ||
|
|
900cc83096 | ||
|
|
0b94eba81c | ||
|
|
512469426e | ||
|
|
20caeacd63 | ||
|
|
e3eb911c39 | ||
|
|
188d6abeeb | ||
|
|
ffc5b642a6 | ||
|
|
6a38c5bbfc | ||
|
|
8191c263de | ||
|
|
a1d25514eb | ||
|
|
4b1b9c1444 | ||
|
|
8c950efbf0 | ||
|
|
dd8acaaa59 | ||
|
|
ef26c511d2 | ||
|
|
560220896e | ||
|
|
ca22bd01ab | ||
|
|
c537406da8 | ||
|
|
6135d08328 | ||
|
|
f7bdc01339 | ||
|
|
54f9abcec3 | ||
|
|
ce1538bd01 | ||
|
|
effc8b9e43 | ||
|
|
5edbfb4e23 | ||
|
|
a7061ca436 | ||
|
|
6245ca6990 | ||
|
|
df44e3da53 | ||
|
|
f3cc0bd95a | ||
|
|
bbfc55818d | ||
|
|
7dc535ba7c | ||
|
|
862d534377 | ||
|
|
c583d496c4 | ||
|
|
884469a165 | ||
|
|
16bf1dd7fb | ||
|
|
4ac756f459 | ||
|
|
85fbb679da | ||
|
|
83697104f3 | ||
|
|
cb2e6932d1 | ||
|
|
3285c4c940 | ||
|
|
69e905efd7 | ||
|
|
a113dda924 | ||
|
|
3224db3b94 | ||
|
|
6af6bea830 |
33
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
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>
|
||||
|
||||

|
||||
|
||||
</small></summary><p>
|
||||
|
||||
</details>
|
||||
25
.github/ISSUE_TEMPLATE/idea.md
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
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>
|
||||
|
||||

|
||||
|
||||
</small></summary><p>
|
||||
|
||||
</details>
|
||||
87
.github/ISSUE_TEMPLATE/installer-translation.md
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
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"
|
||||
```
|
||||
BIN
.github/Pic/Excremental-fun/Enhance-liked.gif
vendored
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
.github/Pic/Excremental-fun/Enhance-playlist.gif
vendored
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
.github/Pic/Excremental-fun/Ignore-recommendations.jpg
vendored
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
.github/Pic/Excremental-fun/Made-for-you.jpg
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
.github/Pic/Excremental-fun/New-discography.gif
vendored
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
.github/Pic/Excremental-fun/New-lyrics.gif
vendored
Normal file
|
After Width: | Height: | Size: 935 KiB |
BIN
.github/Pic/Excremental-fun/New-search.gif
vendored
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
1
.github/Pic/Shields/excel.svg
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="179" height="20" role="img" aria-label="Download official installer: "><title>Download official installer: </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="179" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="168" height="20" fill="#555"/><rect x="168" width="11" height="20" fill="#4c1"/><rect width="179" 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,PHN2ZyBmaWxsPSJ3aGl0ZXNtb2tlIiByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TWljcm9zb2Z0IEV4Y2VsPC90aXRsZT48cGF0aCBkPSJNMjMgMS41cS40MSAwIC43LjMuMy4yOS4zLjd2MTlxMCAuNDEtLjMuNy0uMjkuMy0uNy4zSDdxLS40MSAwLS43LS4zLS4zLS4yOS0uMy0uN1YxOEgxcS0uNDEgMC0uNy0uMy0uMy0uMjktLjMtLjdWN3EwLS40MS4zLS43US41OCA2IDEgNmg1VjIuNXEwLS40MS4zLS43LjI5LS4zLjctLjN6TTYgMTMuMjhsMS40MiAyLjY2aDIuMTRsLTIuMzgtMy44NyAyLjM0LTMuOEg3LjQ2bC0xLjMgMi40LS4wNS4wOC0uMDQuMDktLjY0LTEuMjgtLjY2LTEuMjlIMi41OWwyLjI3IDMuODItMi40OCAzLjg1aDIuMTZ6TTE0LjI1IDIxdi0zSDcuNXYzem0wLTQuNXYtMy43NUgxMnYzLjc1em0wLTUuMjVWNy41SDEydjMuNzV6bTAtNS4yNVYzSDcuNXYzem04LjI1IDE1di0zaC02Ljc1djN6bTAtNC41di0zLjc1aC02Ljc1djMuNzV6bTAtNS4yNVY3LjVoLTYuNzV2My43NXptMC01LjI1VjNoLTYuNzV2M1oiLz48L3N2Zz4="/><text aria-hidden="true" x="935" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="1410">Download official installer</text><text x="935" y="140" transform="scale(.1)" fill="#fff" textLength="1410">Download official installer</text></g></svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
1
.github/Pic/Shields/tg.svg
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="139" height="20" role="img" aria-label="Telegram Channel: "><title>Telegram Channel: </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="139" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="128" height="20" fill="#555"/><rect x="128" width="11" height="20" fill="#007ec6"/><rect width="139" 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyIDI0YzYuNjI3IDAgMTItNS4zNzMgMTItMTJTMTguNjI3IDAgMTIgMCAwIDUuMzczIDAgMTJzNS4zNzMgMTIgMTIgMTJaIiBmaWxsPSJ1cmwoI2EpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01LjQyNSAxMS44NzFhNzk2LjQxNCA3OTYuNDE0IDAgMCAxIDYuOTk0LTMuMDE4YzMuMzI4LTEuMzg4IDQuMDI3LTEuNjI4IDQuNDc3LTEuNjM4LjEgMCAuMzIuMDIuNDcuMTQuMTIuMS4xNS4yMy4xNy4zMy4wMi4xLjA0LjMxLjAyLjQ3LS4xOCAxLjg5OC0uOTYgNi41MDQtMS4zNiA4LjYyMi0uMTcuOS0uNSAxLjE5OS0uODE5IDEuMjI5LS43LjA2LTEuMjI5LS40Ni0xLjg5OC0uOS0xLjA2LS42ODktMS42NDktMS4xMTktMi42NzgtMS43OTgtMS4xOS0uNzgtLjQyLTEuMjA5LjI2LTEuOTA4LjE4LS4xOCAzLjI0Ny0yLjk3OCAzLjMwNy0zLjIyOC4wMS0uMDMuMDEtLjE1LS4wNi0uMjEtLjA3LS4wNi0uMTctLjA0LS4yNS0uMDItLjExLjAyLTEuNzg4IDEuMTQtNS4wNTYgMy4zNDgtLjQ4LjMzLS45MDkuNDktMS4yOTkuNDgtLjQzLS4wMS0xLjI0OC0uMjQtMS44NjgtLjQ0LS43NS0uMjQtMS4zNDktLjM3LTEuMjk5LS43OS4wMy0uMjIuMzMtLjQ0Ljg5LS42NjlaIiBmaWxsPSIjZmZmIi8+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJhIiB4MT0iMTEuOTkiIHkxPSIwIiB4Mj0iMTEuOTkiIHkyPSIyMy44MSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiMyQUFCRUUiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyMjlFRDkiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4K"/><text aria-hidden="true" x="735" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="1010">Telegram Channel</text><text x="735" y="140" transform="scale(.1)" fill="#fff" textLength="1010">Telegram Channel</text></g></svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
1
.github/Pic/Shields/youtube.svg
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="189" height="20" role="img" aria-label="Tutorial videos on YouTube: "><title>Tutorial videos on YouTube: </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="189" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="178" height="20" fill="#555"/><rect x="178" width="11" height="20" fill="#e05d44"/><rect width="189" 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,PHN2ZyBmaWxsPSJ3aGl0ZXNtb2tlIiByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+WW91VHViZTwvdGl0bGU+PHBhdGggZD0iTTIzLjQ5OCA2LjE4NmEzLjAxNiAzLjAxNiAwIDAgMC0yLjEyMi0yLjEzNkMxOS41MDUgMy41NDUgMTIgMy41NDUgMTIgMy41NDVzLTcuNTA1IDAtOS4zNzcuNTA1QTMuMDE3IDMuMDE3IDAgMCAwIC41MDIgNi4xODZDMCA4LjA3IDAgMTIgMCAxMnMwIDMuOTMuNTAyIDUuODE0YTMuMDE2IDMuMDE2IDAgMCAwIDIuMTIyIDIuMTM2YzEuODcxLjUwNSA5LjM3Ni41MDUgOS4zNzYuNTA1czcuNTA1IDAgOS4zNzctLjUwNWEzLjAxNSAzLjAxNSAwIDAgMCAyLjEyMi0yLjEzNkMyNCAxNS45MyAyNCAxMiAyNCAxMnMwLTMuOTMtLjUwMi01LjgxNHpNOS41NDUgMTUuNTY4VjguNDMyTDE1LjgxOCAxMmwtNi4yNzMgMy41Njh6Ii8+PC9zdmc+"/><text aria-hidden="true" x="985" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="1510">Tutorial videos on YouTube</text><text x="985" y="140" transform="scale(.1)" fill="#fff" textLength="1510">Tutorial videos on YouTube</text></g></svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
BIN
.github/Pic/logo.png
vendored
Normal file
|
After Width: | Height: | Size: 24 KiB |
1
.github/cutt/test-cutt.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
test
|
||||
73
Install.bat
Normal file
@@ -0,0 +1,73 @@
|
||||
@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.
|
||||
)
|
||||
)
|
||||
pause
|
||||
exit /b
|
||||
1535
Install.ps1
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021-2022 amd64fox
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
197
README.md
@@ -1 +1,196 @@
|
||||
# trkihj
|
||||
<p align="center">
|
||||
<a href="https://github.com/amd64fox/SpotX/releases"><img src="https://github.com/amd64fox/SpotX/raw/main/.github/Pic/logo.png" />
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<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>
|
||||
</p>
|
||||
<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>For Windows Desktop only (Microsoft store version is not suitable).</strong>
|
||||
- <strong>PowerShell: 3 or higher</strong>
|
||||
|
||||
<h1>Features</h1>
|
||||
|
||||
- <strong>Blocks all banner, video and audio ads in the client</strong>
|
||||
- <strong>Unlocks the skip function of any track</strong>
|
||||
- <strong>Full screen mode activated</strong>
|
||||
- <strong>Hidden podcasts and episodes from the homepage (optional)</strong>
|
||||
- <strong>Blocks automatic updates (optional)</strong>
|
||||
- <strong>Automatic [cache clearing](https://github.com/amd64fox/SpotX/discussions/2) (optional)</strong>
|
||||
- <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>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>
|
||||
- <strong>Code minification</strong>
|
||||
|
||||
<h1>Fast installation / Update</h1>
|
||||
<h3>Choose installation type:</h3>
|
||||
<details>
|
||||
<summary><small>Usual installation</small></summary><p>
|
||||
|
||||
<h4>During installation, you need to confirm some actions</h4>
|
||||
|
||||
* Just download and run [Install.bat](https://raw.githack.com/amd64fox/SpotX/main/Install.bat)
|
||||
|
||||
or
|
||||
|
||||
- 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
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><small>Automated basic installation</small></summary><p>
|
||||
|
||||
<h4>Automated basic installation without confirmation, what does it do?</h4>
|
||||
|
||||
- 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
|
||||
|
||||
<h4> </h4>
|
||||
|
||||
- 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:
|
||||
|
||||
```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"
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><small>Automatic full installation</small></summary><p>
|
||||
|
||||
<h4>Automatic installation without confirmation, what does it do?</h4>
|
||||
|
||||
- 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
|
||||
- After the installation is completed, the client will autorun.
|
||||
|
||||
<h4> </h4>
|
||||
|
||||
- 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:
|
||||
|
||||
```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>Installation for premium</small></summary><p>
|
||||
|
||||
<h4>Usual installation only without ad blocking, for those who have a premium account</h4>
|
||||
|
||||
* 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:
|
||||
|
||||
```ps1
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) } -premium"
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><small>Installing with parameters</small></summary><p>
|
||||
|
||||
You can specify various parameters for a more flexible installation, more [details here](https://github.com/amd64fox/SpotX/discussions/60)
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><small>Установка на русском</small></summary><p>
|
||||
|
||||
Теперь установка на русском языке доступна в основном скрипте, просто скачайте и запустите `Install.bat` или выполните другие типы установки указанные выше.
|
||||
|
||||
</details>
|
||||
|
||||
<h1>Uninstall</h1>
|
||||
|
||||
- Just run [Uninstall.bat](https://cutt.ly/dErpPEK)
|
||||
|
||||
or
|
||||
|
||||
- Reinstall Spotify ([Full uninstall](https://github.com/amd64fox/Uninstall-Spotify) recommended)
|
||||
|
||||
<h1>Possible problems</h1>
|
||||
|
||||
<details>
|
||||
<summary><small>In most cases, this helps solve problems.</small></summary><p>
|
||||
|
||||
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>
|
||||
|
||||
- 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.
|
||||
|
||||
80
Uninstall.bat
Normal file
@@ -0,0 +1,80 @@
|
||||
@echo off
|
||||
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
echo *****************
|
||||
echo Author: @amd64fox
|
||||
echo *****************
|
||||
echo Removing Patch...
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\chrome_elf_bak.dll" (
|
||||
del /s /q "%Appdata%\Spotify\chrome_elf.dll" > NUL 2>&1
|
||||
move "%Appdata%\Spotify\chrome_elf_bak.dll" "%Appdata%\Spotify\chrome_elf.dll" > NUL 2>&1
|
||||
)
|
||||
|
||||
if exist "%Appdata%\Spotify\Spotify.bak" (
|
||||
del /s /q "%Appdata%\Spotify.exe" > NUL 2>&1
|
||||
move "%Appdata%\Spotify\Spotify.bak" "%Appdata%\Spotify\Spotify.exe" > NUL 2>&1
|
||||
)
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\config.ini" (
|
||||
del /s /q "%Appdata%\Spotify\config.ini" > NUL 2>&1
|
||||
)
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\Apps\xpui.bak" (
|
||||
del /s /q "%Appdata%\Spotify\Apps\xpui.spa" > NUL 2>&1
|
||||
move "%Appdata%\Spotify\Apps\xpui.bak" "%Appdata%\Spotify\Apps\xpui.spa" > NUL 2>&1
|
||||
)
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\Apps\xpui\xpui.js.bak" (
|
||||
del /s /q "%Appdata%\Spotify\Apps\xpui\xpui.js" > NUL 2>&1
|
||||
move "%Appdata%\Spotify\Apps\xpui\xpui.js.bak" "%Appdata%\Spotify\Apps\xpui\xpui.js" > NUL 2>&1
|
||||
)
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\Apps\xpui\xpui.css.bak" (
|
||||
del /s /q "%Appdata%\Spotify\Apps\xpui\xpui.css" > NUL 2>&1
|
||||
move "%Appdata%\Spotify\Apps\xpui\xpui.css.bak" "%Appdata%\Spotify\Apps\xpui\xpui.css" > NUL 2>&1
|
||||
)
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\Apps\xpui\licenses.html.bak" (
|
||||
del /s /q "%Appdata%\Spotify\Apps\xpui\licenses.html" > NUL 2>&1
|
||||
move "%Appdata%\Spotify\Apps\xpui\licenses.html.bak" "%Appdata%\Spotify\Apps\xpui\licenses.html" > NUL 2>&1
|
||||
)
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\Apps\xpui\i18n\ru.json.bak" (
|
||||
del /s /q "%Appdata%\Spotify\Apps\xpui\i18n\ru.json" > NUL 2>&1
|
||||
move "%Appdata%\Spotify\Apps\xpui\i18n\ru.json.bak" "%Appdata%\Spotify\Apps\xpui\i18n\ru.json" > NUL 2>&1
|
||||
)
|
||||
|
||||
|
||||
if exist "%Appdata%\Spotify\blockthespot_log.txt" (
|
||||
del /s /q "%Appdata%\Spotify\blockthespot_log.txt" > NUL 2>&1
|
||||
)
|
||||
|
||||
if exist "%Appdata%\Spotify\cache" (
|
||||
rd /s /q %Appdata%\Spotify\cache > NUL 2>&1
|
||||
|
||||
SET Esc_LinkDest=%Userprofile%\Desktop\Spotify.lnk
|
||||
SET Esc_LinkTarget=%Appdata%\Spotify\Spotify.exe
|
||||
SET Esc_WorkLinkTarget=%Appdata%\Spotify\
|
||||
SET cSctVBS=CreateShortcut.vbs
|
||||
((
|
||||
echo Set oWS = WScript.CreateObject^("WScript.Shell"^)
|
||||
echo sLinkFile = oWS.ExpandEnvironmentStrings^("!Esc_LinkDest!"^)
|
||||
echo Set oLink = oWS.CreateShortcut^(sLinkFile^)
|
||||
echo oLink.TargetPath = oWS.ExpandEnvironmentStrings^("!Esc_LinkTarget!"^)
|
||||
echo oLink.WorkingDirectory = oWS.ExpandEnvironmentStrings^("!Esc_WorkLinkTarget!"^)
|
||||
echo oLink.Save
|
||||
)1>!cSctVBS!
|
||||
cscript !cSctVBS!
|
||||
DEL !cSctVBS! /f /q
|
||||
)
|
||||
)
|
||||
|
||||
echo Patch successfully removed
|
||||
pause
|
||||
6
scripts/Install_Auto.bat
Normal file
@@ -0,0 +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"
|
||||
|
||||
pause
|
||||
exit /b
|
||||
6
scripts/Install_Basic.bat
Normal file
@@ -0,0 +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"
|
||||
|
||||
pause
|
||||
exit /b
|
||||
6
scripts/Install_Prem.bat
Normal file
@@ -0,0 +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"
|
||||
|
||||
pause
|
||||
exit /b
|
||||
43
scripts/cache/cache_spotify.ps1
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<#
|
||||
Name: Clear Spotify Cache.
|
||||
|
||||
Description: The script clears outdated cache from the listened music in Spotify.
|
||||
Fires every time you completely close the client (If the client was minimized to tray then the script will not work).
|
||||
|
||||
For the APPDATA\Spotify\Data folder, the rule is that all cache files that are not used
|
||||
by the customer more than the specified number of days will be deleted.
|
||||
|
||||
#>
|
||||
|
||||
$day = 7 # Number of days after which the cache is considered stale
|
||||
|
||||
# Clear the \Data folder if it finds an outdated cache
|
||||
|
||||
try {
|
||||
If (!(Test-Path -Path $env:LOCALAPPDATA\Spotify\Data)) {
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Folder Local\Spotify\Data not found" | Out-File log.txt -append
|
||||
exit
|
||||
}
|
||||
$check = Get-ChildItem $env:LOCALAPPDATA\Spotify\Data -File -Recurse | Where-Object lastaccesstime -lt (get-date).AddDays(-$day)
|
||||
if ($check.Length -ge 1) {
|
||||
|
||||
$count = $check
|
||||
$sum = $count | Measure-Object -Property Length -sum
|
||||
if ($sum.Sum -ge 1044344824) {
|
||||
$gb = "{0:N2} Gb" -f (($check | Measure-Object Length -s).sum / 1Gb)
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Removed $gb obsolete cache" | Out-File log.txt -append
|
||||
}
|
||||
else {
|
||||
$mb = "{0:N2} Mb" -f (($check | Measure-Object Length -s).sum / 1Mb)
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Removed $mb obsolete cache" | Out-File log.txt -append
|
||||
}
|
||||
Get-ChildItem $env:LOCALAPPDATA\Spotify\Data -File -Recurse | Where-Object lastaccesstime -lt (get-date).AddDays(-$day) | Remove-Item
|
||||
}
|
||||
if ($check.Length -lt 1) {
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Stale cache not found" | Out-File log.txt -append
|
||||
}
|
||||
}
|
||||
catch {
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") $error[0].Exception" | Out-File log.txt -append
|
||||
}
|
||||
exit
|
||||
43
scripts/cache/cache_spotify_ru.ps1
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<#
|
||||
Имя: Очистка кеша Spotify.
|
||||
|
||||
Описание: Скрипт очищает устаревший кеш от прослушанной музыки в Spotify.
|
||||
Срабатывает каждый раз когда вы полностью закрываете клиент (Если клиент был свернут в трей то скрипт не сработает).
|
||||
|
||||
Для папки APPDATA\Spotify\Data действует правило, все файлы кеша которые не использовались
|
||||
клиентом больше указанного количества дней будут удалены.
|
||||
|
||||
#>
|
||||
|
||||
$day = 7 # Количество дней после которых кеш считается устаревшим
|
||||
|
||||
# Очищаем папку \Data если был найден устаревший кеш
|
||||
|
||||
try {
|
||||
If (!(Test-Path -Path $env:LOCALAPPDATA\Spotify\Data)) {
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Папка Local\Spotify\Data не найдена" | Out-File log.txt -append
|
||||
exit
|
||||
}
|
||||
$check = Get-ChildItem $env:LOCALAPPDATA\Spotify\Data -File -Recurse | Where-Object lastaccesstime -lt (get-date).AddDays(-$day)
|
||||
if ($check.Length -ge 1) {
|
||||
|
||||
$count = $check
|
||||
$sum = $count | Measure-Object -Property Length -sum
|
||||
if ($sum.Sum -ge 1044344824) {
|
||||
$gb = "{0:N2} Gb" -f (($check | Measure-Object Length -s).sum / 1Gb)
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Удалено $gb устаревшего кеша" | Out-File log.txt -append
|
||||
}
|
||||
else {
|
||||
$mb = "{0:N2} Mb" -f (($check | Measure-Object Length -s).sum / 1Mb)
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Удалено $mb устаревшего кеша" | Out-File log.txt -append
|
||||
}
|
||||
Get-ChildItem $env:LOCALAPPDATA\Spotify\Data -File -Recurse | Where-Object lastaccesstime -lt (get-date).AddDays(-$day) | Remove-Item
|
||||
}
|
||||
if ($check.Length -lt 1) {
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") Устаревшего кеша не найдено" | Out-File log.txt -append
|
||||
}
|
||||
}
|
||||
catch {
|
||||
"$(Get-Date -Format "dd/MM/yyyy HH:mm:ss") $error[0].Exception" | Out-File log.txt -append
|
||||
}
|
||||
exit
|
||||
3
scripts/cache/hide_window.vbs
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Set WshShell = CreateObject("WScript.Shell")
|
||||
WshShell.Run chr(34) & "%Appdata%\Spotify\cache\run_ps.bat" & Chr(34), 0
|
||||
Set WshShell = Nothing
|
||||
3
scripts/cache/run_ps.bat
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
start "" /wait "%Appdata%\Spotify\Spotify.exe"
|
||||
powershell.exe -ExecutionPolicy Bypass -nologo -noninteractive -command "& '.\cache_spotify.ps1'"
|
||||