We all love Spotify, but sometimes people (like us) want to throw a party without having to listen to interrupting ads before having bought Spotify Premium. Well, with this killer project, now you can!
This is for testing purposes ONLY! Spotify is a fantastic service and worth every penny. This script is NOT meant to circumvent buying premium! Please do consider switching to premium to support Spotify - especially if you're going to use it on mobile. If the script does not work for you, help us improve it!
wget -O spotify-mute-ads.sh https://gist.githubusercontent.com/logical-and/825bab160d604d82bf6ad9ebd3a6410d/raw/84f77518f6fa8980e73fcf1fadd30d223f2100a1/spotify-mute-ads.sh
chmod ug+x spotify-mute-ads.sh
./spotify-mute-ads.sh
# - OR
nohup ./spotify-mute-ads.sh > /tmp/spotify_mute.log
Utilities used in the script:
- xprop
- pacmd
- xdotool
This script is based on:
- https://gist.github.com/pcworld/3198763
- https://gist.github.com/pcworld/3198763/af2a4981c6f26075c0a16a261f5294f2cf5e5da5#gistcomment-3384837
- https://github.com/SecUpwN/Spotify-AdKiller (took description from there :))
Thank y'all guys!
Never mind I fixed it for my case. The issue was in Line 47. The
sed
command was not required for me.