spotx-official / spotx-bash Goto Github PK
View Code? Open in Web Editor NEWSpotX Mac and Linux adblocker for the Spotify desktop client, in Bash
License: MIT License
SpotX Mac and Linux adblocker for the Spotify desktop client, in Bash
License: MIT License
I love this hack. I just updated to Spotify for macOS (Apple Silicon) 1.2.38.720.ga4a70a0e this morning & reinstalled the hack. The ads are not shown in Spotify, but I still get the audio commercials in a certain time frame. Hopefully you will find the fix soon. Thank you for all of your hard work!
Indonesia
Free
No
- Spotify version: 1.2.31.1205
- OS: Ubuntu
- Shell: Teriminal
How to Patch non Backup? Force Patch
Searching for Spotify directory...
Found Spotify Directory: /usr/share/spotify
Latest supported version: 1.2.31.1205
Detected Spotify version: 1.2.31.1205
โ Created backup
Warning: Detected SpotX-Bash but no backup file! Reinstall Spotify. Exiting...
India
Free
No
- Spotify version: 1.2.31.1205.g4d59ad7c for macOS(Apple Silicon)
- OS: 14.1 (23B2073)
- Shell: zsh
Running install script works all fine
United States
Free
No
- Spotify version: Spotify for macOS (Intel)
1.2.38.720.ga4a70a0e
- OS: Ventura 13.6.7
- Shell: zsh
bash <(curl -sSL https://spotx-official.github.io/run.sh)
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Latest supported version: 1.2.38.720
Detected Spotify version: 1.2.38.720
โ Created backup
โ Applied free-tier plan patches
โ Enabled experimental features
โ Codesigned Spotify
โ Finished
I had to run the startup command three times when normally it would only take running the command once to get it to work. I've had issues with getting it to work on this imac more than any other imac I've used. It also seems like the program randomly stops working after not opening spotify for a few days and I have to re-run the commands again.
can i get the full lyrics with this crack ?
Poland
Free
No
- Spotify version: 1.2.31.1205
- OS: Arch Linux
- Shell: zsh
bash <(curl -sSL https://spotx-official.github.io/run.sh) -cfhl -P /opt/spotify
User flags: --enable-features=UseOzonePlatform --ozone-platform=wayland
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
zsh: segmentation fault (core dumped) /usr/bin/spotify
(same without userflags, .cache/spotify & .config/spotify don't exist)
โฏ bash <(curl -sSL https://spotx-official.github.io/run.sh) -cfhl -P /opt/spotify
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Using Spotify Directory: /opt/spotify
Latest supported version: 1.2.31.1205
Detected Spotify version: 1.2.31.1205
โ Cleared app cache
โ Detected & restored backup
โ Applied free-tier plan patches
โ Enabled experimental features
โ Removed non-music categories on home screen
โ Removed lyrics background color
โ Finished
No response
United States
Free
Yes
- Spotify version: 1.2.30.1135
- OS: 13.2.1
- Shell: terminal
1.Whenrunning a new install of Spot X it says it needs a password...I have zero passwords on my machine so not sure how to resolve
2.
3.
...
% bash <(curl -sSL https://spotx-official.github.io/run.sh)
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Latest supported version: 1.2.30.1135
Detected Spotify version: 1.2.30.1135
Warning: SpotX does not have write permission in Spotify directory.
Requesting sudo permission...
Password:
No response
Switzerland
Free
No
- Spotify version: 1.2.33.1039 MacOS (Intel)
- OS: Sosoma 14.4
- Shell: zsh
bash <(curl -sSL https://spotx-official.github.io/run.sh) -B --installmac
โ ~ bash <(curl -sSL https://spotx-official.github.io/run.sh) -B
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Latest supported version: 1.2.33.1042
Detected Spotify version: 1.2.33.1039
โ Created backup
โ Applied free-tier plan patches
โ Enabled experimental features
โ Blocked automatic updates
โ Codesigned Spotify
โ Finished```
### ๐ธ Screenshots
_No response_
Poland
Free
No
- Spotify version: 1:1.2.31.1205-2 (latest from aur)
- OS: arch linux
- Shell: bash
so the script says that spotify isn't in the /opt/spotify path, even though it is there. i used the script like 2/3 hours ago, and it worked just fine with the same OS etc. apprarently some of the changes broke it. i've already tried rebooting, setting the path via -P and so on, but nothing worked.
Error: Spotify installation not found.
Install Spotify or set Spotify directory path with '-P' flag.
I guess instead of performing write operations on files, we could simply copy them and perform write operations on copies instead. This would enable the program to not require root access.
I believe the feature won't introduce any disk space overhead. (had a quick look at the code and there is already copy mechanism for backup and later uninstallation)
Also uninstallation process will potentially get simpler as it won't require any operations on the files we wrote something to.
bash <(curl -sSL https://spotx-official.github.io/run.sh) ->
curl -sSL https://spotx-official.github.io/run.sh | bash
more compatible with all terminals.
Perรบ
Free
Yes
- Spotify version: spotify 1:1.2.37.701-1 (AUR)
- OS: EndeavourOS (Arch Linux basically) kernel Linux 6.9.2-zen1-1-zen
- Shell: /usr/bin/zsh
โฏ bash <(curl -sSL https://spotx-official.github.io/run.sh) -eh -P /opt/spotify/
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Error: Spotify not found in path set by '-P'.
Confirm directory and try again.
~ โฏ
Spotify is indeed installed in opt/spotify/ idk wtf is going on.
No response
United States
Free
Yes
- Spotify version: 1.2.25.1011.g0348b2ea
- OS: macOS 13.6.2 (Apple Silicon)
- Shell: zsh
Lyric icon is showing before installing SpotX-Bash, but disappears after install.
bash <(curl -sSL https://spotx-official.github.io/run.sh)
I dislike the fact that this moves the lyrics button over to the right sidebar and i've used other forks of SpotX before but they only got rid of the popups, not the actual between-song ads and i know that the old ui option fixes the lyrics button however when i use it in the terminal command it says "Warning: Old UI not supported in clients after v1.2.13.661...". how can a get around that?
also, i saw that there was older updates of this repo that say they work with my version of spotify (1.2.26.1187) such as this and i was wondering if using that would do it. i don't know how to get that one though so i can't test it. i can program but i don't know much about shell scripting at all.
I get the error below when I try to update via the bash script
Latest supported version: 1.2.15.826
Requested Spotify version: 1.2.15.828.g79f41970-487.tbz
...
Error: Client download failed
Text has been truncated for brevity.
Canada
Premium
No
- Spotify version: 1.2.8.923
- OS: Linux Mint 21.3 Cinnamon
- Shell: bash
There's an unintended ampersand &
in the middle of a string used for the experimental features Array, expEx
. Specifically, on line 865
.
Change it to the word 'and', and the script will run fine.
Searching for Spotify directory...
Found Spotify Directory: /usr/share/spotify
cat: /etc/upstream-release: Is a directory
Debug: Linux Mint 21.3
Debug: x86_64 detected
Debug: APT detected
Debug: flatpak detected
Debug: Cache directory: ~/.cache/spotify
Latest supported version: 1.2.39.578
Detected Spotify version: 1.2.8.923
โ Created backup
โ Applied free-tier plan patches
Unquoted string "web" may clash with future reserved word at -e line 1.
String found where operator expected at -e line 1, near "web",default:\K!1}"
Unknown regexp modifier "/t" at -e line 1, near "+= "
Can't find string terminator '"' anywhere before EOF at -e line 1.
โ Enabled experimental features
โ Enabled new UI
โ Finished
Croatia
Free
No
- Spotify version: 1.2.31.1205.g4d59ad7c
- OS: Pop_os 22.04 TLS
- Shell: bash
The result is the app craches
I've tried some other podcasts and i've tried other music and they work without any issues.
$ flatpak run com.spotify.Client
/app/extra/bin/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/bin/spotify)
[spotifywm] attached to spotify
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
[spotifywm] attached to spotify
[spotifywm] attached to spotify
Gtk-Message: 19:49:51.445: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:49:51.446: Failed to load module "canberra-gtk-module"
[spotifywm] spotify window 3a00004 found
/proc/self/exe: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /proc/self/exe)
[spotifywm] spotify window 3800003 found
[spotifywm] attached to spotify
[spotifywm] spotify window 4200004 found
After pressing the green play button on the podcast episode it shows this in the terminal and shuts down
libc++abi: terminating with uncaught exception of type std::out_of_range: unordered_map::at: key not found
No response
India
Free
No
- Spotify version: 1.2.22.982
- OS: Artix Linux
- Shell: fish (switched to bash for installation)
Tried reinstalling both spotify-launcher and this program, but to no avail.
bash <(curl -sSL https://spotx-official.github.io/run.sh) -cdhf
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Searching for Spotify directory...
Found Spotify Directory: /home/breddie/.local/share/spotify-launcher/install/usr/share/spotify
/home/breddie/.local/share/spotify-launcher/install/usr/share/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /home/breddie/.local/share/spotify-launcher/install/usr/share/spotify/spotify)
Latest supported version: 1.2.22.982
Detected Spotify version: 1.2.22.982
โ Created backup
โ Cleared app cache
Warning: Detected SpotX but no backup file! Reinstall Spotify. Exiting...
SpotX-Official recently removed (as default) the experimental feature that adds the Enhance button. Now you need to pass the -EnhancedSongs parameter, but in SpotX-Bash there is no equivalent.
India
Free
Yes
- Spotify version: Spotify for macOS (Apple Silicon) 1.2.37.701.ge66eb7bc
- OS: Sonoma 14.5
- Shell: zsh
Previously I was able to see lyrics in Spotify, but it's gone and shows the "explore premium" option.
Very saddening
Yes, that ran normally.
India
Free
Yes
- Spotify version: spotify 1:1.1.84.716-13
- OS: CachyOS Linux x86_64
- Shell: fish 3.6.0
1.Download the specified version of spotify from the arch aur repo using git clone command and makepkg -si
2.Run the command bash <(curl -sSL https://gist.github.com/jetfir3/e8830cf8deba6a4f15eec094d344f7b1/raw/spotx.sh) --disablesidebarlyrics -p
to install spotx-bash
3.The shell comes out with an error.
...
Terminal Input
bash <(curl -sSL https://gist.github.com/jetfir3/e8830cf8deba6a4f15eec094d344f7b1/raw/spotx.sh) --disablesidebarlyrics -p
Terminal Output
fish: Invalid redirection target: bash <(curl -sSL https://gist.github.com/jetfir3/e8830cf8deba6a4f15eec094d344f7b1/raw/spotx.sh) --disablesidebarlyrics -p ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
No response
Slovakia
Free
No
- Spotify version: 1.2.31.1205
- OS: Arch Linux 6.8.8
- Shell: Bash
bash <(curl -sSL https://spotx-official.github.io/run.sh) -c -f
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Searching for Spotify directory...
Found Spotify Directory: /opt/spotify
Latest supported version: 1.2.36.959
Detected Spotify version: 1.2.31.1205
โ Cleared app cache
โ Detected & restored backup
โ Applied free-tier plan patches
โ Enabled experimental features
โ Finished
As title states, the lyrics button disappears entirely after installation but comes back after uninstalling Spotx with --uninstall
Tried installing without experimental features but same thing happened.
Spotify version is 1.2.22.982 running on Debian 12.
Is there any reason for why a lot of the variables use encoded strings? I know these can be easily decoded but what's the purpose?
Examples:
Line 99 in 82a390e
Line 102 in 82a390e
Line 211 in 82a390e
Line 248 in 82a390e
Lines 250 to 251 in 82a390e
Lines 492 to 493 in 82a390e
Lines 521 to 522 in 82a390e
This happened today, I have something similar on my iPhone too and I'm getting ads there too. It seems like spotify might have found a way to show us ads through some sort of server side changes.
Belgium
Free
No
- Spotify version: Spotify version 1.2.25.1011.g0348b2ea
- OS: Pop!_OS 22.04 LTS x86_64
- Shell: zsh 5.8.1
-P
โฏ bash <(curl -sSL https://spotx-official.github.io/run.sh)
Searching for Spotify directory...
Error: Spotify directory not found.
Set directory path with '-P' flag.
โฏ bash <(curl -sSL https://spotx-official.github.io/run.sh) -P /usr/share/spotify
Error: Spotify not found in path set by '-P'.
Confirm directory and try again.
โฏ ll /usr/share/spotify
total 265M
drwx------ 5 xxx xxx 4,0K dรฉc. 1 14:54 Apps
drwxr-xr-x 2 root root 4,0K dรฉc. 1 14:31 apt-keys
-rw-rw-r-- 1 root root 641K nov. 8 07:47 chrome_100_percent.pak
-rw-rw-r-- 1 root root 993K nov. 8 07:47 chrome_200_percent.pak
drwxr-xr-x 2 root root 4,0K dรฉc. 1 14:31 icons
-rw-rw-r-- 1 root root 11M nov. 8 06:28 icudtl.dat
-rw-rw-r-- 1 root root 198M nov. 20 17:56 libcef.so
-rw-rw-r-- 1 root root 253K nov. 20 17:56 libEGL.so
-rw-rw-r-- 1 root root 6,2M nov. 20 17:56 libGLESv2.so
-rw-rw-r-- 1 root root 3,9M nov. 20 17:56 libvk_swiftshader.so
-rw-rw-r-- 1 root root 604K nov. 20 17:56 libvulkan.so.1
drwxr-xr-x 2 root root 4,0K dรฉc. 1 14:31 locales
-rw-rw-r-- 1 root root 7,8M nov. 8 09:29 resources.pak
-rw-rw-r-- 1 root root 270K nov. 8 08:07 snapshot_blob.bin
-rwxr-xr-x 1 root root 36M nov. 20 17:56 spotify
-rw-r--r-- 1 root root 238 nov. 20 17:47 spotify.desktop
-rw-rw-r-- 1 root root 623K nov. 8 09:36 v8_context_snapshot.bin
-rw-rw-r-- 1 root root 107 nov. 8 07:45 vk_swiftshader_icd.json
No response
Please add the possibility to patch lyrics colors too, similar to windows's version where it's dark background and green text. Reading the lyrics with red backgrounds really destroys my eyes. I wonder why Spotify doesn't patch it itself.
Thank you :D
United States
Free
No
- Spotify version: Spotify Flatpak 1.2.37.701.ge66eb7bc
- OS: Fedora 40
- Shell: zsh (I have tried bash as well)
bash <(curl -sSL https://raw.githubusercontent.com/SpotX-Official/SpotX-Bash/main/spotx.sh)
I noticed that 05db02e detects the installation correctly. I have not tested any commits after that.
...
โโโโโโโโโ โโโโ โโโโโโโโ โโ โโโโ โโโ โโโโโโโ โโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโ
โโโโโโโโโโโโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโ โโ โโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโ โโโโโโ โโ โโโ โโ โโโโโโโ โโโโโโโโโ โโ
โโโโโโโ โโโโ โโ โโ โโ โโโโ โโ โโโโโโโโโ โโ
Searching for Spotify directory...
Found Spotify Directory: /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/636d85b350ab6c1e9dc2d259d8305aa5274f8d8ea192ee27a25f7bdb1bcbd155/files/extra/share/spotify
Error: Spotify installation not found.
Install Spotify or set Spotify directory path with '-P' flag.
No response
Germany
Free
No
- Spotify version: spotify-1:1.2.31.1205-2
- OS: Manjaro
- Shell: Bash
After applying, audio ads still play. Here an ad plays at the beginning.
I do have the Spicetify package installed, but I used spicetify restore
before applying SpotX. I also performed the reinstallation steps from the troubleshooting page without doing anything Spicetify-related in the meantime.
(I removed a ton of locale warnings (and the ASCII art) from the output, which appear all the time on my system, but never have any effects. I tried to fix them, but did not succeed. It should be unrelated to this problem.)
Searching for Spotify directory...
Found Spotify Directory: /opt/spotify
Latest supported version: 1.2.34.783
Detected Spotify version: 1.2.31.1205
โ Created backup
โ Applied free-tier plan patches
โ Enabled experimental features
โ Finished
No response
United States
Free
No
- Spotify version: Spotify for macOS (Apple Silicon)
1.2.9.743.g85d9593d
- OS: macOS Monterey v12.5
- Shell: zsh
bash <(curl -sSL https://gist.github.com/jetfir3/e8830cf8deba6a4f15eec094d344f7b1/raw/spotx.sh)
Everything loaded into Terminal like normal
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.