smashwilson/websinger — Issue #16: Implement separate player clients for test, dev, and production
Author: smashwilson
Created: 2012-03-03 20:20:39+00:00
State: open

The existing `client.rb` will become the production one, which communicates with a real websinger player process via ActiveRecord and the `status.yaml` file. For development, create a client that launches a background thread to simulate playing progress without actually creating sound, at a realtime rate (advance through the current track at one second per second). For testing, create a client that skips through tracks on demand, i.e. a `finish_track` method that simulates playing a track to completion.