Cross is now fallibile, so fallback needs to move.
This commit is contained in:
parent
2f6fe34c6b
commit
cc871ca5ac
1 changed files with 1 additions and 1 deletions
|
@ -135,11 +135,11 @@ def just_played(m) =
|
|||
end
|
||||
|
||||
radio = request.dynamic(id="main", default_duration=120., length=60., next_song)
|
||||
radio = fallback(track_sensitive=false, [radio, security])
|
||||
radio = map_metadata(update=false, change_meta, radio)
|
||||
radio = on_metadata(id="main", just_played, radio)
|
||||
radio = amplify(1., override="replay_gain", radio)
|
||||
radio = smart_cross(radio)
|
||||
radio = fallback(track_sensitive=false, [radio, security])
|
||||
|
||||
output.icecast(%mp3,
|
||||
encoding="UTF-8", protocol="http",
|
||||
|
|
Loading…
Reference in a new issue