Caches songs from a Pandora radio station to avoid latency issues on bad WiFi.
-
Install the necessary dependencies.
brew install ffmpeg mpg123 portaudio
-
Install the necessary libraries.
bundle install
-
Create a
.pandora
configuration file.username: "USERNAME" password: "PASSWORD" station: "STATION NAME"
-
Run the application.
ruby application.rb
-
Open the interface.
open http://localhost:4567/
-
Use the shortcut keys for control. Space to pause or play, and N to go to the next song.
radio uses the MIT license. See LICENSE for more details.