Cross is now fallibile, so fallback needs to move.

This commit is contained in:
Josh Washburne 2020-11-25 09:33:15 -05:00
parent 2f6fe34c6b
commit cc871ca5ac

View file

@ -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",