Skip to content

w-lopes/sporeset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Spotify Reset

Tired of Spotify ads? This script automatically detects when advertisements are playing and restarts Spotify to skip them.

What does it do?

It monitors Spotify window titles and when it detects "Advertisement" (so please, avoid music with this title lol), it automatically:

  • Kills the Spotify process
  • Restarts Spotify
  • Minimizes the window
  • Resumes playback

Requirements

  • Debian Mate with X11 (it should work on others distros/desktop environments too, but I only tested on that)
  • xdotool
  • Spotify desktop app (duh)

Installation

sudo apt install xdotool
git clone <this repo url>
cd spotify-reset
chmod +x sporeset.sh

Usage

./sporeset.sh &

The script runs continuously in the background, monitoring for advertisements.

Better usage?

Put it on your Startup Applications :)

About

Automatically detects when advertisements are playing on Spotify and restarts to skip them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages