GithubHelp home page GithubHelp logo

imclab / pianobar-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amyreese/pianobar-python

0.0 2.0 0.0 121 KB

Python wrapper and Gnome integration for the Pandora client "pianobar"

Home Page: http://leetcode.net/

License: GNU General Public License v3.0

Python 100.00%

pianobar-python's Introduction

pianobar-python

About
=====

This is a set of wrapper libraries and scripts designed to work with the
Pandora client "pianobar".  pianobar was originally created Lars-Dominik Braun,
and can be found at http://6xq.net/html/00/17.html

The main purpose of this project is to allow a more native/pretty interface to
pianobar, or at least from the perspective of a Gnome user.  The included
"daemon" script interfaces with Gnome's play/stop/next media keys so that the
user can control pianobar without having to find the right terminal window, or
while running pianobar from a disconnected screen session.  The "event" script
handles event_command data from pianobar and generates system notifications via
libnotify that relay song data, as well as any error messages.


Usage
=====

Running the daemon script is as easy as running:

  python path/to/pianobar/daemon.py

Using the event handler script requires modifying your pianobar/config file so
that the event_command value is set to the event script, such as:

  event_command = path/to/pianobar/event.py


Caveats
=======

This has only been tested on my own local system:
  Ubuntu 9.10 with pianobar compiled and installed to /usr/local/

Currently, the control system and daemon script require the user to already
have installed and started pianobar, and to have not modified any action keys.

The daemon script only works in Gnome, as it uses dbus to listen for Gnome's
media key signals.

The event handler script requires pynotify to be installed.


Bug Reports
===========

If you find any problems with this project, please do not hesitate to visit my
bugtracker at http://leetcode.net/mantis/ and submit a report.

pianobar-python's People

Contributors

amyreese avatar kparaju avatar

Watchers

 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.