CC-3062: Stream Setting: Status box is not working for shoutcast

- fixed. added on_error and on_connect callback to shoutcast()
This commit is contained in:
James 2011-11-18 11:18:35 -05:00
parent c04e6dcc75
commit 6b7d7646c9
1 changed files with 3 additions and 1 deletions
python_apps/pypo/liquidsoap_scripts

View File

@ -143,7 +143,9 @@ def output_to(output_type, type, bitrate, host, port, pass, mount_point, url, de
url = !url_ref,
genre = !genre_ref,
name = !description_ref,
user = !user_ref)
user = !user_ref,
on_error = on_error,
on_connect = on_connect)
if bitrate == 24 then
ignore(output.shoutcast(%mp3(bitrate = 24),s))
elsif bitrate == 32 then