holman/play — Issue #98: Setting up play/next problems
Author: jparishy
Created: 2012-02-21 18:35:05+00:00
State: open

Hi guys,

Previously, I've worked on the master branch, and now I'm starting work on the next branch, on a new machine and am having trouble setting it up.

Here's what I did to get it running (because the current Readme.md in both branches corresponds to master?):
1. Create and edit config/play.yml to include my OAuth credentials and Pusher info.
* Note, I'm not sure what the 'stream_url' key is for, exactly?
2. I then ran 'bundle install', all went well.
3. Installed and started a redis server instance.
4. Ran 'rake start'.
* This starts the realtime script as well as the thin server (or just the server on joeyw's new branch).

At this point, I don't get any errors, and I can navigate to localhost:5050 in my browser, and it looks like this:
![play/next in my browser](http://i.imgur.com/eGl06.png)
I was expecting this, as I haven't quite found the link to where the songs are added to redis in next.
On another machine, where I had been working with master, I was able to call the import-v1 script and got (what I assume) is the correct queue list, as it was populated and I was able to search and queue songs. (I'd show what that looked like, but I don't have access to it right now) I don't have a play mysql database setup on this machine, however.

The only button visible, play, at the top left doesn't do anything for me. I found references to previous and next buttons in the code, but have never been able to see them. There's also a reference to one "#play-stream" in behaviors.js.coffee, but when the play button is clicked, the JS debugger in chrome says it's getting nothing back, as the stream variable is null.

I feel like I'm completely missing something here; I'd appreciate some enlightenment!

Thanks!