owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD audio server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
https://owntone.github.io/owntone-server
GNU General Public License v2.0
2.07k stars 237 forks source link

ReplayGain #290

Closed drcryogen closed 1 year ago

drcryogen commented 8 years ago

Just a remark since it seems to be unstated in the documentation except for issue https://github.com/ejurgensen/forked-daapd/issues/216 .

ReplayGain does indeed work with forked-daapd. I applied the replaygain tags to the music library with the scripts from the rgain package and forked-daapd honored them without any trouble. The tags made a huge difference in playback experience.

cdlenfert commented 6 years ago

@drcryogen I'm very much interested in using ReplayGain on my forked-daapd library. But it's totally new to me. Can you point me in the right direction for a good source to get started with? I'm running on a headless Raspberry Pi on Stretch.

drcryogen commented 6 years ago

I used the replaygain package from the repositories. The replaygain and collectiongain commands do the heavy lifting. If you're using the replaygain script from the repositories beware that it seems to fail for ALAC encoded files (aka Apple lossless).

FYI, forked-daapd doesn't like the files being replaygain'ed inside the library. I just process new files outside and move them into place when they're finished being processed. One could also shut down forked-daapd while doing the initial run with collectiongain.


Message created using 100% recycled electrons

On May 17, 2018, at 8:20 AM, Chris Lenfert notifications@github.com wrote:

@drcryogen I'm very much interested in using ReplayGain on my forked-daapd library. But it's totally new to me. Can you point me in the right direction for a good source to get started with? I'm running on a headless Raspberry Pi on Stretch.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

cdlenfert commented 6 years ago

Thank you for the response. I did sudo apt-get install replaygain on my Stretch Pi Zero and it says the package is not available. I've tried Google but can't find anything that makes it clear if this is available in Raspbian, and how to get it set up even if I do get it installed.

drcryogen commented 6 years ago

Try the python-rgain package. That installs the replaygain and collectiongain scripts.

cdlenfert commented 6 years ago

Ok, got the package installed and am able to run replaygain and collectiongain. I have my library split into artist/album folders. Should collectiongain work on the entire library if I run it on the outer /music directory? Will this only do leveling on an album level, or track level? For example if I shuffle my entire library (I often do) will audio between tracks be leveled? Or do I need to dump all songs into a single directory and run replaygain. Thanks for your help and any clarification

kkfh commented 5 years ago

@drcryogen - could you clarify which version of forked-daapd you got replaygain to work? In particular, did you have to apply the patch from #216? Or did it work right off of master?