better idenfication of which mksafe is being applied

This commit is contained in:
Martin Konecny 2013-05-13 17:52:43 -04:00
parent f5a0d0a9a4
commit 298e5a9b77
1 changed files with 10 additions and 8 deletions

View File

@ -231,6 +231,7 @@ s = switch(id="schedule_noise_switch",
s = if dj_live_stream_port != 0 and dj_live_stream_mp != "" then s = if dj_live_stream_port != 0 and dj_live_stream_mp != "" then
dj_live = mksafe( dj_live = mksafe(
id="dj_live_mksafe",
audio_to_stereo( audio_to_stereo(
input.harbor(id="live_dj_harbor", input.harbor(id="live_dj_harbor",
dj_live_stream_mp, dj_live_stream_mp,
@ -253,14 +254,15 @@ end
s = if master_live_stream_port != 0 and master_live_stream_mp != "" then s = if master_live_stream_port != 0 and master_live_stream_mp != "" then
master_dj = mksafe( master_dj = mksafe(
audio_to_stereo( id="master_dj_mksafe",
input.harbor(id="master_harbor", audio_to_stereo(
master_live_stream_mp, input.harbor(id="master_harbor",
port=master_live_stream_port, master_live_stream_mp,
auth=check_master_dj_client, port=master_live_stream_port,
max=40., auth=check_master_dj_client,
on_connect=master_dj_connect, max=40.,
on_disconnect=master_dj_disconnect))) on_connect=master_dj_connect,
on_disconnect=master_dj_disconnect)))
ignore(output.dummy(master_dj, fallible=true)) ignore(output.dummy(master_dj, fallible=true))