[ http://dev.sourcefabric.org/browse/LS-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260#action_15260 ]
David Baelde commented on LS-485: --------------------------------- This is probably not a bug: if the request is already in the primary queue, then it is marked as expired (sorry for the jargon, it's useful for devs) which only means that it will be removed from the queue if possible, that is if the queue manages to refill with other requests before somebody starts consuming it. In your case there's no other request after 3, so no chance of refilling. The reason for this way of working is that we want to ensure that if a source declares itself as ready ("I have a request to play") then it should not back out when somebody takes up on the offer. The current mechanism gives us a nice way of doing that, but as you pointed out it does not exactly cover the case where (1) there is no new request to replace the one that has been expired but (2) the source did make any promise to have a ready request. I'm not sure I want to, or can change this soon. A simple way to avoid this behavior is to tweak the parameters so that the primary queue is not fed too much in advance. > queue.ignore in the server interface not working > ------------------------------------------------ > > Key: LS-485 > URL: http://dev.sourcefabric.org/browse/LS-485 > Project: Liquidsoap > Issue Type: Bug > Reporter: Martin Konecny > Priority: Important > Attachments: ls_script.liq > > > Using revision 8232, If I use the following commands > queue.push /home/martin/test1.mp3 > BEGIN > 2 > END > queue.push /home/martin/test1.mp3 > BEGIN > 3 > END > queue.ignore 3 > BEGIN > OK > END > The second file still ends up playing. I've attached the (simple) script file > I used. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl