Coder Social home page Coder Social logo

swinton / spotipy Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 85 KB

A Python module providing a rudimentary interface to the Spotify player on OS X (play/pause, next/previous, shuffle, repeat, volume_up/volume_down/mute)

Home Page: http://github.com/swinton/spotipy

License: GNU Lesser General Public License v3.0

Python 100.00%

spotipy's Introduction

Spotipy - A rudimentary interface to the Spotify player on OS X

Usage

  1. Install Spotipy from the Python Package Index, e.g. using easy_install:

     $ easy_install spotipy
    
  2. Remember to activate assistive device support see http://www.macspeech.com/extensions/faq/kb.php?article=48

  3. Use Spotipy like so:

     from spotipy import Spotipy
    
     spotify = Spotipy()
     
     # play/pause
     spotify.play_pause()
     
     # next/previous
     spotify.next()
     spotify.previous()
     
     # shuffle
     spotify.shuffle()
     
     # repeat
     spotify.repeat()
     
     # volume up
     spotify.volume_up()
     
     # volume down
     spotify.volume_down()
     
     # mute
     spotify.mute()
    

Inspiration

Inspired by http://macdevcenter.com/pub/a/mac/2007/05/08/using-python-and-applescript-to-get-the-most-out-of-your-mac.html?page=2 and http://www.jacktams.net/2009/05/15/controlling-spotify-through-applescript-quicksilver/

spotipy's People

Contributors

swinton avatar

Stargazers

Joe Conyers III avatar Dreamcat4 avatar  avatar

Watchers

James Cloos 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.