mikedm139/Pandora.bundle — pull request #4 by mmccurdy07 (2012-09-26 06:33:47+00:00)
Title: Station management, better playlist caching

First pass at station management. It's fully functional as-is, but it would be good to give the user an opportunity to confirm station deletion, and it would be good to automatically select the newly-added station in the StationList objectContainer (not sure if either of these is possible in the framework).

I also added some Dict caching of the playlist with an expiry time of 10 minutes, since I noticed that starting playback then stopping it part way through was always forcing a refresh of the full playlist, which eats away at the user's allocation of getPlaylist queries.

Also the track callback seems to work fine. I noticed that "play on [device]" seems to work for the NPR channel plugin, so I can investigate that one a little more.