Closed joshmcarthur closed 11 years ago
I should just be able to refresh this by pushing a string of HTML out from the daemon - JS on the view subscribed to queue/current and queue/next should be able to listen for this, and replace the relevant DOM elements.
Oh, this is done :-)
Currently, the queue page refreshes every 5 or 10 seconds. This breaks notifications, which can't handle a page reload (but should really be able to). It seems neater now that we have a pubsub framework in place, to push track play changes using PrivatePub, so that:
a) Changes happen in realtime instead of waiting for the next page load b) We can get rid of the meta refresh
Jack has also suggested getting rid of the Queue page altogether and just showing this info in the modal - I vaguely like this idea, but is does feel like a bit of a workaround, and is much tricker to make responsive.