JayThomason / Tutti

Tutti is a shared music application for the car being made in conjunction with Audi.
3 stars 1 forks source link

Add /updateJam endpoint to server API with corresponding client method #206

Closed hwray closed 10 years ago

hwray commented 10 years ago

It might help fix some of our syncing issues to just push out the new state of the Jam in its entirety to each client after each update request. I'll add an /updateJam server endpoint and a corresponding client method to do so.

hwray commented 10 years ago

I added a broadcastJamUpdate() method to the Jam and a corresponding /updateJam endpoint to our server API, which receives JSON push requests similar to our /updateLibrary and /updateAlbumArt endpoints. We'll see if this helps fix some of our syncing problems.