Giter Club home page Giter Club logo

spotify-muter's Introduction

SpotiMuter

SpotiMuter is an Electron application that mutes Spotify ADs. When a Spotify AD is playing, SpotiMuter automatically mutes the Spotify application on Windows and mutes your speakers on all other platforms. It DOES NOT remove ADs from Spotify. Spotify has patched HOST file editing. Even if there is a way to remove ADs completely, it can be detected by Spotify and WILL get your account banned. What SpotiMuter is doing is on the client side ONLY, and will NOT get your account banned by Spotify.

Build from source

Instructions on how to build SpotiMuter from source.

  • Prerequisites:

    • A computer with a git command line
    • A computer that has nodeJS installed on it, and the ability to install npm modules.
    • Know the basics of how to install NPM packags & rebuild them if necessary.
  • Instructions:

    • Fork SpotiMuter using git clone https://github.com/AirFusion45/Spotify-Muter.git
    • Install all required dependencies using npm install
    • Go into config.json and make sure that devMode is set to false
    • Start app using npm start || electron .

NPM Rebuild Instructions

You might need to rebuild some modules when building from source. It is helpful if you have a basic understanding of how NPM rebuilding works. Below is a rough example of the rebuild command. The command below is for rebuilding robotjs against node 69. npm rebuild --runtime=electron --target=4.2.0 --disturl=https://atom.io/download/atom-shell --abi=69

Download Alpha Version

  • The alpha version of the complied EXE is under "release".
  • Please note that this software is still in ALPHA. There is only a windows EXE that hs been compiled. MacOS .dmg has not been compiled. Read the first release on why there is no MacOS .dmg

SpotiMuter Features

  • Mutes Spotify application/Speakers when AD is playing
  • Shows basic song information in application:
    • Song name
    • Artist names
    • Explicit rating by Spotify
    • Duration of song
    • Current progress of song
    • Toggleable AD block (If you want to hear the AD you can toggle the AD blocker off)
    • Toggleable stickyness (If you want the app to be sticky - stay on top of all other windows)
    • Adaptive app background - A color that best fits the album cover & song - This is calculated using k-means clustering - See the paper here: Hasler and Süsstrunk (2003)

Authors

  • AirFusion45 - Owner

License

This Project is licensed under MIT License - see the LICENSE.md file for more details. The main points of the MIT License are:

  • This code can be used commercially
  • This code can be modified
  • This code can be distributed
  • This code can be used for private use
  • This code has no Liability
  • This code has no Warranty
  • When using this code, credit must be given to the author

Credits

Here are credits for all the code I used that was from other repositories.

  • Electron basics from Traversy Media's videos here & here.
  • Additional Electron knowledge from DesignCourse's video here.
  • Spotify OAuth basics from haptixgames's video here.
  • Additional Spotify OAuth knowledge from Traversy Media's video here.
  • Additional examples for SpotiMuter's background color selection algorithm from davidkrantz's Colorfy here
  • Implimentation of k-means clustering is from akfish's node-vibrant here

Contact Me

Feel free to contact me if you find bugs, license issues, missing credits, etc. Feel free to contact me by email or Discord!

Note/Notes

Please check the releases for known issues and newest releases.

spotify-muter's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar jimfangx avatar

Stargazers

 avatar  avatar  avatar

spotify-muter's Issues

Prev issue - has new info

prev issue: windows app would start w/ Spotify muted
change adopted: unmute on startup

possible reason now: shutdown while playing ad. cause speaker to continue to be muted. and somehow the unmute on startup fails to exec. need more investiga.

not major issue. no milestone attached

Fix reauth issue on Mac

Somehow the 5sec api requst thing broke the toke renewal code?? on mac only. Need to find fault area and fix.

Does it work?

Is it currently in a stage where it is functional?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.