View Single Post
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#269
Ok, new pyPianobar (2.1-1) up - few changes, hopefully make some people happy.

* Enable / Disable FM Transmitter menu button
* Attempt #2 at solving the 100% CPU pianobar lockup (re: auth token timeout)
* A somewhat hybrid/screwed/half-asked implementation of the "history"

I'll explain that last bit. Due to the fact I suck at UI design completely, and that I have no button (and no space) for another "save" button for songs.. I have implemented a somewhat .. meh .. method.

Essentially, any song you Love (whether it just comes up in the playlist, or you click the "Thumbs up" button) will get written to ~/.config/pianobar/history.

This file currently gets cleared out every time the app starts up; so if you want information out of it I suggest copying the file before starting pyPianobar next time.

I certainly intend to perfect this history thing; especially since you may want to save off songs you don't want to "Thumbs Up" - but this gets me about half-way there.

Any suggestions on UI design and buttons welcome always. For example: Maybe a button for the FM Tx On/Off as well instead of a menu item? A button for saving songs to a file (at which point I *wouldn't* clear the file automatically..)?

Layout ideas?

Anyway.. this should give some people stuff to play with for a bit. Hope you like it!
__________________
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!
 

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