Coder Social home page Coder Social logo

playerpiano's Introduction

Overview

PlayerPiano is a streaming music client for Pandora. It uses the pianobar project to load the data and play music through OS X's audio sound system. The goal is to provide a very low-overhead player that integrates with the OS wherever possible. It doesn't use WebKit or Flash to stream audio, so PlayerPiano takes almost no CPU or RAM to run.

Currently, PlayerPiano requires that a build of the pianobar command-line application be placed within the application bundle (this was done to get the app running quickly). In the future, I'd like to link against the pianobar libraries directly to better control the interface for interacting with Pandora. See the wishlist below if you're interested in hacking on PlayerPiano.

Dependencies

Install

  1. git clone git://github.com/amazingsyco/PlayerPiano.git
  2. cd PlayerPiano
  3. git submodule init
  4. git submodule update
  5. Open the Xcode project for PlayerPiano and build the application

Set Up

You need to add your Pandora account information to the settings. To do this, you need to execute two commands from the command line:

  • defaults write com.villainware.PlayerPiano pandoraEmail [email protected]
  • defaults write com.villainware.PlayerPiano pandoraPassword yourPassword

Once you do this, restart PlayerPiano.

Extending PlayerPiano

You can get the currently playing song by reading the tab-separated values file at ~/Library/Application Support/PlayerPiano/nowplaying.tsv, in the format of song-artist-album. You can also subscribe for a distributed notification which gets fired when the track changes, named "com.villainware.PlayerPiano.PPPianobarControllerDidBeginPlayingTrackNotification".

License

See the LICENSE.md file for license information.

Contributors

  • Steve Streza
  • Josh Weinberg
  • Matt Ball

Wishlist

  • Add UI for creating and switching between multiple accounts
  • Add media playback key control
  • Add a Share button for posting the song to Twitter/Facebook/Last.fm/AIM/etc

playerpiano's People

Contributors

stevestreza avatar mattball avatar jweinberg avatar

Watchers

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