Brainstorm

Pandora/pianobar GUI

Posted on 2010-01-02 03:24 UTC by adam steele. Status: Under consideration, Categories: Media.

Pandora is an online radio service similar to last.fm. They are fairly 'closed source' and don't have an API available (unliked last.fm). A program called pianobar has been written which gives a CLI interface to Pandora. It has been ported to the N900 already and works rather well (much less resource hungry than running the flash based webpage).

What is needed is a simple "finger friendly" GUI wrapper to the CLI pianobar program.

This is a fairly simple project. Someone with the proper experience could bang this out in a weekend.

Talk link: http://talk.maemo.org/showthread.php?p=449500

Solutions for this brainstorm

0
0
0

Solution #1: Python/GTK/pexpect

Posted on 2010-01-02 03:24 UTC by adam steele.

I've tried my hand at a Python/GTK/pexpect based one but can't seem to get it working coherently (a lack of GTK/threading experience is to blame). Python and GTK can handle this task-- pexpect might not be the idle solution to communicate to a background thread (popen may work better).

0
0
0

Solution #2: PyQT4/Popen

Posted on 2010-01-21 14:58 UTC by FatalSaint Alucard.

Using Python + Qt4 and the python subprocess module with Popen and PIPE I have built a working GUI that retrieves output from pianobar and can write to the pianobar process, so virtually complete control.

I will continue working on this project until it is something more useful for the community, and likely put into extras-devel.  The chances of it making it to extras is slim right now because of the dependency list on all the pyqt4, and pianobar with it's libmad and libao dependencies.  All of which are still in extras-devel.

Update: Has been put into extras-devel as pyPianobar.  Completely functional with Username/Password prompts, station creating, deleting, and switching.

Latest activities to brainstorm Pandora/pianobar GUI