If somebody is willing to edit some code, you might give the following
change try:
Code:
--------------------
diff --git a/Slim/Player/ReplayGain.pm b/Slim/Player/ReplayGain.pm
index 5fe5710..60e7692 100644
--- a/Slim/Player/ReplayGain.pm
+++ b/Slim/Player/ReplayGain.pm
@@ -40,10 +40,16 @@
if (!blessed($track) || !$track->can('replay_gain')) {
return 0;
}
+
+ # only support track gain for remote streams
+ if ($track->remote) {
+ # XXX - make this a pref
+ return preventClipping( $track->replay_gain() || -5,
$track->replay_peak() );
+ }
# Mode 1 is use track gain
if ($rgmode == 1) {
return preventClipping( $track->replay_gain(),
$track->replay_peak() );
}
--------------------
I don't use replay gain myself, therefore have little material to test
with. Plus I'm not very familiar with this part of the code. So please
give it a try and be gentle with me :-).
The above change would apply -5 to online streams
- if replay gain was enabled for that player at all
- using track gain for online streams, no matter what you set it to
(because we don't have album data available in these cases)
The value of -5 made sense in my little testing, but if that was what
you were looking for, then I'd make it a preference.
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=98845
_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch