Bug 186835 - copy to MTP device does not copy FLAC files
Summary: copy to MTP device does not copy FLAC files
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/MTP player (show other bugs)
Version: 2.1-SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 08:27 UTC by herr-schneider.m
Modified: 2017-03-28 13:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
amarok --debug (55.32 KB, text/plain)
2009-03-11 08:29 UTC, herr-schneider.m
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herr-schneider.m 2009-03-11 08:27:16 UTC
Version:           2.1-SVN (using 4.2.1 (KDE 4.2.1) "release 103", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.19-3.2-trace

Whenever I do a copy of FLAC files to my MTP device (IAUDIO 7), nothing happens, files get not copied, no error raised. Copying MP3 works like a charm. Device supports FLAC.
suspicious amarok --debug attached
Comment 1 herr-schneider.m 2009-03-11 08:29:34 UTC
Created attachment 32017 [details]
amarok --debug
Comment 2 Mikko C. 2009-05-21 12:14:33 UTC
I suppose this is the problem:
amarok:   [MtpHandler] No filetype found by Amarok filetype                                                                         
amarok:   [MtpHandler] We do not support the extension . "flac"                                                                     

Is it still valid with current svn? Also, which version of libmtp are you using?
Comment 3 Myriam Schweingruber 2009-05-31 09:52:20 UTC
Waiting for info
Comment 4 Oliver Henshaw 2009-06-01 22:07:42 UTC
I see this. I just reproduced this with the fedora 11 preview with their build of amarok 2.1 final installed.

Packages:
amarok-2.1-1.fc11.i586
libmtp-0.3.7-1.fc11.i586
Comment 5 Alejandro Wainzinger 2009-06-02 00:10:01 UTC
SVN commit 976528 by awainzinger:

During port of MTP to 2.0, somehow code initializing supported filetypes got lost, but never noticed since MTP dev only really had mp3/ogg files.
Thanks to Marcus Schneider
~lart xevix
BUG:186835


 M  +2 -0      ChangeLog  
 M  +33 -0     src/collection/mtpcollection/handler/MtpHandler.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=976528
Comment 6 Oliver Henshaw 2009-06-23 21:51:38 UTC
I still have this problem with 2.1.1. Looks like http://websvn.kde.org/trunk/extragear/multimedia/amarok/src/collection/mtpcollection/handler/MtpHandler.cpp?r1=976528&r2=976527&pathrev=976528 fixed the bug for almost every filetype apart from flac.
Comment 7 Myriam Schweingruber 2009-06-23 21:54:20 UTC
This seems not to be solved for FLAC. Alejandro, could you have a look at that, please?
Comment 8 Alejandro Wainzinger 2009-06-24 02:51:18 UTC
SVN commit 986044 by awainzinger:

Added support for all conceivably useful filetypes for an MTP device to recognize according to libmtp, including flac.
BUG:186835

 M  +19 -7     MtpHandler.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=986044