Skip to content

(proof of concept) bash script that mutes spotify ads

License

Notifications You must be signed in to change notification settings

chebro/spotify-admute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Admute

Hate spotify ads? this script may help you.

A lightweight bash daemon that monitors the dbus for change in mpris title metadata and mutes/unmutes the default pulseaudio sink depending on whether or not it is an advert.

Dependencies

Run as daemon

If you are running systemd,

  1. copy systemd/admute.service to $HOME/.config/user/systemd/
  2. edit the ExecStart path to %h/path/to/script (%h expands to $HOME), then
# start service
systemctl --user start admute.service

# automatically run service on boot
systemctl --user enable admute.service

If you're on i3wm, it is easier to just append this to your config,

exec --no-startup-id /path/to/script

Todo

  • write systemd service file
  • finish README
  • measure performace

About

(proof of concept) bash script that mutes spotify ads

Topics

Resources

License

Stars

Watchers

Forks

Languages