Skip to content
Snippets Groups Projects
Commit 1f113407 authored by David Trattnig's avatar David Trattnig
Browse files

Fix: Revert to amplify for ReplayGain #4

parent 769716f8
No related branches found
No related tags found
No related merge requests found
Pipeline #2189 passed
...@@ -69,7 +69,8 @@ def attach_fallback_source(main_stream) ...@@ -69,7 +69,8 @@ def attach_fallback_source(main_stream)
reload=fallback_station_dir_reload, reload=fallback_station_dir_reload,
reload_mode="seconds") reload_mode="seconds")
s = replaygain(s) s = amplify(id="fallback_folder", 1., override="replay_gain", s)
# s = replaygain(s)
s = source.on_track(id="fallback_folder", s, on_fallback_notify) s = source.on_track(id="fallback_folder", s, on_fallback_notify)
s = mksafe(s) s = mksafe(s)
source.on_leave(s, on_fallback_leave_notify) source.on_leave(s, on_fallback_leave_notify)
...@@ -88,7 +89,8 @@ def attach_fallback_source(main_stream) ...@@ -88,7 +89,8 @@ def attach_fallback_source(main_stream)
reload_mode="watch", reload_mode="watch",
reload=0) reload=0)
s = replaygain(s) s = amplify(id="fallback_playlist", 1., override="replay_gain", s)
# s = replaygain(s)
s = source.on_track(id="fallback_playlist", s, on_fallback_notify) s = source.on_track(id="fallback_playlist", s, on_fallback_notify)
s = mksafe(s) s = mksafe(s)
source.on_leave(s, on_fallback_leave_notify) source.on_leave(s, on_fallback_leave_notify)
......
...@@ -27,8 +27,11 @@ input_filesystem_0 = request.queue(id="in_filesystem_0") ...@@ -27,8 +27,11 @@ input_filesystem_0 = request.queue(id="in_filesystem_0")
input_filesystem_1 = request.queue(id="in_filesystem_1") input_filesystem_1 = request.queue(id="in_filesystem_1")
# Apply ReplayGain normalization, if metadata available # Apply ReplayGain normalization, if metadata available
input_filesystem_0 = replaygain(input_filesystem_0) input_filesystem_0 = amplify(id="in_filesystem_0", 1., override="replay_gain", input_filesystem_0)
input_filesystem_1 = replaygain(input_filesystem_1) input_filesystem_1 = amplify(id="in_filesystem_1", 1., override="replay_gain", input_filesystem_1)
# See https://github.com/savonet/liquidsoap/discussions/2537
# input_filesystem_0 = replaygain(input_filesystem_0)
# input_filesystem_1 = replaygain(input_filesystem_1)
# Add Event Handlers # Add Event Handlers
input_filesystem_0.on_metadata(on_metadata_notification) input_filesystem_0.on_metadata(on_metadata_notification)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment