I have to agree that the SlimServer support of ReplayGain is a bit
err...crappy.

I mean, yes I have modded config files before and got it working, but
the idea of ReplayGain is that it is switchable.

e.g. I want to have a party or listen to random music I'd put my Slim
in ReplayGain Radio mode.  I want to really listen to a album I turn
off all ReplayGain etc....

Having to mod/copy config files every time and reboot the server is
quite frankly a pain in the behind so I gave up with it.

Now I don't know Perl but surely something like this could be
implemented:

In the config file couldn't the following sort of change be made:

[flac] -dcs --force-raw-format --endian=little --sign=signed
--skip=$START$ --until=$END$ $REPLAYGAINPARAM$ -- $FILE$

Then the $REPLAYGAINPARAM$ variable is populated with either:

"" (null) - Default, no replaygain.
"--apply-replaygain-which-is-not-lossless=a" - Album mode
"--apply-replaygain-which-is-not-lossless=t" - Radio mode

The $REPLAYGAINPARAM$ variable gets populated with one of these 3
strings by a switch on the web interface and ideally from the box via
the remote.

A bit of a hack I know, but a better solution than the current one
methinks.


-- 
Jim
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to