WavHead icon indicating copy to clipboard operation
WavHead copied to clipboard

Queue never updates until a song ends

Open connorshea opened this issue 11 years ago • 2 comments

Open up WavHead on desktop, then vote for a few songs on a mobile device. The queue won't ever check for new songs that have been queued until you either reload the page or wait until the current song ends. It should probably check every 10 seconds, I think? That way you will at least see the queue being updated when people vote for songs.

connorshea avatar Oct 17 '14 15:10 connorshea

How about ajax requests?

ismcodes avatar Nov 25 '14 17:11 ismcodes

That's how the Queue updates now. In fact, there's actually a function (pretty sure I called it "updateQueue()") that snags the new Queue with AJAX automatically.

I'll add a timer to run that once every six seconds, or something.

On Tue, Nov 25, 2014 at 10:17 AM, Isaac Moldofsky [email protected] wrote:

How about ajax requests?

— Reply to this email directly or view it on GitHub https://github.com/noidedmedia/WavHead/issues/85#issuecomment-64436255.

AnthonySuper avatar Nov 25 '14 17:11 AnthonySuper