Bug 146445 - Transfer of files with Unicode encoding fails with MTP devices.
Summary: Transfer of files with Unicode encoding fails with MTP devices.
Status: RESOLVED DUPLICATE of bug 139722
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-06 09:08 UTC by Gian Paolo Mureddu
Modified: 2007-06-06 16:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gian Paolo Mureddu 2007-06-06 09:08:14 UTC
Version:           1.4.5 (using KDE KDE 3.5.6)
Installed from:    Fedora RPMs
Compiler:          gcc-4.1.1 
OS:                Linux

Transferring files which have UTF-8 encoded filenames, using a UTF-8 locale fails using MTP devices when there are "special" characters in the filename, like accentuated characters (á, é, í, ó, ú, à, è, ì, ò, ù, ä, ë, ï, ö, ü, etc) or other characters (ñ, €, ø, ß, etc). The error message is pretty generic and somewhat in the lines of "Error transfering file $FILE". No other explanation.

I have to resort to transfer the files manually with the mtp commands from the CLI, which is possible, but skips two important things: The database, and the file's metadata. This is especially critical with files which are not supported by many devices such as .ogg

I have drawn the conclusion that this has something to do with the UTF-8 encoding of filenames, as if the files don't contain any of the "strange" characters, they're synchronized just fine. There is no problem when viewing these files from within Amarok, nor playing those files, the only problem is when trying to synchronize them or transfer them to a portable device using MTP (I have no iPod, nor other "generic" mp3 players, so I can't say anything about those.

Just for completeness sake, my locale is UTF-8 capable, and even though I'm primarily a non-KDE user, even from within a KDE session this happens, again, with a UTF-8 locale.

This always happens and basically all there is to recreating this is to configure an MTP device, attach it and connect it, then try to transfer some files with some international characters and it will fail.

Software:

Amarok 1.4.5
libmtp 0.1.5

Hardware:

iriver Clix (1st gen)
Comment 1 Kevin Funk 2007-06-06 16:00:12 UTC
Same topic/issue discussed over there.

*** This bug has been marked as a duplicate of 139722 ***