Version: 2.2.1 (using KDE 4.3.3) OS: Linux Installed from: Ubuntu Packages When you try to copy an album from your local collection (in other word right-click an album, select copy to collection -> ipod), track lenghts of copied files get corrupted (presumably something with itunesDB). So for example I've copied file X with track length of 3:21, however on the ipod the track "has" something like 6:45:00 (six hours). Albeit the ipod properly detects the end of file without any hitch, it is unpleasant as you cannot properly seek in such files. Note that those bad track lengths are visible even in amarok right after successful copy. On version 2.2.0, this never ocured, after upgrade to 2.2.1, I can always reproduce this behavior.
Just adding myself to CC list. I have the same problem with the same Amarok version - it is as if I wrote original report.
Confirmed by this forum post: http://forum.kde.org/viewtopic.php?f=115&t=84096&start=0
Created attachment 38634 [details] untested patch which should fix this bug By reading the source, I think this patch should fix the bug. If not, there's a discrepancy between libSetLength and libGetLength which need to be looked at.
Thank you for the patch, Christophe. Could you please make a merge request on Gitorious so our developers can evaluate it? You can find a nice tutorial on how to do so here: http://techbase.kde.org/Getting_Started/Sources/KDE_git-tutorial#Patch_Contributors
I can confirm that this fixes the problem for me.
commit 49e692f8e1538ca54b2cc20e28801445cb9794bf Author: Nikolaj Hald Nielsen <nhnFreespirit@gmail.com> Date: Fri Dec 4 10:21:18 2009 +0100 Fix length of tracks copied to iPod. Thanks to Christophe Fergeau <teuf@gnome.org> for the patch BUG: 215124 I have no iPod so cannot test this directly. Please verify the fix!
Just to confirm: I have a 5.5 Gen 80G Black iPod (A450) and was experiencing the same problem. The above patch DOES resolve the track length issue for me.
Thanks for confirming the fix Dave! :-) This fix is included in the just released Amarok 2.2.2 beta
*** Bug 219097 has been marked as a duplicate of this bug. ***
I confirm that the patch also fixes the problem for 2nd generation iPod nano.