<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>181288</bug_id>
          
          <creation_ts>2007-06-08 10:23 0000</creation_ts>
          <short_desc>media-sound/lastfmplayer-1.1.3-r2 - endian problem causes wrong playback on big endian based systems</short_desc>
          <delta_ts>2007-07-04 00:59:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ich@az2000.de</reporter>
          <assigned_to>ppc@gentoo.org</assigned_to>
          <cc>genstef@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ich@az2000.de</who>
            <bug_when>2007-06-08 10:23:35 0000</bug_when>
            <thetext>Hi

I already have made a patch for this issue :)

Will attach it...

Except for this problem (which I fixed now), lastfmplayer works stable here, so please add ~ppc (and perhaps other other big endian systems; but I only tested PPC).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ich@az2000.de</who>
            <bug_when>2007-06-08 10:24:19 0000</bug_when>
            <thetext>Created an attachment (id=121486)
lastfm_mp3transcode.diff

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2007-06-28 14:23:39 0000</bug_when>
            <thetext>Thanks for the patch!  I&apos;ve updated it for the new version too.  Please make sure to submit this for inclusion upstream!

Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ich@az2000.de</who>
            <bug_when>2007-07-03 14:09:36 0000</bug_when>
            <thetext>I just tested the new version 1.3.0.58 and it seems that the patch is not needed there. That means, with applied patch, you again have the bytes switched one time too often and you again got the wrong playblack. It seems that they have switched the bytes elsewhere in 1.3.0.58 (I haven&apos;t took a more deeper look at the code to determit where in detail).

I have tested 1.3.0.58 without the patch and it works good. So the simple solution: Use the patch for 1.1.3 but remove it for 1.3.0.58.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2007-07-04 00:59:03 0000</bug_when>
            <thetext>Whoops. :p  I only tested it on 1.1.3-r2, I&apos;ve removed the newer one, thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>121486</attachid>
            <date>2007-06-08 10:24 0000</date>
            <desc>lastfm_mp3transcode.diff</desc>
            <filename>lastfm_mp3transcode.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9tcDN0cmFuc2NvZGUvbXAzdHJhbnNjb2RlLmNwcC5vbGQJMjAwNy0wNi0wOCAxMToy
MDo0OS4wMDAwMDAwMDAgKzAyMDAKKysrIHNyYy9tcDN0cmFuc2NvZGUvbXAzdHJhbnNjb2RlLmNw
cAkyMDA3LTA2LTA4IDExOjU4OjA1LjAwMDAwMDAwMCArMDIwMApAQCAtMTksNiArMTksNyBAQAog
ICogICA1MSBGcmFua2xpbiBTdGVldCwgRmlmdGggRmxvb3IsIEJvc3RvbiwgTUEgIDAyMTExLTEz
MDcsIFVTQS4gICAgICAgICAgKgogICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8KIAorI2luY2x1ZGUgPHFj
b25maWcuaD4gLy8gZm9yIFFfQllURV9PUkRFUgogI2luY2x1ZGUgPFF0R3VpPgogCiAjaW5jbHVk
ZSAibXAzdHJhbnNjb2RlLmgiCkBAIC02NCw4ICs2NSwxMyBAQAogICAgICAgICB7CiAgICAgICAg
ICAgICBmb3IgKCBpbnQgaSA9IDA7IGkgPCAoIHNpemUgLyAyICk7IGkrKyApCiAgICAgICAgICAg
ICB7CisjaWYgUV9CWVRFX09SREVSID09IFFfTElUVExFX0VORElBTgogICAgICAgICAgICAgICAg
IG91dHB1dEJ1ZmZlci5hcHBlbmQoIHRlbXBCdWZmZXJbaSAqIDJdICk7CiAgICAgICAgICAgICAg
ICAgb3V0cHV0QnVmZmVyLmFwcGVuZCggdGVtcEJ1ZmZlcltpICogMiArIDFdICk7CisjZWxzZSAv
LyBRX0JJR19FTkRJQU4KKyAgICAgICAgICAgICAgICBvdXRwdXRCdWZmZXIuYXBwZW5kKCB0ZW1w
QnVmZmVyW2kgKiAyICsgMV0gKTsKKyAgICAgICAgICAgICAgICBvdXRwdXRCdWZmZXIuYXBwZW5k
KCB0ZW1wQnVmZmVyW2kgKiAyXSApOworI2VuZGlmIC8vIFFfQllURV9PUkRFUgogICAgICAgICAg
ICAgfQogCiAgICAgICAgICAgICByZXN1bHQgPSBkZWNvZGVNUDMoICZtcGVnLCBOVUxMLCAwLCB0
ZW1wQnVmZmVyLCBzaXplb2YoIHRlbXBCdWZmZXIgKSwgJnNpemUgKTsK
</data>        

          </attachment>
    </bug>

</bugzilla>