Skip to content

Mutes Spotify audio ads in Linux. Based on project by nisiddharth, modified to properly mute ads of variable lengths without muting any part of songs. Works with pipewire-pulse.

Notifications You must be signed in to change notification settings

seths22/Mute-Spotify-ads-on-Linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Script to mute Spotify audio ads in Linux

This is purely a bash script.

Requires pipewire-pulse to work.

Starts Spotify client and mutes audio ads of any length, without muting songs.

Requires Spotify client to be installed. If you are using the Flatpak version of spotify, replace the second line in run-spotify.sh with the following: flatpak run com.spotify.Client > /dev/null 2>&1 &

Usage:

Run the script run_spotify.sh and Spotify will start with the script running in a terminal. To exit, close the terminal (simply closing the Spotify client will leave the script running). To work properly, all files must be stored in the same directory.

Note: this script works with music only. Podcasts are recognized as ads, and thus are muted. Eventually I may try to find a way to fix this. In the meantime, if you want to listen to podcasts you must open Spotify without this script.

About

Mutes Spotify audio ads in Linux. Based on project by nisiddharth, modified to properly mute ads of variable lengths without muting any part of songs. Works with pipewire-pulse.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%