To complement what Romain said, the problem here is that reloading is
an asynchronous process. When the first round finishes, reloading
starts, but we don't wait for reloading to be finished: if we need to
play a new track it will be picked from the old playlist. In your
example, the new playlist "arrives" while the old first track plays.

We probably want to keep playlist as it is currently. Otherwise we
could have latency problems. The solutions that Romain want to propose
involve other operators such as request.dynamic and request.queue.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to