Bug 287450 - No tracks show on Galaxy Nexus after MTP transfer. Debug output shows "NOT-IMPLEMENTED" MTP lines.
Summary: No tracks show on Galaxy Nexus after MTP transfer. Debug output shows "NOT-IM...
Status: RESOLVED UPSTREAM
Alias: None
Product: amarok
Classification: Applications
Component: Collections/MTP player (show other bugs)
Version: 2.4.3
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-24 10:30 UTC by alexandre.rames
Modified: 2012-01-03 11:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
debug output of the connect-transfer-eject session (169.59 KB, text/plain)
2011-11-24 10:30 UTC, alexandre.rames
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexandre.rames 2011-11-24 10:30:43 UTC
Created attachment 66038 [details]
debug output of the connect-transfer-eject session

Version:           2.4.3 (using KDE 4.7.3) 
OS:                Linux

Amarok correctly detects my Galaxy Nexus, but transferring songs does not work.
The progress bar appears, but after transfer nothing shows on the device.

The debug output of amarok shows 'NOT-IMPLEMENTED' warnings related to MTP, including one concerning MtpHandler::writeDatabase(). Maybe that is the reason the device's database is not updated (pure guess)?

It is interesting to note that this info can be found in the debug output:
amarok:     [SqlRegistry]   albums: 5 (-1) of 141 cached
amarok:     [SqlRegistry]  artists: 49 (0) of 120 cached
amarok:     [SqlRegistry]   genres: 1 (-1) of 24 cached
amarok:     [SqlRegistry]   tracks: 1 (-1) of 1722 cached

Reproducible: Always

Steps to Reproduce:
- Open Amarok.
- Connect Galaxy Nexus. It appears in the 'Local Music' section (you need the correct udev rules for it).
- Transfer songs to the device (drag and drop).
- Wait until the transfer is complete (progress bar bottom left).
- Eject drive.
- Open Music app on device.

Actual Results:  
Music app shows 'Music library is empty'

Expected Results:  
See the transferred songs.
Comment 1 Christopher Bräuer 2011-12-10 11:14:05 UTC
I can confirm this bug. It is exactly the same here.
Comment 2 Christopher Bräuer 2011-12-10 11:15:22 UTC
I can confirm this bug. It is exactly the same here.
Comment 3 Myriam Schweingruber 2011-12-11 12:26:26 UTC
Thank you for the feedback, changing status.
Comment 4 alexandre.rames 2011-12-12 10:47:44 UTC
I noticed I didn't specify.
I was using the amarok binary provided with arch-linux 64bit.

Happy to offer further help (traces, tests,...) if you need.

Alexandre
Comment 5 Myriam Schweingruber 2012-01-01 11:54:19 UTC
Could you all please check if the files are in the root folder?
Comment 6 Christopher Bräuer 2012-01-01 12:03:56 UTC
Can you please be more precise?Which files do you mean ?
Comment 7 Sebastian Frei 2012-01-01 16:49:44 UTC
I think this is an upstream bug in libmtp which was fixed in version 1.1.1. See also this post: http://sourceforge.net/projects/libmtp/forums/forum/535191/topic/4887923
Comment 8 Myriam Schweingruber 2012-01-01 23:22:28 UTC
(In reply to comment #6)
> Can you please be more precise?Which files do you mean ?

Well the tracks you tried to copy :)

But according to comment #7 this is an upstream problem with libmtp, so we need to wait for the new version to be available in your distributions. Please test again once you have the 1.1.1 version available.
Comment 9 Christopher Bräuer 2012-01-02 15:44:16 UTC
In my phone, there is a special "music"-folder, where the songs are stored.

But anyway, it works now fine with libmtp 1.1.1.

Thanks a lot and a happy new year 2012!

Chris
Comment 10 Myriam Schweingruber 2012-01-03 11:06:46 UTC
Closing correctly.