For arch users AUR link spotblock-rs
- works with pipewire
- checks playerctl to check if an advertisment is playing and will mute its pulseaudio sink
- install rust
- Install playerctl
- Ensure you have
pactl
installed (runpactl
in a terminal to check) - download the files from github
git clone https://github.com/egggod/spotblock-rs
- enter the programs directory
cd spotblock-rs
- Install
./install.sh
- Now spotblock should be available from your application menu, this will run spotify and start spotblock, and then kill spotblock after you close it
- alternatively run
spotblock-run
from a terminal to run spotify with ad muting enabled - and run
spotblock-rs
from a terminal to run just the adblocker
This set of code is purely for educational purposes. What you do with the code and any repurcussions is entirely your responsibility.