CC-2236: Overbooked shows do not respect default fade time
-once a release we manage to break fades :) fixed.
This commit is contained in:
parent
0084f8ce93
commit
780a05c2aa
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ def append_title(m) =
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def crossfade(s)
|
def crossfade_airtime(s)
|
||||||
#duration is automatically overwritten by metadata fields passed in
|
#duration is automatically overwritten by metadata fields passed in
|
||||||
#with audio
|
#with audio
|
||||||
s = fade.in(type="log", duration=0., s)
|
s = fade.in(type="log", duration=0., s)
|
||||||
|
|
|
@ -44,9 +44,9 @@ web_stream = on_metadata(notify_stream, web_stream)
|
||||||
output.dummy(fallible=true, web_stream)
|
output.dummy(fallible=true, web_stream)
|
||||||
|
|
||||||
queue = on_metadata(notify, queue)
|
queue = on_metadata(notify, queue)
|
||||||
queue = map_metadata(update=false, append_title, queue)
|
queue = map_metadata(update=true, append_title, queue)
|
||||||
# the crossfade function controls fade in/out
|
# the crossfade function controls fade in/out
|
||||||
queue = crossfade(queue)
|
queue = crossfade_airtime(queue)
|
||||||
output.dummy(fallible=true, queue)
|
output.dummy(fallible=true, queue)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue