add ability to use id's with mksafe operator
This commit is contained in:
parent
fb605ccb71
commit
8e617b33de
2 changed files with 4 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
||||||
# by adding blank when the source is not available.
|
# by adding blank when the source is not available.
|
||||||
# @param s the source to turn infaillible
|
# @param s the source to turn infaillible
|
||||||
# @category Source / Track Processing
|
# @category Source / Track Processing
|
||||||
def mksafe(s)
|
def mksafe(~id="mksafe",s)
|
||||||
fallback(id="mksafe",track_sensitive=false,[s,blank(id="safe_blank")])
|
fallback(id=id,track_sensitive=false,[s,blank(id="safe_blank")])
|
||||||
end
|
end
|
||||||
|
|
||||||
# Alias for the <code>l[k]</code> notation.
|
# Alias for the <code>l[k]</code> notation.
|
||||||
|
|
|
@ -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,6 +254,7 @@ 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(
|
||||||
|
id="master_dj_mksafe",
|
||||||
audio_to_stereo(
|
audio_to_stereo(
|
||||||
input.harbor(id="master_harbor",
|
input.harbor(id="master_harbor",
|
||||||
master_live_stream_mp,
|
master_live_stream_mp,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue