Bug 209827 - When I try to copy music from my Sansa Fuze to my home directory with amarok, amarok freezes.
Summary: When I try to copy music from my Sansa Fuze to my home directory with amarok,...
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Media Devices (show other bugs)
Version: 2.3-GIT
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
: 218158 224737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-08 02:22 UTC by sprince587
Modified: 2011-10-02 13:35 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sprince587 2009-10-08 02:22:00 UTC
Version:            (using KDE 4.3.1)
Compiler:          Whatever the Kubuntu dev's use 
OS:                Linux
Installed from:    Ubuntu Packages

When I try to copy music from my Sansa Fuze (.mp3 player) to my home directory with amarok, amarok freezes.

The exact process I go through is:

Plug in Fuze
Start Amarok
Right Click on "Sansa Fuze" icon in playlist menu
Select "Copy to local collection"
Select "Ok"

And then it freezes untill it is done copying the files, which can take quite a long time, and I had originally thought that amarok had crashed. However, after looking at the debug output, it seems to be copying the files just find, but the UI just stops working durring the copy process.

From a useability standpoint, this isn't really that nice :/ but technically, it IS working...
Comment 1 Ryan Voots 2009-10-08 03:00:33 UTC
What USB mode is the Fuze in? i'll try to reproduce this with mine.  also what version of amarok is it?
Comment 2 sprince587 2009-10-09 02:45:20 UTC
Alright, info as requested:

KDE Version: 4.2.4
Amarok Version: 2.1.1

I on the Fuze, I tried using both MSC and MTP usb modes. Amarok doesn't detect the Fuze when run as MSC, and produces the behavior I described above in MTP mode. 

If there's a new version of Amarok out somewhere I'd be happy to try that and report back...
Comment 3 Myriam Schweingruber 2009-10-09 07:15:06 UTC
Amarok 2.2 is out since a few weeks, and will be available in Karmic.
Comment 4 sprince587 2009-10-11 17:40:05 UTC
Just tried it in the Karmic beta, and the problem persists. I also just noticed that I can copy music to the Fuze from Amarok just fine, it seems that it is only the other direction which is problematic.

Currently running Amarok 2.2.0 under KDE 4.3.2 from Kubuntu 9.10 beta.
Comment 5 Myriam Schweingruber 2009-11-16 23:14:16 UTC
FWIW, I can't reproduce this with the Sansa Clip in current Amarok 2.2-git
Comment 6 Myriam Schweingruber 2009-12-10 21:22:38 UTC
*** Bug 218158 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2009-12-17 17:27:49 UTC
Is this still valid with current Amarok 2.2.1, 2.2.2 beta or 2.2-git?
Comment 8 Hakan Bayindir 2009-12-17 18:14:31 UTC
Yes, I experience it consistently in 2.2.1 as I reported in bug 218158.
Comment 9 Myriam Schweingruber 2009-12-17 19:37:22 UTC
Right, my bad, I should have seen that. Correcting version and setting to confirmed.
Comment 10 Myriam Schweingruber 2009-12-17 19:38:15 UTC
setting target
Comment 11 Myriam Schweingruber 2010-01-29 12:28:42 UTC
*** Bug 224737 has been marked as a duplicate of this bug. ***
Comment 12 Myriam Schweingruber 2010-02-07 13:52:02 UTC
Is this still valid with Amarok 2.2.2 or current git?
Comment 13 Philipp Schmidt 2010-02-07 14:12:35 UTC
Stil valid, using Amarok 2.2.2 with KDE 4.4 RC3 under Archlinux.

Looks to me like this is similar tot the now solved Problem of the Amarok UI freezing while counting the Tracks on MTP Devices.
Comment 14 Myriam Schweingruber 2010-02-07 14:20:12 UTC
(In reply to comment #13)
> Stil valid, using Amarok 2.2.2 with KDE 4.4 RC3 under Archlinux.
> 
> Looks to me like this is similar tot the now solved Problem of the Amarok UI
> freezing while counting the Tracks on MTP Devices.

Could you be more specific, please?
Comment 15 Philipp Schmidt 2010-02-07 14:40:05 UTC
I'm currently building Amarok from current git. Will report again once that's done.

The Problem basically comes down to this: Most MTP Operations freeze the UI until they are completed. The ones i have so far encountered:
 - Deleting Tracks from the Device
 - Transferring Tracks from the Device to the Local Collection

The thing is that it only becomes obviuos when using said actions on many Tracks, for example one or more Albums with 10+ Tracks.

My Player is a Sanza Fuze v2

One of those MTP related Problems was the one already solved that froze the UI when counting Tracks on the Device once it was recognized by Amarok. I read on the responsible Developers Blog that this had to do with the fact that all if that was aparently done in the UI Thread. So perhaps this is the cause here too?
Comment 16 Philipp Schmidt 2010-02-07 14:49:17 UTC
Problems still exists in curent git.
Comment 17 Myriam Schweingruber 2010-02-07 15:21:03 UTC
Thank you for the fast feedback :)
Comment 18 Myriam Schweingruber 2010-05-22 12:27:21 UTC
Changing target.
Comment 19 Myriam Schweingruber 2011-09-26 15:24:45 UTC
Is this still valid for Amarok 2.4.3 or current git?
Comment 20 Philipp Schmidt 2011-09-30 16:27:00 UTC
No, there is now a nice little progress bar at the bottom and ui stays fine.

Fixed.
Comment 21 Myriam Schweingruber 2011-10-02 13:35:56 UTC
Thank you for the fast feedback.