Bug 150587

Summary: Transfer to portable media device slow
Product: [Applications] amarok Reporter: Jeff Simpson <jeffsimpson>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: jonas.vejlin
Priority: NOR    
Version: 1.4.7   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeff Simpson 2007-10-08 06:27:11 UTC
Version:           1.4.7 (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.2 
OS:                Linux

When subscribing to a video podcast (even one using a local URL), the file copies to the device very slowly. Using a standalone utility like wget is able to copy the same file in a matter of seconds while amarok takes multiple minutes per file.

Steps to reproduce:
1). Add a video podcast to the playlist section.
2). Update the podcast
3). Drag an item to the iPod to queue transfer
4). Hit transfer
5). On the ipod, go into the iPod_Control/Music directory and do an ls -trl to find the newest directory (will be listed last)
6). Go into that directory and look at the file size of the last file (should be the video file you are adding). Watch the speed at which the filesize increases.
7). Obtain the URL for the video that you just synced through the podcast
8). Use wget to download this file to the iPod, noting the speed.

I have tracked the problem down to KIO::FileCopyJob but have not been able to determine the exact cause, apart from "the function copies files really slowly".

using libgpod 0.4.2
Comment 1 Jeff Simpson 2007-10-08 18:33:34 UTC
Upgraded to libgpod 0.5.2, recompiled kdelibs and amarok, same result
Comment 2 Seb Ruiz 2007-10-09 08:01:06 UTC
Try two more things:

1. use gtkpod to transfer the file
2. use konqueror to copy the file just over the filesystem

report any differences in speed
Comment 3 Jeff Simpson 2007-10-09 13:51:09 UTC
Copying files using konqueror is full-speed, both from local file and local http server.
Comment 4 Jeff Simpson 2007-10-09 13:57:03 UTC
gtkpod is fast to copy files as well.

It is worth noting that even Amarok can copy files fast if it is a direct copy of a file, and not from a podcast. When it has associated podcast xml, the exact same URL (local file or remote file) takes much longer to copy.
Comment 5 Jonas Vejlin 2009-04-25 21:13:21 UTC
Should this be clouse becouse it is field against 1.4 with is unmaintained?