edgecase / spotbox

Official jukebox of the EdgeCase lab
Other
13 stars 1 forks source link

Player view does not initialize correctly after restarting server #27

Closed agrieser closed 12 years ago

agrieser commented 12 years ago

Player view shows nothing playing, and no progress bar if the node server is restarted while backend player is playing.

agrieser commented 12 years ago

When the server is restarted, it loses all in memory track information. The player (backend) sends progress information, but the node server does not actually know what song is being played.

Should the player (backend) publish the uri of the song along with progress updates?

tonywok commented 12 years ago

Yeah, I think so. It would certainly be easy enough to do.

tonywok commented 12 years ago

A playing spotbox driver now sends track url along with track position. Spotbox player view updates to reflect a playing state.