GithubHelp home page GithubHelp logo

imclab / spotifree Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artemgordinskiy/spotifree

0.0 3.0 0.0 7.68 MB

An OS X app that automatically mutes ads on Spotify.

Home Page: http://Spotifree.gordinskiy.com

spotifree's Introduction

Spotifree

Spotifree is a free OS X app that automatically detects and mutes Spotify audio ads.

Installing

  1. Download Spotifree from the website;
  2. Move Spotifree.app to the Applications folder, run, and enjoy your ad-free music listening experience :)

On the first run, Spotifree will ask you if you want it to run automatically at login. If you agree, the app will be added to the login items. From this moment, Spotifree will mute all Spotify ads it detects (usually, all of them). Don't worry though, it will not impact your Mac's performance and you'll never notice it running.

How it works

Spotifree is polling Spotify every .3 seconds to see if current track has a track number of 0 (as all ads do). If it is, Spotify is muted for a duration of an ad. When an ad is over, the volume is set to the way it was before.

Building

The first build may take a while because the Sparkle Framework will be downloaded automatically by this run script:

#Check whether Sparkle.framework exists
if [ ! -d "$SRCROOT/Sparkle.framework/" ]; then
    
    #Download
    echo "Downloading Sparkle. This may take a while."
    curl --silent "http://sparkle.andymatuschak.org/files/Sparkle%201.5b6.zip" > "$SRCROOT/Sparkle.zip"

    #Organize
    unzip -q "$SRCROOT/Sparkle.zip" -d "$SRCROOT/Sparkle/"
    mv "$SRCROOT/Sparkle/Sparkle.framework" "$SRCROOT/Sparkle.framework"

    #Cleanup
    rm -rf "$SRCROOT/Sparkle/"
    rm "$SRCROOT/Sparkle.zip"
    echo "Done"

fi

If this doesn't work for you, do it manually:

  1. Download Sparkle from the website.
  2. Go to the unzipped Sparkle folder.
  3. Copy "Sparkle.framework" to your project folder.
  4. Done. You can now build the app in Xcode.

spotifree's People

Contributors

artemgordinskiy avatar moritzz avatar

Watchers

 avatar  avatar  avatar

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.