Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Pianobar GUI for Mac OS X Snow Leopard

branch: master
Octocat-spinner-32 PlayerPiano.xcodeproj Added temp file support for other apps to get the now playing song May 25, 2010
Octocat-spinner-32 Resources Hacky volume slider June 28, 2010
Octocat-spinner-32 contrib Merging in landonfs fixes June 27, 2010
Octocat-spinner-32 .gitignore fixing ignores May 17, 2010
Octocat-spinner-32 .gitmodules Readded pianobar May 22, 2010
Octocat-spinner-32 LICENSE.md Updated licensing information April 16, 2010
Octocat-spinner-32 MBPreferencesController.h Merged changes from mattball May 23, 2010
Octocat-spinner-32 MBPreferencesController.m Merged changes from mattball May 23, 2010
Octocat-spinner-32 NSString+TimeParsing.h Updated license URL April 16, 2010
Octocat-spinner-32 NSString+TimeParsing.m Updated license URL April 16, 2010
Octocat-spinner-32 NSWindow+TitlebarAccessory.h Updated license URL April 16, 2010
Octocat-spinner-32 NSWindow+TitlebarAccessory.m Updated license URL April 16, 2010
Octocat-spinner-32 PPAccountPreferencesViewController.h Add preferences window with account info pane May 22, 2010
Octocat-spinner-32 PPAccountPreferencesViewController.m Add preferences window with account info pane May 22, 2010
Octocat-spinner-32 PPFileHandleLineBuffer.h Updated license URL April 16, 2010
Octocat-spinner-32 PPFileHandleLineBuffer.m Eliminate some warnings May 22, 2010
Octocat-spinner-32 PPGrowingTextField.h Add iTunes/Amazon link beside song title. May 12, 2010
Octocat-spinner-32 PPGrowingTextField.m Add iTunes/Amazon link beside song title. May 12, 2010
Octocat-spinner-32 PPITunesButtonCell.h Add iTunes/Amazon link beside song title. May 12, 2010
Octocat-spinner-32 PPITunesButtonCell.m Add iTunes/Amazon link beside song title. May 12, 2010
Octocat-spinner-32 PPLineParser.h Updated license URL April 16, 2010
Octocat-spinner-32 PPLineParser.m Updated license URL April 16, 2010
Octocat-spinner-32 PPLineRecognizer.h Updated license URL April 16, 2010
Octocat-spinner-32 PPLineRecognizer.m Updated license URL April 16, 2010
Octocat-spinner-32 PPNewStationController.h Merged changes from mattball May 23, 2010
Octocat-spinner-32 PPNewStationController.m Merged changes from mattball May 23, 2010
Octocat-spinner-32 PPPianobarController.h Merge branch 'master' of http://github.com/amazingsyco/PlayerPiano May 19, 2010
Octocat-spinner-32 PPPianobarController.m Add iTunes/Amazon link beside song title. May 12, 2010
Octocat-spinner-32 PPSliderCell.h Updated license URL April 16, 2010
Octocat-spinner-32 PPSliderCell.m Change slider to iLife-style appearance May 14, 2010
Octocat-spinner-32 PPStyleSheet.h Updated license URL April 16, 2010
Octocat-spinner-32 PPStyleSheet.m Updated license URL April 16, 2010
Octocat-spinner-32 PPStyleView.h Updated license URL April 16, 2010
Octocat-spinner-32 PPStyleView.m Fixed warnings and enabled EXTREME MODE with -Werror May 23, 2010
Octocat-spinner-32 PPTempFileWriter.h Added temp file support for other apps to get the now playing song May 25, 2010
Octocat-spinner-32 PPTempFileWriter.m Added temp file support for other apps to get the now playing song May 25, 2010
Octocat-spinner-32 PPTimeIntervalTransformer.h Updated license URL April 16, 2010
Octocat-spinner-32 PPTimeIntervalTransformer.m Updated license URL April 16, 2010
Octocat-spinner-32 PPTitlebarAccessoryPopUpButton.h Updated license URL April 16, 2010
Octocat-spinner-32 PPTitlebarAccessoryPopUpButton.m Fixed player to actually work May 22, 2010
Octocat-spinner-32 PlayerPianoAppDelegate.h Added temp file support for other apps to get the now playing song May 25, 2010
Octocat-spinner-32 PlayerPianoAppDelegate.m Added temp file support for other apps to get the now playing song May 25, 2010
Octocat-spinner-32 PlayerPiano_Prefix.pch It compiles, I think April 16, 2010
Octocat-spinner-32 README.md Added extendability docs May 25, 2010
Octocat-spinner-32 main.m Updated license URL April 16, 2010
README.md

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 your@email.com
  • 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
Something went wrong with that request. Please try again.