Skip to content

Block AI-generated music on Spotify using a crowd-sourced list. For listeners who prefer real artists.

License

Notifications You must be signed in to change notification settings

CennoxX/spotify-ai-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify AI Blocker

Block AI-generated music on Spotify using a crowd-sourced list. This project collects artists making AI-music and blocks them automatically with a userscript.

Caution

Spotify doesn’t provide a public API to block artists, so this userscript uses a workaround by capturing Spotify’s tokens and mimicking internal requests from Spotify’s web client. Using unofficial API requests may violate Spotify's Terms of Service.

How It Works

  1. List Fetching: Loads daily 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.

Installation

  1. Install a userscript manager (e.g. Tampermonkey, Violentmonkey).
  2. Visit the script on GreasyFork or GitHub.
  3. Click Install and confirm.

Support

Found an AI-music generating artist? Add an AI artist using GitHub or send a mail.

Other problems? Open an issue.

About

Block AI-generated music on Spotify using a crowd-sourced list. For listeners who prefer real artists.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published