{"action":"opened","issue":{"url":"https://api.github.com/repos/savonet/liquidsoap/issues/235","labels_url":"https://api.github.com/repos/savonet/liquidsoap/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/savonet/liquidsoap/issues/235/comments","events_url":"https://api.github.com/repos/savonet/liquidsoap/issues/235/events","html_url":"https://github.com/savonet/liquidsoap/issues/235","id":93935088,"number":235,"title":"Terminates on depletion of request.queue","user":{"login":"jonathan-thorpe","id":7759440,"avatar_url":"https://avatars.githubusercontent.com/u/7759440?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-thorpe","html_url":"https://github.com/jonathan-thorpe","followers_url":"https://api.github.com/users/jonathan-thorpe/followers","following_url":"https://api.github.com/users/jonathan-thorpe/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-thorpe/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-thorpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-thorpe/subscriptions","organizations_url":"https://api.github.com/users/jonathan-thorpe/orgs","repos_url":"https://api.github.com/users/jonathan-thorpe/repos","events_url":"https://api.github.com/users/jonathan-thorpe/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-thorpe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-09T02:23:36Z","updated_at":"2015-07-09T02:23:36Z","closed_at":null,"body":"LiquidSoap terminates when a request.queue is depleted given the following script:\r\n\r\n---\r\nrequests = request.queue(id=\"queue\")\r\nmelb_source = requests\r\n\r\noutput.icecast(%mp3(stereo=false, bitrate=96,samplerate=32000),\r\n   host = \"127.0.0.1\", port = 8000,\r\n   url=\"http://www.2me.com.au\";,\r\n   public=false,\r\n   password = \"<removed>\", mount = \"2me-melbads\",\r\n   description = \"Radio 2ME\",\r\n   mean(melb_source),\r\n   fallible=true)\r\n---\r\n\r\nLiquidSoap waits for the queue to be populated. The following is an example of how I populate the queue:\r\necho -en \"queue.push /tmp/test.ogg\\n\" | telnet 127.0.0.1 1234\r\n\r\nWhen the queue is depleted, instead of waiting for more entries, LiquidSoap quits with:\r\n\r\n---\r\n2015/07/06 09:35:05 [2me-melbads:3] Connecting mount 2me-melbads for\r\nsource@...\r\n2015/07/06 09:35:05 [2me-melbads:3] Connection setup was successful.\r\n2015/07/06 09:35:08 [decoder.ogg:5] Reached last page of logical stream\r\n5069a2ff\r\n2015/07/06 09:35:10 [decoder.ogg:5] All data from stream 5069a2ff has been\r\ndecoded\r\n2015/07/06 09:35:10 [decoder:4] Decoding \"/tmp/test.ogg\" ended:\r\nOgg.End_of_stream.\r\n2015/07/06 09:35:10 [clock.wallclock_main:2] Source dummy failed while\r\nstreaming: Ogg.End_of_stream!\r\n2015/07/06 09:35:10 [dummy:4] Activations changed: static=[], dynamic=[].\r\n2015/07/06 09:35:10 [source:4] Source dummy gets down.\r\n2015/07/06 09:35:10 [queue:4] Activations changed:\r\nstatic=[mean_6046:2me-melbads:2me-melbads], dynamic=[].\r\n2015/07/06 09:35:10 [queue:4] Disabling caching mode.\r\n2015/07/06 09:35:10 [main:3] Shutdown started!\r\n---\r\n\r\nThe above script is part of a larger one that is designed to play audio from an input.gstreamer.audio source (same behaviour with input.http) and play content from request.queue when the queue is empty.\r\n\r\nI'm running LiquidSoap 1.1.1-7+b1 using Debian Jessie's packages."}}