View Single Post
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#1
pyPianobar

pyPianobar is a python2.5-qt4 (PyQt4) front-end for the pianobar Pandora radio client.

Why??
Currently, the Pandora website works fine in the N900 browser and thus, many people have decided a GUI application for it is not necessary. I disagreed, as did a couple others. The Pandora website is entirely flash, and while the N900 brings flash to our browser (which is excellent) - flash is also very CPU intensive and sluggish.

Pianobar steps in to be extremely lightweight, taking almost no overhead, and permits us to listen to our favorite online radio station in the background. Unfortunately, it's completely command line driven and as such, rather unintuitive.

This gave birth to pyPianobar. It is my first PyQt4 application and I welcome any feedback. It controls pianobar in the back-end allowing users to "click" a button to perform tasks.

Features:
  • Login to pianobar via username/password popup box
  • Skip Songs
  • Play/Pause
  • Change Stations
  • "Like" songs
  • "Hate" songs
  • Display Title, Artist, and Album
  • Display album art
  • Complete integration with the pianobar default config file (~/.config/pianobar/config)
  • Create & Delete stations
  • Configure Last.fm username/password (requires restart of pyPianobar)
  • Snooze
  • Mark songs "Tired"

Known Issues:
  • Station list will not load if an auto-play station is in the config-file.
  • Python-Qt4 bindings are non-optified! Keep this in mind! Reports say it takes 44MB of rootfs. -- No longer an issue.

To be done:
  • Add more skins. Currently "white" is the only one.

How??
  1. We are in Extras!
  2. Locate pyPianobar in Application Manager and Install
  3. Launch pyPianobar from Applications menu
  4. If you have an N800/N810, please see these instructions instead.
Vote for Pianobar here, and pyPianoar here to promote to Extras!!! Pick the current version in Extras Testing ARMEL.

Why Python??

Simplicity. Using python, not only is this application runnable on the N900 - but it should also work with the next Maemo 6 model if they keep QT compatibility, and it also runs on Desktop Linux. This should, in theory, run on any device that supports python2.5 and qt4. I have included screenshots from the SDK, Desktop Ubuntu, and an N900.


Show me the Money!
The N900:



Thanks Thorprime!

The SDK:


Desktop Ubuntu:


Special thanks goes to Thorprime for the interface and current screenshots and to Bratag for helping me test on a live N900 device!
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!

Last edited by fatalsaint; 2010-04-14 at 15:33.
 

The Following 19 Users Say Thank You to fatalsaint For This Useful Post: