#358: External encoder will not shutdown when liquidsoap is killed
------------------------+---------------------------------------------------
Reporter: humanclay | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: NEAR FUTURE
Component: Liquidsoap | Version: 0.9.2+svn
Keywords: | Mac: 0
Linux: 0 | Netbsd: 0
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
Comment(by toots):
Yes, its a bug I need to fix ASAP...
We have a problem in the inclusion of external scripts. You should be able
to fix this quick and dirty by adding the test_process definition in
01-externals.liq (located at /usr/local/lib/liquidsoap/svn):
{{{
# Return true if process exited with 0 code.
# Command should return quickly.
# @category System
# @param command Command to test
def test_process(command)
lines =
get_process_lines("(" ^ command ^ " >/dev/null 2>&1 && echo 0) || echo
1")
if list.length(lines) == 0 then
false
else
"0" == list.hd(lines)
end
end
}}}
--
Ticket URL: <http://savonet.rastageeks.org/ticket/358#comment:3>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac