8000
Skip to content

Latest commit

 

History

1,462 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify AI Music Blocker

Block AI-generated music on Spotify

Automatically blocks artists known for AI-generated music using a community-maintained list.

  • Runs directly in your browser
  • No manual blocking
  • Daily updated
  • Fully open source

Check if a Spotify Artist is AI-Generated

Wondering if a Spotify artist is AI-generated? If you don’t want to install the script and just want to check an artist, you can search the list of AI music artists here:
Search the AI Artist List

Use the Search this file box at the top of the page to look for the artist name or ID.

Installation

  1. Install Tampermonkey
    • The script requires direct page-context access, which other userscript managers do not support.
    • If you use Chrome, you must allow Tampermonkey to run scripts: Permission to execute userscripts.
  2. Open the script on:
  3. Click Install and confirm.
  4. Open Spotify Web Player to run the script.

How It Works

The script automatically blocks artists from a community list of AI-generated music and runs quietly when you open Spotify Web.

Caution

Spotify does not provide an official API for blocking artists. This userscript mimics requests made by Spotify’s web player and may violate Spotify's Terms of Service. Use at your own risk.

  1. List Fetching: Daily loads a crowd-sourced CSV list of artists generating AI music from GitHub.
  2. Token Capture: Hooks into Spotify’s internal fetch requests to extract the access token.
  3. Username Detection: Retrieves the logged-in username from Spotify’s localStorage.
  4. Blocking: Sends POST requests with access token and username to Spotify’s private API to block each artist.
  5. Persistence: Remembers blocked artists and last run date using localStorage to prevent duplicate requests.

Help Improve the List

Found an AI-generated artist that is not on the list? Submit them using the GitHub submission form.

You can also submit the currently playing or the currently opened artist anonymously from Spotify Web: Hold Shift + Right Click (Spotify disables the normal context menu), then go to Tampermonkey → Spotify AI Artist Blocker → Report playing AI Artist / Report opened AI Artist. A new submission with the artist will automatically be created.

Similar Projects

FAQ

Does this work in the Spotify app?
Blocking the artists only works in the Spotify Web Player. But once blocked, the artists are blocked everywhere you use Spotify.

Do I need to install this on every device?
No, the block applies globally to your Spotify account, so once an artist is blocked, it counts on all devices.

Can I unblock artists later?
Yes, just unblock them on their artist page, they will not be blocked from that device again.

Will this get my Spotify account banned?
No known bans so far, but it uses unofficial methods and could theoretically violate ToS.

Support

Other problems? Open an issue on GitHub.

About

Block AI-generated music on Spotify Web automatically using a community-maintained list. Runs in your browser with Tampermonkey, keeps your Spotify account free from AI artists, and updates daily.

Topics

Resources

Stars

134 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages

0