<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>142579</bug_id>
          
          <creation_ts>2007-03-06 05:39:41 +0000</creation_ts>
          <short_desc>convert Replaygain values to iPod Soundcheck</short_desc>
          <delta_ts>2012-01-12 15:20:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>amarok</product>
          <component>Collections/iPod iPhone</component>
          <version>2.3-GIT</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Biji">superbiji</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          <cc>hessijames</cc>
    
    <cc>matej</cc>
    
    <cc>michael</cc>
    
    <cc>netz</cc>
    
    <cc>ralf-engels</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>2.6</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>81</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>513137</commentid>
    <comment_count>0</comment_count>
    <who name="Biji">superbiji</who>
    <bug_when>2007-03-06 05:39:41 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.1DevelKDE 1.2)
Installed from:    SuSE RPMsSuSE RPMs0SuSE RPMs

convert Replaygain values to iPod Soundcheck

I&apos;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&apos; soundcheck value
so I don&apos;t have to alter mp3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>513320</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Gorven">michael</who>
    <bug_when>2007-03-06 22:47:54 +0000</bug_when>
    <thetext>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&apos;t really support ReplayGain metadata. ReplayGain support in TagLib is supposedly in development, and I&apos;ve been waiting for this before submitting my patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>513493</commentid>
    <comment_count>2</comment_count>
      <attachid>19905</attachid>
    <who name="Michael Gorven">michael</who>
    <bug_when>2007-03-07 19:36:15 +0000</bug_when>
    <thetext>Created attachment 19905
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&apos;t support ReplayGain
properly. It enters a default gain of -8dB if a track doesn&apos;t contain
ReplayGain metadata.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>513576</commentid>
    <comment_count>3</comment_count>
    <who name="Biji">superbiji</who>
    <bug_when>2007-03-08 04:37:06 +0000</bug_when>
    <thetext>great.. 

I wonder what happen to files which already applied gain (mp3 files altered)
amarok should set Soundcheck value to 0 for these files

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>513599</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Gorven">michael</who>
    <bug_when>2007-03-08 11:43:19 +0000</bug_when>
    <thetext>It probably should, but it&apos;s not the ideal situation since you can&apos;t enable/disable Soundcheck on the iPod. It would be better to remove the adjustment from the files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694915</commentid>
    <comment_count>5</comment_count>
    <who name="Marc Pignat">marc</who>
    <bug_when>2009-01-06 12:02:10 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745900</commentid>
    <comment_count>6</comment_count>
    <who name="Jan Essert">netz</who>
    <bug_when>2009-04-22 14:56:27 +0000</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072397</commentid>
    <comment_count>7</comment_count>
    <who name="Ralf Engels">ralf-engels</who>
    <bug_when>2011-01-12 20:11:26 +0000</bug_when>
    <thetext>Very good idea. I also noticed that some other tags supported by libgpod are not set.

I have started refactoring the stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1175487</commentid>
    <comment_count>8</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2011-10-20 13:11:31 +0000</bug_when>
    <thetext>This is on my TODO list, but there are more severe Amarok iPod bugs, so this will have to wait a bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202374</commentid>
    <comment_count>9</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2011-12-20 12:09:13 +0000</bug_when>
    <thetext>Git commit 9f0986a74551002da73d20bda6f3db414053ce75 by Matěj Laitl.
Committed on 19/12/2011 at 13:58.
Pushed by laitl into branch &apos;strohel-for-2.6&apos;.

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 -&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1213585</commentid>
    <comment_count>10</comment_count>
    <who name="Daniel Faust">hessijames</who>
    <bug_when>2012-01-12 15:17:26 +0000</bug_when>
    <thetext>Git commit 717342ed4aeba0df2328b28840820919ea3d13ec by Daniel Faust.
Committed on 12/01/2012 at 16:01.
Pushed by dfaust into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1213586</commentid>
    <comment_count>11</comment_count>
    <who name="Daniel Faust">hessijames</who>
    <bug_when>2012-01-12 15:20:27 +0000</bug_when>
    <thetext>sorry, wrong bug number :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19905</attachid>
            <date>2007-03-07 19:36:15 +0000</date>
            <delta_ts>2007-03-07 19:36:15 +0000</delta_ts>
            <desc>Patch to add ReplayGain metadata to iPods</desc>
            <filename>amarok-1.4.5-soundcheck.diff</filename>
            <type>text/plain</type>
            <size>2600</size>
            <attacher name="Michael Gorven">michael</attacher>
            
              <data encoding="base64">ZGlmZiAtdXJwIGFtYXJvay0xLjQuNS1vcmlnL2FtYXJvay9zcmMvbWVkaWFkZXZpY2UvaXBvZC9p
cG9kbWVkaWFkZXZpY2UuY3BwIGFtYXJvay0xLjQuNS1zb3VuZGNoZWNrL2FtYXJvay9zcmMvbWVk
aWFkZXZpY2UvaXBvZC9pcG9kbWVkaWFkZXZpY2UuY3BwCi0tLSBhbWFyb2stMS40LjUtb3JpZy9h
bWFyb2svc3JjL21lZGlhZGV2aWNlL2lwb2QvaXBvZG1lZGlhZGV2aWNlLmNwcAkyMDA3LTAyLTAx
IDIwOjE0OjE3LjAwMDAwMDAwMCArMDIwMAorKysgYW1hcm9rLTEuNC41LXNvdW5kY2hlY2svYW1h
cm9rL3NyYy9tZWRpYWRldmljZS9pcG9kL2lwb2RtZWRpYWRldmljZS5jcHAJMjAwNy0wMy0wNyAx
NzowOTozMy4wMDAwMDAwMDAgKzAyMDAKQEAgLTY3LDYgKzY3LDcgQEAgQU1BUk9LX0VYUE9SVF9Q
TFVHSU4oIElwb2RNZWRpYURldmljZSApCiAKICNpbmNsdWRlIDxjc3RkbGliPgogI2luY2x1ZGUg
PHVuaXN0ZC5oPgorI2luY2x1ZGUgPG1hdGguaD4KIAogI2l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DAKKysrIGFt
YXJvay0xLjQuNS1zb3VuZGNoZWNrL2FtYXJvay9zcmMvbWV0YWJ1bmRsZS5oCTIwMDctMDMtMDcg
MTc6MDE6MjQuMDAwMDAwMDAwICswMjAwCkBAIC0yNjQsNiArMjY0LDcgQEAgcHVibGljOiAvL2Fj
Y2Vzc29ycwogICAgIGludCAgICAgcmF0aW5nKCBib29sIGVuc3VyZUNhY2hlZCA9IGZhbHNlICkg
ICAgIGNvbnN0OyAvL3JldHVybnMgcmF0aW5nICogMiwgdG8gYWNjb21tb2RhdGUgLjUgcmF0aW5n
cwogICAgIGludCAgICAgcGxheUNvdW50KCBib29sIGVuc3VyZUNhY2hlZCA9IGZhbHNlICkgIGNv
bnN0OwogICAgIHVpbnQgICAgbGFzdFBsYXkoIGJvb2wgZW5zdXJlQ2FjaGVkID0gZmFsc2UgKSAg
IGNvbnN0OworICAgIGZsb2F0ICAgdHJhY2tSZXBsYXlHYWluKCBmbG9hdCBub1JlcGxheUdhaW4g
PSAtOCApICAgY29uc3Q7CiAKICAgICBNb29kYmFyICAgICAgICZtb29kYmFyKCk7CiAgICAgY29u
c3QgTW9vZGJhciAmbW9vZGJhcl9jb25zdCgpIGNvbnN0Owo=
</data>

          </attachment>
      

    </bug>

</bugzilla>