Version: (using KDE KDE 3.5.1DevelKDE 1.2) Installed from: SuSE RPMsSuSE RPMs0SuSE RPMs convert Replaygain values to iPod Soundcheck I'm using mp3gain and *apply* dB change to the files (mp3 files altered) so I can play in iPod with equal volume I hope amarok can convert replaygain values (from replygain tag) to iPod iTunesDB' soundcheck value so I don't have to alter mp3
I have hacked Amarok to do exactly this, and it works for me. The problem with my implementation is that it only reads ReplayGain tags as written by mp3gain. This is because TagLib doesn't really support ReplayGain metadata. ReplayGain support in TagLib is supposedly in development, and I've been waiting for this before submitting my patch.
Created attachment 19905 [details] Patch to add ReplayGain metadata to iPods Here is my patch against Amarok 1.4.5 which sets the Soundcheck field in the iPod database based on the ReplayGain Track Gain. As I noted above, it can only retrieve values as written by mp3gain since TagLib doesn't support ReplayGain properly. It enters a default gain of -8dB if a track doesn't contain ReplayGain metadata.
great.. I wonder what happen to files which already applied gain (mp3 files altered) amarok should set Soundcheck value to 0 for these files
It probably should, but it's not the ideal situation since you can't enable/disable Soundcheck on the iPod. It would be better to remove the adjustment from the files.
*** This bug has been confirmed by popular vote. ***
Since amarok-2.1 now natively supports ReplayGain (and so I assume taglib does as well), this is perhaps not too difficult to implement anymore?
Very good idea. I also noticed that some other tags supported by libgpod are not set. I have started refactoring the stuff.
This is on my TODO list, but there are more severe Amarok iPod bugs, so this will have to wait a bit.
Git commit 9f0986a74551002da73d20bda6f3db414053ce75 by Matěj Laitl. Committed on 19/12/2011 at 13:58. Pushed by laitl into branch 'strohel-for-2.6'. iPod collection: convert from ReplayGain to Sound Check and vice versa By popular demand, we now convert ReplayGain values to Sound Check values when transferring tracks to iPod. We also read Sound Check from iPod and convert it to ReplayGain on-the-fly when playing a track off an iPod in Amarok. On the other hand, when transferring tracks from iPod to Amarok, Sound Check from iPod is _not_ automatically copied (current limitation of the ReplayGain implementation in Amarok), but Amarok picks up ReplayGain information from meta-data stored inside the track. (Does anyone know whether iTunes save Sound Check somewhere in song meta-data?) It is currently hard-coded that *track* ReplayGain is used (Sound Check is not able to differentiate between track and album gains), this could be configurable in future (but hey, micro-options!) or it could respect Settings -> Replay Gain Mode (tricky, the setting would be read *only when the song is being transferred to iPod*) FEATURE: 142579 FIXED-IN: 2.6 DIGEST: volume normalization now works between Amarok and iPods M +2 -0 ChangeLog M +26 -0 src/core-impl/collections/ipodcollection/handler/IpodHandler.cpp M +2 -0 src/core-impl/collections/ipodcollection/handler/IpodHandler.h M +6 -0 src/core-impl/collections/ipodcollection/handler/capabilities/IpodReadCapability.cpp M +1 -0 src/core-impl/collections/ipodcollection/handler/capabilities/IpodReadCapability.h M +7 -1 src/core-impl/collections/ipodcollection/handler/capabilities/IpodWriteCapability.cpp M +1 -0 src/core-impl/collections/ipodcollection/handler/capabilities/IpodWriteCapability.h M +23 -0 src/core-impl/collections/mediadevicecollection/MediaDeviceMeta.cpp M +5 -0 src/core-impl/collections/mediadevicecollection/MediaDeviceMeta.h M +5 -0 src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp M +6 -0 src/core-impl/collections/mediadevicecollection/handler/capabilities/ReadCapability.cpp M +1 -0 src/core-impl/collections/mediadevicecollection/handler/capabilities/ReadCapability.h M +7 -0 src/core-impl/collections/mediadevicecollection/handler/capabilities/WriteCapability.cpp M +1 -0 src/core-impl/collections/mediadevicecollection/handler/capabilities/WriteCapability.h http://commits.kde.org/amarok/9f0986a74551002da73d20bda6f3db414053ce75
Git commit 717342ed4aeba0df2328b28840820919ea3d13ec by Daniel Faust. Committed on 12/01/2012 at 16:01. Pushed by dfaust into branch 'master'. Support embedded covers for ogg (read only) and flac files M +1 -0 ChangeLog M +1 -1 shared/tag_helpers/TagHelper.cpp M +208 -1 shared/tag_helpers/VorbisCommentTagHelper.cpp M +9 -0 shared/tag_helpers/VorbisCommentTagHelper.h http://commits.kde.org/amarok/717342ed4aeba0df2328b28840820919ea3d13ec
sorry, wrong bug number :)