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:
parent
c04e6dcc75
commit
6b7d7646c9
|
@ -143,7 +143,9 @@ def output_to(output_type, type, bitrate, host, port, pass, mount_point, url, de
|
||||||
url = !url_ref,
|
url = !url_ref,
|
||||||
genre = !genre_ref,
|
genre = !genre_ref,
|
||||||
name = !description_ref,
|
name = !description_ref,
|
||||||
user = !user_ref)
|
user = !user_ref,
|
||||||
|
on_error = on_error,
|
||||||
|
on_connect = on_connect)
|
||||||
if bitrate == 24 then
|
if bitrate == 24 then
|
||||||
ignore(output.shoutcast(%mp3(bitrate = 24),s))
|
ignore(output.shoutcast(%mp3(bitrate = 24),s))
|
||||||
elsif bitrate == 32 then
|
elsif bitrate == 32 then
|
||||||
|
|
Loading…
Reference in New Issue